

//mechanizm losujący jedną z 3 wartości w komórce
node -1 0 losowa memcell 0 0 0 nic 0 2 none endmemcell
event losowa.0 updatevalues 0 losowa * * 0 endevent
event losowa.1 updatevalues 0 losowa * * 1 endevent
event losowa.2 updatevalues 0 losowa * * 2 endevent
event losuj multiple 0 none losowa.0 else losuj.12 condition propability 0.3333 endevent //jedna trzecia, że zero
event losuj.12 multiple 0 none losowa.1 else losowa.2 condition propability 0.5 endevent //po jednej trzeciej, że 1 albo 2

//z pliku SCM

//Ra 2f9b: w Herbach mijamy towarowy, a potem za Herbami na szlaku - to nie może tak być, z Blachowni by dopiero wyjechał

node 800 0 odjazd_01_wav sound 9835.982 -12.1 -8203.412 l61_bolko_zapowiedz_lbc1.wav endsound
node 800 0 odjazd_02_wav sound 9834.762 -11.4 -8205.286 l61_lbc_zapowiedz_t_gory_0733.wav endsound
//node 800 0 odjazd_08_wav sound 9834.551 -12.2 -8208.885 l61_bolko_odjazd_kierownik_gwizdek.wav endsound
node 800 0 odjazd_04_wav sound 7930.92 -12.2 -8531.858 l61_kontrola3.wav endsound
//node 800 0 odjazd_07_wav sound -3728.297 -8.2 111.169 l61_bolko_odjazd_kierownik_gwizdek.wav endsound
node 800 0 odjazd_09_wav sound -2326.097 -8.2 -654.78 4220_herby_po_boku.wav endsound

config hiddenevents 1 endconfig
node -1 0 radiostop_conv sound -11661.511 -8 11254.345 [2193]rs_2.wav endsound
event rs_conv_start sound 0 radiostop_conv 1 endevent

event odjazd_01:event1 sound 1 odjazd_01_wav 1 endevent
event odjazd_02 sound 1 odjazd_02_wav 1 endevent
//event odjazd_08 sound 1 odjazd_08_wav 1 endevent
event odjazd_04:event2 sound 1 odjazd_04_wav 1 endevent
//event odjazd_07 sound 1 odjazd_07_wav 1 endevent
event odjazd_09 sound 1 odjazd_09_wav 1 endevent
event start_os multiple 1 none Lbc_B_s13 Lbc_9bd Lbc_11- Lbc_10bc endevent
event start_posp multiple 1 none Lbc_4bd Lbc_K_s2 odjazd_01:event1 endevent
event hs_naszwjazd multiple 1 none HrS_35ad HrS_33bc HrS_3bc HrS_4- endevent
event hs_starttow:event2 multiple 1 none Hrs_3bd HrS_A_s13 HrS_W_s10 HrS_D_s10 odjazd_09 endevent //Ra 2f95: od Hrs_A wjeżdża towarowy, którego prawie nie widać
event hs_naszodjazd:event2 multiple 1 none HrS_S_s2 HrS_K_s2 HrS_7ad HrS_8bc endevent

node 800 0 rs memcell -799 0 -1305.8 puste 1 1 none endmemcell
event start_rs multiple 0 none rs_conv_start wstaw_rs condition propability 0.25 endevent
event wstaw_rs updatevalues 0 rs Emergency_brake 1 1 endevent
event rs:event2 getvalues 3 rs endevent

event zdarzenie_poczatkowe_onstart multiple 0 none lbc_Z_s13 Lbc_109bd Lbc_106bd Lbc_103- Lbc_100- Lbc_98+ losowa.0 endevent

// l61_pospieszny1_lbc.scm 300

event start_rs-po1:event2 multiple 0 none start_rs endevent
event t301:event2 multiple 0 none Bln_L_s2 endevent
event t109:event2 multiple 0 none HrS_39- endevent
event t127:event2 multiple 0 none HrN_15bc endevent
event t128:event2 multiple 0 none HrN_4+ endevent
event t129:event2 multiple 0 none HrN_5- endevent
event t130:event2 multiple 0 none HrN_11- endevent
event hs_naszwjazd:event1 multiple 0 none hs_naszwjazd endevent
event defekt_lisow:event2 multiple 0 none Lsw_F_s2 endevent
event up_r2_1:event1 multiple 0 none Lis_A_s10 endevent
event t302:event1 multiple 0 none Kwc_E_s2 endevent
event t502:event2 multiple 0 none Kwc_P_s2 L61-p145.3_zamykaj endevent

node -1 0 nazwa eventlauncher 0 0 0 -1 none 1715 wyjazd61106 none end //zezwolnie na wyjazd o czasie
event wyjazd61106 multiple 0 losowa Lbc_t503-event2 else losowa.1 condition memcompare * * 2 endevent //0=zmienić na 1; 2=podać wyjazd
event lbc_jedynka:event1 multiple 10 losowa Lbc_t503-event2 else losowa.2 condition memcompare * * 1 endevent //0=zmienić na 2; 1=podać wyjazd
event Lbc_t503-event2 multiple 0 none Lbc_12bc Lbc_14ad Jw_E_s2 Lbc_J5_s10 endevent //wyjazd do Kochanowic

event Lbc_start_posp:event2 multiple 0 none start_posp endevent
event t201:event2 multiple 0 none Lbc_103- endevent
event Kwc_M:event1 multiple 0 none Lis_K_s2 endevent
event t505:event2 multiple 0 none CzS_R1_s2 endevent
event t506:event2 multiple 0 none Lis_S_s2 endevent
event nt308:event2 multiple 0 none Lis_E_s2 endevent
event start_os:event1 multiple 0 none start_os endevent
event t114:event1 multiple 0 none Bln_L_s2 endevent
event jaw_te1:event1 multiple 0 none odjazd_04:event2 endevent
event start_rs-os2:event1 multiple 0 none start_rs endevent
event t510:event2 multiple 0 none CzS_K5_s11 endevent
event t511:event1 multiple 0 none CzS_Z_s5 endevent
event CzS_P2:event1 multiple 5 none CzS_24- CzS_13+ CzS_10bd CzS_7bd CzS_2- CzO_31- CzS_F2_s10 endevent
event Bln_Tm4:event1 multiple 0 none Bln_4ac Bln_W_s3 Bln_W_w19 endevent
event t513:event2 multiple 0 none Bln_C_s2 Bln_D_s6 endevent
event t312:event2 multiple 0 none Gn_W_s2 endevent
event t313:event2 multiple 0 none Gn_D_s2 endevent

//zamknięty tor w Lisowie
include ip/pkp/d1.inc unikalnanazwa695 2385.526 262.312 -2775.872 -65.779 1.4 -3.4 end
include ip/pkp/d1.inc unikalnanazwa696 3066 264.061 -2993.516 101.227 0 0 end

//zamknięta bocznica w Kochanowicach
include ip/pkp/d1.inc unikalnanazwa308 5438.255 280.987 -4952.984 134.809 0 0 40 end

