swampspring 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # swampspring
  2. $location_type = 'secluded'
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. gs 'gadukino_event', 'sound'
  6. cls
  7. gs'stat'
  8. !gs'time'
  9. '<center><B>Spring</B></center>'
  10. if month >= 4 and month <= 10:
  11. if hour >= 6 and hour < 22:
  12. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swampspring.jpg"></center>'
  13. else
  14. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swampspring_night.jpg"></center>'
  15. end
  16. else
  17. if hour >= 8 and hour < 18:
  18. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swampspring_winter.jpg"></center>'
  19. else
  20. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swampspring_winter_night.jpg"></center>'
  21. end
  22. end
  23. 'A spring with pure spring water.'
  24. act 'To drink water':
  25. cla
  26. *clr
  27. minut += 5
  28. if water >= 100:
  29. cla
  30. *clr
  31. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/hands.jpg"></center>'
  32. 'Water you more will not go.'
  33. else
  34. cla
  35. *clr
  36. water += 80
  37. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  38. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/hands.jpg"></center>'
  39. 'You got drunk spring water.'
  40. end
  41. gs 'stat'
  42. act 'Finish':gt 'swampspring'
  43. end
  44. if bucket < 10:
  45. act 'Collect water in a bucket':
  46. cla
  47. *clr
  48. minut += 10
  49. bucket += 10
  50. gs 'stat'
  51. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/vedro.jpg"></center>'
  52. 'You got the water in the bucket.'
  53. act 'Finish':gt 'swampspring'
  54. end
  55. end
  56. act 'Go':minut += 5 & gt'swamp_yard'
  57. --- swampspring ---------------------------------