parks 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # parks
  2. cla
  3. gs'stat'
  4. $location_type = 'public_outdoors'
  5. '<center><B>Old Town Park</B></center>'
  6. '<center><img src="images/pic/parkus.jpg" ></center>'
  7. 'The lack of amusements is compensated for by the wonderful, landscaped gardens and tranquil atmosphere.'
  8. 'The old park is a favorite vacation spot for families.'
  9. 'Close to the narrow <a href="exec:GT ''parks'',''allea''">footpath</a> .'
  10. 'Wander through the <a href="exec:GT ''lug'',''start''">park</a> .'
  11. act 'Elite settlement':gt'psiklin','start'
  12. act 'Walk 1 h':
  13. cla
  14. minut+=60
  15. manna += 10
  16. willpower += 10
  17. gs'stat'
  18. 'You leisurely stroll through the park of the Old Town. Breathe in the fresh air, reflecting on the vicissitudes of fate.'
  19. act 'Complete outing':gt'parks','start'
  20. end
  21. if month = 5 or month = 6 or month = 7 or month = 8 or month = 9:
  22. if hour > 6 and hour < 23:
  23. act 'Rest on the bench':
  24. cla
  25. *clr
  26. '<center><img src="images/lmps/сидит.jpg"></center>'
  27. waiting = input ("How many minutes of sitting? (Not more 120 minutes)")
  28. if waiting <= 0 or waiting > 120:
  29. minut = minut + 15
  30. elseif waiting > 0 and waiting <= 120:
  31. minut = minut + waiting
  32. manna = manna + 10
  33. willpower = willpower + 10
  34. if son < 90:son += 10
  35. end
  36. act 'Consult a watch':gt curloc
  37. end
  38. end
  39. end
  40. if $ARGS[0] = 'allea':
  41. cls
  42. gs'stat'
  43. '<center><img src="images/pic/allea.jpg" ></center>'
  44. 'Wander through the <a href="exec:GT ''lug'',''luzhayka''">park</a>.'
  45. act 'Go back':
  46. minut += 15
  47. gt'parks'
  48. end
  49. end
  50. act 'View the abandoned building':gt'psiklin','ps2'
  51. act 'Go to the high street': minut += 10 & gt 'liames'
  52. act 'Go to the town center': minut += 10 & gt 'liam'
  53. --- parks ---------------------------------