gadroad.tw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. :: gadroad[mod mod_gad]
  2. <<set $here = 'gadroad'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<if !$location_var[$here][0]>>
  5. <<set $loc = 'gadroad'>>
  6. <<set $loc_arg = ''>>
  7. <<set $location_type = 'public_outdoors'>>
  8. <<set $menu_loc = 'gadroad'>>
  9. <<set $menu_arg = ''>>
  10. <<set $menu_off = 0>>
  11. <<gs 'gadukino_event' 'sound'>>
  12. <h2>Forest road</h2>
  13. <<if $time.month >= 4 and $time.month <= 10>>
  14. <<if $time.hour >= 6 and $time.hour < 22>>
  15. <<image "locations/gadukino/village/gadroad.jpg">>
  16. <<else>>
  17. <<image "locations/gadukino/village/gadroad_night.jpg">>
  18. <</if>>
  19. <<else>>
  20. <<if $time.hour >= 8 and $time.hour < 18>>
  21. <<image "locations/gadukino/village/gadroad_winter.jpg">>
  22. <<else>>
  23. <<image "locations/gadukino/village/gadroad_winter_night.jpg">>
  24. <</if>>
  25. <</if>>
  26. 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.
  27. <p>The forest '+iif(meadow > 0, 'and meadow ',')+'can be found further down the road, away from the village.</p>
  28. <!-- ! 10% chance of meeting Mitka once per day on the road when Sveta is not the village boys slut or whole villages whore-->
  29. <<set $mitkarand = rand(1,10)>>
  30. <<if getvar("$mitka_first_drink") > 0 and $mitkaday != $time.daystart and $time.hour >= 17 and $time.hour < 20 and getvar("$mitkarand") == 1 and ($npc('A63').QW < 11 or getvar("$gadriver_gang") > 2)>>
  31. <<link "Mitka">><<gt 'mitka'>><</link>> is smoking near the road, he smiles at you as you walk by.
  32. <!-- ! Meet the boys to drink with them at 20 if Sveta has been invited by Mitka already-->
  33. <<elseif getvar("$mitka_first_drink") > 0 and $time.hour == 20 and $pc.alko < 10 and $mitkadrinkday != $time.daystart>>
  34. <<link "Mitka, Kolyamba, and Vasyan">><<gt 'gadroad' 'drinking_invite'>><</link>> are walking down the road towards the woods, drinking moonshine and talking loudly.
  35. <!-- ! If Sveta is late to go drink with the boys if she already knows where the trailer is she can still get there-->
  36. <<elseif getvar("$mitka_first_drink") == 2 and $time.hour > 20 and $pc.alko < 10 and $mitkadrinkday != $time.daystart>>
  37. <!-- ! 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-->
  38. <<if getvar("$MiraLoc") != 5 and $npc('A60').QW >= 1>>
  39. <<set $mirarand = rand(1,10)>>
  40. <<if getvar("$mirarand") >= 6>>
  41. <<set $MiraLoc = 5>>
  42. <<if $npc('A60').QW >= 16 and getvar("$gadriver_gang") == 2>>
  43. You can go drink with Mira, Mitka, Kolyamba and Vasyan at their <<link "trailer">><<gt 'mitkabuh_group' 'partywithMira'>><</link>> hidden in the woods.
  44. <<else>>
  45. You can go drink with Mira, Mitka, Kolyamba and Vasyan at their <<link "trailer">><<gt 'mitkabuh' 'partywithMira'>><</link>> hidden in the woods.
  46. <</if>>
  47. <<else>>
  48. You can go drink with Mitka, Kolyamba and Vasyan at their <<link "trailer">><<gt 'mitkabuh' 'partyalone'>><</link>> hidden in the woods.
  49. <</if>>
  50. <<else>>
  51. You can go drink with the Mitka, Kolyamba and Vasyan at their <<link "trailer">><<gt 'mitkabuh' 'partyalone'>><</link>> hidden in the woods.
  52. <</if>>
  53. <</if>>
  54. <<actCLA 'Walk to Gadukino (0:10)'>>
  55. <<set $time.minutes += 10>> <<gt 'gadukino'>>
  56. <</actCLA>>
  57. <<actCLA 'Walk down to the river (0:10)'>>
  58. <<set $time.minutes += 10>> <<gt 'gadriver' 'start'>>
  59. <</actCLA>>
  60. <<actCLA 'Walk into the woods (0:15)'>>
  61. <<set $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  62. <</actCLA>>
  63. <<actCLA 'Walk to the fields (0:10)'>>
  64. <<set $time.minutes += 10>> <<gt 'gadfield' 'field'>>
  65. <</actCLA>>
  66. <<if $wardrobe.clothingworntype == 'danilovich_outfits' and $wardrobe.shoeworntype == 'danilovich' and $time.hour >= 6 and $time.hour < 22>>
  67. <<if $pc.pcs_energy >= 5 and $pc.pcs_stam >= $pc.stammax / 5>>
  68. <<actCLA 'Go for a run (1:00)'>>
  69. <<set $menu_off = 1>>
  70. <<gs 'exercise' 'tier1' 60 'run'>>
  71. <<if $time.month <= 3 or $time.month >= 11>>
  72. <<image "locations/gadukino/village/gadbeg4.jpg">>
  73. <<elseif $time.month == 9 or $time.month == 10 or $time.month == 4 or $time.month == 5>>
  74. <<image "locations/gadukino/village/gadbeg3.jpg">>
  75. <<else>>
  76. <<if $pc.muscularity >= $pc.salo>>
  77. <<image "locations/gadukino/village/gadbeg1.jpg">>
  78. <<else>>
  79. <<image "locations/gadukino/village/gadbeg2.jpg">>
  80. <</if>>
  81. <</if>>
  82. You run for an hour enjoying the scenery.
  83. <<act 'Finish'>>
  84. <<gt 'gadroad'>>
  85. <</act>>
  86. <</actCLA>>
  87. <<elseif $pc.pcs_stam >= $pc.stammax / 5>>
  88. <!-- FAILED TO CONVERT
  89. act 'Go for a run (1:00)': '<br><font color="red">You are so hungry you cannot face going for a run.</font>'
  90. -----
  91. <<actCLA 'Go for a run (1:00)'>>
  92. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You are so hungry you cannot face going for a run.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  93. <</actCLA>>
  94. -->
  95. <<warn "CONVERSION ERROR 0cc5a3cc1b1b8aa1f9bd4d7c172ec66b">>
  96. <<else>>
  97. <!-- FAILED TO CONVERT
  98. 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>'
  99. -----
  100. <<actCLA 'Go for a run (1:00)'>>
  101. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You are to exhausted to do this. Recover your stamina before trying to go for a run.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  102. <</actCLA>>
  103. -->
  104. <<warn "CONVERSION ERROR 2547b7e5750e5a472ceaedc66d06c3df">>
  105. <</if>>
  106. <<elseif ($wardrobe.clothingworntype != 'danilovich_outfits' or $wardrobe.shoeworntype != 'danilovich') and $time.hour >= 6 and $time.hour < 22>>
  107. You could go for a run here if you were wearing sports clothes and shoes.
  108. <</if>>
  109. <</if>>
  110. <<if $location_var[$here][0] == 'drinking_invite'>>
  111. <<set $loc = 'gadroad'>>
  112. <<set $loc_arg = 'drinking_invite'>>
  113. <<set $location_type = 'secluded'>>
  114. <<set $menu_loc = 'gadroad'>>
  115. <<set $menu_arg = 'drinking_invite'>>
  116. <<set $menu_off = 1>>
  117. <<set $time.minutes += 5>>
  118. <<image "locations/gadukino/village/drunk.jpg">>
  119. You quickly catch up to the boys who have already started drinking.
  120. <!-- ! Sveta has never been drinking with Mitka before-->
  121. <<if getvar("$mitka_first_drink") == 1>>
  122. <p>Mitka is the first to greet you, "Hey $pc.name_nick, glad you decided to join us today!"</p>
  123. Kolyamba and Vasyan nod in agreement as they look you over.
  124. "We know this great spot in the woods to hang out. No one ever bothers us there."
  125. <<else>>
  126. <p>Mitka is the first to greet you, "Hey $pc.name_nick, glad you decided to join us today!"</p>
  127. Kolyamba and Vasyan nod in agreement as they look you over.
  128. <</if>>
  129. <p>Mitka asks, "Are you ready to go?"</p>
  130. <!-- ! if Sveta came here to kick off Miras quest then she cannot leave otherwise Sveta is free to decline the offer-->
  131. <<if $npc('A60').QW > 0 or (getvar("$MiraLoc") != 5 and $npc('A60').QW == 0)>>
  132. <<gs 'willpower' 'drink' 'resist'>>
  133. <<if $will_cost <= $pc.pcs_willpwr>>
  134. <<actCLA 'No thanks, not tonight. (will_cost Willpower)'>>
  135. <<gs 'willpower' 'drink' 'resist'>>
  136. <<gs 'willpower' 'pay' 'resist'>>
  137. <<gt 'gadroad'>>
  138. <</actCLA>>
  139. <<else>>
  140. <<actCLA `'No thanks, not tonight. ('+$will_cost+')'`>><font color=red><br/>You don`t have enough willpower to use this action.</font><</actCLA>>
  141. <</if>>
  142. <</if>>
  143. <!-- ! 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-->
  144. <<if getvar("$MiraLoc") != 5 and $npc('A60').QW >= 1>>
  145. <<set $mirarand = rand(1,10)>>
  146. <<if getvar("$mirarand") >= 6>>
  147. <<set $MiraLoc = 5>>
  148. <</if>>
  149. Just as the words leave Mitka''s mouth, Mira comes bounding around the corner.
  150. <p>"Hey guys, thanks for the invite! $pc.name_nick is here, too, awesome! Let's go!"</p>
  151. <</if>>
  152. <!-- ! Mira is here and both her and Sveta are the town whores-->
  153. <!-- ! mitkabuh_group has the drinking events for group sex for 2 girls and 3 boys-->
  154. <<if getvar("$MiraLoc") == 5 and $npc('A60').QW >= 16 and getvar("$gadriver_gang") == 2>>
  155. <<actCLA 'Go with them'>>
  156. <<set $time.minutes += 15>> <<set $npc('A60').drunk = 0>> <<gt 'mitkabuh_group'>>
  157. <</actCLA>>
  158. <!-- ! Mira is here and neither or only 1 out 2 of them is the town whore-->
  159. <!-- ! 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-->
  160. <<elseif getvar("$MiraLoc") == 5>>
  161. <<actCLA 'Go with them'>>
  162. <<set $time.minutes += 15>> <<set $npc('A60').drunk = 0>> <<gt 'mitkabuh'>>
  163. <</actCLA>>
  164. <!-- ! Mira is not here so Sveta goes by herself-->
  165. <<else>>
  166. <<actCLA 'Go with them'>>
  167. <<set $time.minutes += 15>> <<gt 'mitkabuh'>>
  168. <</actCLA>>
  169. <</if>>
  170. <</if>>