1
0

swamp.qsrc 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # swamp
  2. $loc = 'swamp'
  3. $metka = ''
  4. $location_type = 'secluded'
  5. $menu_loc = 'swamp'
  6. $menu_arg = ''
  7. menu_off = 0
  8. new_boletus = 0
  9. new_bilberry = 0
  10. goswamp = 1
  11. gs 'gadukino_event', 'sound'
  12. gs 'stat'
  13. cls
  14. '<center><H4>Swamp</H4></center>'
  15. if month >= 4 and month <= 10:
  16. if hour >= 6 and hour < 22:
  17. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp.jpg"></center>'
  18. else
  19. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_night.jpg"></center>'
  20. end
  21. else
  22. if hour >= 8 and hour < 18:
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_winter.jpg"></center>'
  24. else
  25. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_winter_night.jpg"></center>'
  26. end
  27. end
  28. 'You are in the swamp area of the forest.'
  29. 'It is considered dangerous to hike here day unless extremely physically fit and should be avoided at night no matter what.'
  30. 'But you can find a lot of mushrooms and berries here.'
  31. 'There''s a small visible path to a clearing that leads to <a href="exec: gt ''swamp_yard'' ">the hut</a>, used by the hunters.'
  32. if hour >= 6 and hour <= 21 and month >= 6 and month <= 9:
  33. act 'Walk into the forest':gs 'clothing', 'swamp_clothes', 0 & minut += 30 & gt 'gadforest','4'
  34. end
  35. if hour >= 6 and hour < 21:
  36. act 'Return to the edge of the forest':gs 'clothing', 'swamp_clothes', 0 & hanters = 0 & minut += 150 & gt 'gadforest','1'
  37. else
  38. act 'Return to the edge of the forest':gs 'clothing', 'swamp_clothes', 0 & hanters = 0 & gt 'gadforest_event', 'forest_road'
  39. end
  40. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and swamp_day ! daystart:
  41. act 'Look for mushrooms and berries (0:30)':
  42. cla
  43. *clr
  44. minut += 30
  45. temp = RAND(1,2)
  46. swamp_day = daystart
  47. if goforest < 20:goforest += rand(0,1)
  48. new_boletus += rand(4,5)
  49. boletus += new_boletus
  50. new_bilberry += rand(4,5)
  51. bilberry += new_bilberry
  52. pcs_mood += 5
  53. gs 'stat'
  54. gs 'gadforest', 'clothes1'
  55. 'You spend half an hour wandering through the woods in search of mushrooms and berries and manage to find <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.'
  56. act 'Continue': gt'swamp'
  57. end
  58. end
  59. --- swamp ---------------------------------