Gaddvor.qsrc 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # Gaddvor
  2. if $ARGS[0]='':
  3. music_loop = 0
  4. $metka = ''
  5. $loc = 'Gaddvor'
  6. $location_type = 'public_outdoors'
  7. $menu_loc = 'Gaddvor'
  8. $menu_arg = ''
  9. menu_off = 0
  10. killvar '$locclass'
  11. gs 'stat'
  12. CLOSE ALL
  13. gs 'gadukino_event', 'sound'
  14. if hour >= 6 and hour < 22:
  15. if grandma_trouble = 10:
  16. *clr & cla
  17. menu_off = 1
  18. killvar 'grandma_trouble'
  19. '<center><h4>Your grandparents'' yard</h4></center>'
  20. '<center><img <<$set_imgh>> src="images/locations/gadukino/grandparents/grandma_trouble.jpg"></center>'
  21. 'Suddenly your grandmother approaches you with disappointed look on her face. "I had higher expectations of you young lady! You should be ashamed of yourself running around outdoors without clothes. You have embarrassed me AND your grandfather! Unlike you, we have to live in this village, and with the people in it. If you keep this up, I''ll be cutting your time here short and sending you back to your mother, and she can deal with your sinful behaviour. Go and get dressed immediately!" She then walks off. You are too ashamed to say anything.'
  22. act 'Continue': gt 'Gaddvor'
  23. exit
  24. end
  25. end
  26. clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
  27. if clothesAtLocation = 1:
  28. if $clothingworntype = 'nude':
  29. act 'Get dressed':
  30. gs 'clothing', 'recover_lost_clothes', 'Gaddvor', 1
  31. gs 'underwear', 'wear'
  32. gt 'Gaddvor'
  33. end
  34. else
  35. act 'Pick up your clothes':
  36. gs 'clothing', 'recover_lost_clothes', 'Gaddvor'
  37. 'You picked up your clothes.'
  38. gt 'Gaddvor'
  39. end
  40. end
  41. end
  42. if StoryLine = 1:
  43. '<center><h4>Your grandparents'' yard</h4></center>'
  44. else
  45. '<center><h4>Old Couple''s yard</h4></center>'
  46. end
  47. if month >= 4 and month <= 10:
  48. if hour >= 6 and hour < 22:
  49. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor.jpg"></center>'
  50. else
  51. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_night.jpg"></center>'
  52. end
  53. else
  54. if hour >= 8 and hour < 18:
  55. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter.jpg"></center>'
  56. else
  57. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter_night.jpg"></center>'
  58. end
  59. end
  60. if StoryLine = 1:
  61. 'A fenced yard behind your grandparents'' house. The yard is surrounded by a small barn packed with junk and a separate building that is used as a banya where you can take a bath. On the back porch are a few chairs to sit in.'
  62. else
  63. 'A fenced yard behind the house. The yard is surrounded by a small barn packed with junk and a separate building that is used as a banya where people take a bath. On the back porch are a few chairs to sit in.'
  64. end
  65. if StoryLine = 1:
  66. act 'Enter your grandparents'' house':minut += 1 & gt 'Gadhouse'
  67. act 'Enter the banya':minut += 1 & gt 'Gadbana'
  68. end
  69. if $clothingworntype = 'nude':
  70. *nl
  71. 'You are naked and can only go into your grandparent''s house to get dressed or go to the banya.'
  72. else
  73. if feed_chickens = 1 or (hour >= 6 and hour < 20 and month >= 4 and month <= 10):'In the yard there are <a href="exec:gt ''Gaddvor'',''chickens''">chickens</a> running around.'
  74. if mira_guest = 1: Miraloc = 7 & 'Your friend <a href="exec: gt ''Miroslava'', ''Start''">Mira</a> stands next to you.'
  75. act 'Go to the barn':minut += 1 & gt 'Gadsarai'
  76. act 'Go to the garden':minut += 1 & gt'Gadgarden','garden'
  77. if meadow > 0 and hour >= 6 and hour < 20 and month >= 4 and month <= 10:act 'Go to the meadow':minut += 20 & gt 'Meadow', 'start'
  78. act '<b>Go to Gadukino</b>':minut += 5 & gt 'gadukino'
  79. if hour >= 17 and hour < 20:
  80. if mitkaday!daystart:'<a href="exec:gt ''mitka''">Mitka</a> is hanging out near the barn in your grandparents'' backyard, he is following you while taking a smoke.'
  81. elseif hour >= 20 and sunWeather = 1:
  82. 'Several <a href="exec:gt ''mitkabuh''">young men</a> are sitting near your grandparents'' backyard, drinking moonshine and talking loudly.'
  83. end
  84. mira_temp = rand(1,5)
  85. if mira_temp = 3 and hour >= 9 and hour <= 19 and npc_rel['A60'] >= 15 and Mira_no = 0 and sunWeather = 1 and mira_guestday ! daystart and (npc_QW['A63'] < 13 or npc_QW['A60'] >= 10 or mirasex > 1):
  86. *clr & cla
  87. menu_off = 1
  88. gs 'Miroslava', 'miraclothes'
  89. 'You went out into the yard and noticed Mira standing there.'
  90. '"Oh, <<$pcs_nickname>> hi, hope you don’’t mind me visiting. I was bored being home alone." she said smiling.'
  91. mira_guestday = daystart
  92. minut += 5
  93. mira_guest = 1
  94. gs 'stat'
  95. act 'Further':gt'Gaddvor'
  96. end
  97. end
  98. end
  99. if $ARGS[0] = 'chickens':
  100. *clr & cla
  101. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens1.jpg"></center>'
  102. 'Ordinary chickens clucking about their pen.'
  103. minut += 1
  104. gs 'stat'
  105. !job Granny
  106. if feed_chickens = 1:
  107. act 'Feed the chickens':
  108. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens2.jpg"></center>'
  109. 'You decide to feed the chickens. You pick up a bucket full of bird''s seed and grain mix and toss it on the ground. They immediately rush over and start to greedily eat. You watch them for a bit before you go about your business.'
  110. *clr & cla
  111. minut += 30
  112. grandmahelp += 1
  113. feed_chickens = 0
  114. hndiwrk_exp += rand(0,3)
  115. gs 'stat'
  116. act 'Finish':gt'Gaddvor'
  117. end
  118. end
  119. act 'Leave': gt'Gaddvor'
  120. end
  121. --- Gaddvor ---------------------------------