vokzalperG 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # vokzalperG
  2. $metka = $ARGS[0]
  3. $loc = $CURLOC
  4. $location_type = 'public_outdoors'
  5. CLOSE ALL
  6. if sound = 0:
  7. if month >=11 and month <= 12 or month >=1 and month <=3:
  8. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  9. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  10. else
  11. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  12. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  13. end
  14. end
  15. clr
  16. gs'stat'
  17. '<center><H4>Pavlovsk station platforms</H4></center>'
  18. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  19. 'Because Pavlovsk is a place that attracts a fair amount of tourists, the station can be quite busy at times. The busiest times on the platforms are between 11:00 and 11:30, and between 18:00 and 18:30 when the long-distance trains are ready for boarding.'
  20. if snarkozak = 1 and narkossista = 0 and narkozakday!day:
  21. if money >= 2000:
  22. act 'Find the drug dealer':gs 'events', 'snarkozaka'
  23. end
  24. end
  25. if Trainpass_day > daystart:
  26. act 'Take a train to the old town': gt 'vokzalGin', 'oldtown'
  27. act 'Take a train to the village of Gadyukino': gt 'vokzalGin', 'village'
  28. act 'Take a train to the the communal village': gt 'vokzalGin', 'communal'
  29. act 'Take a train to city industrial area': gt 'vokzalGin', 'ind'
  30. act 'Take a train to city center': gt 'vokzalGin', 'centre'
  31. end
  32. act 'Return to the station building':minut += 15 & gt'vokzalGin'
  33. --- vokzalperG ---------------------------------