gad_road.qsrc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # gad_road
  2. !2024/05/05 - Mira schedule introduced.
  3. !locat['A60'] = Mira''s location. See 'miroslava_schedule'
  4. if $ARGS[0] = 'start':
  5. gs 'shortgs', 'setloc', 'gad_road', 'start'
  6. $location_type = 'public_outdoors'
  7. menu_off = 0
  8. gs 'miroslava_schedule'
  9. CLOSE ALL
  10. gs 'gadukino_event', 'sound'
  11. gs'stat'
  12. '<center><H4>Forest road</H4></center>'
  13. if month >= 4 and month <= 10:
  14. if hour >= 6 and hour < 22:
  15. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadroad.jpg"></center>'
  16. else
  17. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadroad_night.jpg"></center>'
  18. end
  19. else
  20. if hour >= 8 and hour < 18:
  21. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadroad_winter.jpg"></center>'
  22. else
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadroad_winter_night.jpg"></center>'
  24. end
  25. end
  26. *nl
  27. 'A dirt road leading to the outskirts of Gadukino. You are surrounded by grainfields where the grains appear, reaching all the way to the heavens.'
  28. 'The forest '+iif(gad_meadow_found = 1, 'and meadow ', '')+'can be found further down the road, away from the village.'
  29. *nl
  30. ! 10% chance of meeting Mitka once per day on the road when Sveta is not the village boys slut or whole villages whore
  31. if rand(0, 9) = 0 and GadBoy['first_drink'] > 0 and GadBoy['mitka_day'] ! daystart and hour >= 17 and hour < 20 and (npc_QW['A63'] < 11 or GadBoy['river_gang'] > 2):
  32. '<a href="exec:gt ''mitka''">Mitka</a> is smoking near the road, he smiles at you as you walk by.'
  33. ! Meet the boys to drink with them at 20 if Sveta has been invited by Mitka already
  34. elseif GadBoy['first_drink'] > 0 and hour = 20 and alko < 10 and GadBoy['drinkday'] ! daystart:
  35. '<a href="exec:gt ''gad_road'', ''drinking_invite''">Mitka, Kolyamba, and Vasyan</a> are walking down the road towards the woods, drinking moonshine and talking loudly.'
  36. ! If Sveta is late to go drink with the boys if she already knows where the trailer is she can still get there
  37. elseif GadBoy['first_drink'] = 2 and hour > 20 and alko < 10 and GadBoy['drinkday'] ! daystart:
  38. ! if Sveta did not bring Mira with her and Mira has met the boys already then there is a 50% chance she will show up too
  39. if locat['A60'] = 42:
  40. if MiraVars['QW'] >= 16 and GadBoy['river_gang'] = 2:
  41. 'You can go drink with Mira, Mitka, Kolyamba and Vasyan at their <a href="exec:gt ''mitkabuh_group''">trailer</a> hidden in the woods.'
  42. else
  43. 'You can go drink with Mira, Mitka, Kolyamba and Vasyan at their <a href="exec:gt ''mitkabuh''">trailer</a> hidden in the woods.'
  44. end
  45. else
  46. 'You can go drink with Mitka, Kolyamba and Vasyan at their <a href="exec:gt ''mitkabuh''">trailer</a> hidden in the woods.'
  47. end
  48. end
  49. act 'Walk to the bus station (0:01)': minut += 1 & gt 'bus', 'gadukino'
  50. act 'Walk to Gadukino (0:10)': minut += 10 & gt 'gadukino'
  51. act 'Walk down to the river (0:10)': minut += 10 & gt 'gad_river', 'start'
  52. act 'Walk to the fields (0:10)': minut += 10 & gt 'gad_field', 'field'
  53. act 'Walk into the woods (0:15)': minut += 15 & gt 'gad_forest', 'forest_edge'
  54. if hour >= 6 and hour < 22:
  55. if PCloSport = 0:
  56. 'You could go for a run here if you were wearing sports clothes and shoes.'
  57. else
  58. if pcs_energy >= 5 and pcs_stam >= stammax / 5:
  59. act 'Go for a run (1:00)':
  60. *clr & cla
  61. menu_off = 1
  62. gs 'exercise', 'tier1', 60, 'run'
  63. if month <= 3 or month >= 11:
  64. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadbeg4.jpg"></center>'
  65. elseif month=9 or month=10 or month=4 or month=5:
  66. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadbeg3.jpg"></center>'
  67. else
  68. if strenbuf >= pcs_mass['body']:
  69. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadbeg1.jpg"></center>'
  70. else
  71. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadbeg2.jpg"></center>'
  72. end
  73. end
  74. 'You run for an hour enjoying the scenery.'
  75. act 'Finish': gt 'gad_road', 'start'
  76. end
  77. elseif pcs_stam >= stammax / 5:
  78. act 'Go for a run (1:00)': '<br><font color="red">You are so hungry you cannot face going for a run.</font>'
  79. else
  80. act 'Go for a run (1:00)': '<br><font color="red">You are to exhausted to do this. Recover your stamina before trying to go for a run.</font>'
  81. end
  82. end
  83. end
  84. end
  85. if $ARGS[0] = 'drinking_invite':
  86. gs 'shortgs', 'setloc', 'gad_road', 'drinking_invite'
  87. $location_type = 'secluded'
  88. menu_off = 1
  89. gs 'miroslava_schedule'
  90. minut += 5
  91. gs 'stat'
  92. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/drunk.jpg"></center>'
  93. 'You quickly catch up to the boys who have already started drinking.'
  94. ! Sveta has never been drinking with Mitka before
  95. if GadBoy['first_drink'] = 1:
  96. 'Mitka is the first to greet you, "Hey <<$pcs_nickname>>, glad you decided to join us today!"'
  97. 'Kolyamba and Vasyan nod in agreement as they look you over.'
  98. '"We know this great spot in the woods to hang out. No one ever bothers us there."'
  99. else
  100. 'Mitka is the first to greet you, "Hey <<$pcs_nickname>>, glad you decided to join us today!"'
  101. 'Kolyamba and Vasyan nod in agreement as they look you over.'
  102. end
  103. 'Mitka asks, "Are you ready to go?"'
  104. ! if Sveta came here to kick off Miras quest then she cannot leave otherwise Sveta is free to decline the offer
  105. if MiraVars['QW'] > 0 or locat['A60'] ! 42:
  106. gs 'willpower', 'drink', 'resist'
  107. if will_cost <= pcs_willpwr:
  108. act 'No thanks, not tonight. (<<will_cost>> Willpower)':
  109. gs 'willpower', 'drink', 'resist'
  110. gs 'willpower', 'pay', 'resist'
  111. gs 'stat'
  112. gt 'gad_road', 'start'
  113. end
  114. else
  115. act 'No thanks, not tonight. (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  116. end
  117. end
  118. ! if Sveta did not bring Mira with her and Mira has met the boys already then there is a 50% chance she will show up too
  119. if locat['A60'] = 42 and locat['A60_prev'] ! 42 and MiraVars['follow_time'] = 0:
  120. 'Just as the words leave Mitka''s mouth, Mira comes bounding around the corner.'
  121. '"Hey guys, thanks for the invite! <<$pcs_nickname>> is here, too, awesome! Let''s go!"'
  122. end
  123. if locat['A60'] = 42:
  124. ! Mira is here and both her and Sveta are the town whores
  125. ! mitkabuh_group has the drinking events for group sex for 2 girls and 3 boys
  126. if MiraVars['QW'] >= 16 and GadBoy['river_gang'] = 2:
  127. act 'Go with them': minut += 15 & gt 'mitkabuh_group'
  128. ! Mira is here and neither or only 1 out 2 of them is the town whore
  129. ! mitkabuh has the drinking events for group sex for 1 girl and 3 boys or no sex at all if quest is not far enough along
  130. else
  131. act 'Go with them': minut += 15 & gt 'mitkabuh'
  132. end
  133. ! Mira is not here so Sveta goes by herself
  134. else
  135. act 'Go with them': minut += 15 & gt 'mitkabuh'
  136. end
  137. end
  138. --- gad_road ---------------------------------