1
0

obekt 920 B

123456789101112131415161718192021222324252627282930313233
  1. # obekt
  2. clr
  3. gs 'stat'
  4. $location_type = 'secluded'
  5. '<center><h4>An object</h4></center>'
  6. '<center><img <<$set_imgh>> src="images/locations/construction/obekt.jpg"></center>'
  7. 'The construction work has stopped and there is complete silence, the only person there is the guard walking around.'
  8. if car > 0 and cardrive = 12:
  9. cardrive = 12
  10. 'The <a href="exec:gs ''carF'', ''start''"> <<$car>></a> is standing in the parking.'
  11. end
  12. act 'Sneak into the construction site':
  13. cls
  14. minut += 5
  15. gs 'stat'
  16. if ObjektOpen = 0:
  17. if ObjektBil = 0:ObjektBil = 1
  18. 'Before you''re able to enter, you hear a voice asking you what you''re doing. It''s the guard that caught you. He points towards the direction you should be heading instead.'
  19. act 'Leave':gt $curloc
  20. else
  21. gt 'obekt2'
  22. end
  23. end
  24. !!if ObjektBil = 1:end
  25. act 'Go on the road':minut += 15 & nroad = 16 & gt 'road'
  26. --- obekt ---------------------------------