gaddvor.qsrc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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 StoryLine = 1:
  15. '<center><h4>Your grandparents'' yard</h4></center>'
  16. else
  17. '<center><h4>Old couple''s yard</h4></center>'
  18. end
  19. if month >= 4 and month <= 10:
  20. if hour >= 6 and hour < 22:
  21. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor.jpg"></center>'
  22. else
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_night.jpg"></center>'
  24. end
  25. else
  26. if hour >= 8 and hour < 18:
  27. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter.jpg"></center>'
  28. else
  29. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter_night.jpg"></center>'
  30. end
  31. end
  32. if StoryLine = 1:
  33. '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.'
  34. else
  35. '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.'
  36. end
  37. if $clothingworntype = 'nude':
  38. *nl
  39. 'You are naked and can only go into your grandparent''s house to get dressed or go to the banya.'
  40. act 'Enter your grandparents'' house':minut += 1 & gt 'gadhouse', 'start'
  41. act 'Enter the banya':minut += 1 & gt 'gadbana'
  42. else
  43. if grandmaQW['chore_feed_chickens'] = 1 or (hour >= 6 and hour < 20 and month >= 4 and month <= 10):'In the yard there are several <a href="exec:gt ''gaddvor'',''chickens''">chickens</a> running around.'
  44. if mira_guest = 1: Miraloc = 7 & 'Your friend <a href="exec: gt ''miroslava'', ''Start''">Mira</a> stands next to you.'
  45. act '<b>Leave and go into the village</b>':minut += 5 & gt 'gadukino'
  46. if grandpaQW['chore_clean_yard'] = 1:
  47. act 'Clean up the yard for Grandpa (1:00)':
  48. *clr & cla
  49. if month >= 4 and month <= 10:
  50. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
  51. 'Armed with a rake, you begin cleaning the yard. You''re pleased seeing the yard clean. You return the rake to the shed and continue on with your business.'
  52. else
  53. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
  54. 'Armed with a shovel, you begin clearing the yard of snow. You''re pleased with yourself seeing the courtyard is free of snow. You return the shovel to the shed and continue on with your business.'
  55. end
  56. minut += 60
  57. grandpaQW['chore_clean_yard'] = 2
  58. if month >= 4 and month <= 10:
  59. fat -= rand(1,3)
  60. pcs_stam -= 5
  61. gs 'sweat', 'add', 10
  62. else
  63. stren_exp += 1
  64. fat -= rand(1,5)
  65. pcs_stam -= 10
  66. gs 'sweat', 'add', 5
  67. end
  68. gs'stat'
  69. act 'Continue':gt'gaddvor'
  70. end
  71. end
  72. if StoryLine = 1:
  73. act 'Enter your grandparents'' house':minut += 1 & gt 'gadhouse', 'start'
  74. act 'Enter the banya':minut += 1 & gt 'gadbana'
  75. end
  76. act 'Go to the barn':minut += 1 & gt 'gadsarai'
  77. act 'Go to the garden':minut += 1 & gt'gadgarden','garden'
  78. mira_temp = rand(1,5)
  79. 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):
  80. *clr & cla
  81. menu_off = 1
  82. gs 'miroslava', 'miraclothes'
  83. 'You went out into the yard and noticed Mira standing there.'
  84. '"Oh, <<$pcs_nickname>> hi, hope you don’’t mind me visiting. I was bored being home alone." she said smiling.'
  85. mira_guestday = daystart
  86. minut += 5
  87. mira_guest = 1
  88. gs 'stat'
  89. act 'Continue':gt'gaddvor'
  90. end
  91. end
  92. clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
  93. if clothesAtLocation = 1:
  94. if $clothingworntype = 'nude':
  95. act 'Get dressed':
  96. gs 'clothing', 'recover_lost_clothes', 'gaddvor', 1
  97. gs 'underwear', 'wear'
  98. gt 'gaddvor'
  99. end
  100. else
  101. act 'Pick up your clothes':
  102. gs 'clothing', 'recover_lost_clothes', 'gaddvor'
  103. 'You picked up your clothes.'
  104. gt 'gaddvor'
  105. end
  106. end
  107. end
  108. end
  109. if $ARGS[0] = 'chickens':
  110. *clr & cla
  111. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens1.jpg"></center>'
  112. 'Ordinary chickens clucking about their pen.'
  113. minut += 1
  114. gs 'stat'
  115. !job Granny
  116. if grandmaQW['chore_feed_chickens'] = 1:
  117. act 'Feed the chickens':
  118. *clr & cla
  119. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens2.jpg"></center>'
  120. '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.'
  121. minut += 30
  122. grandmaQW['chore_feed_chickens'] = 2
  123. hndiwrk_exp += rand(0,3)
  124. gs 'stat'
  125. act 'Finish':gt'gaddvor'
  126. end
  127. end
  128. act 'Leave': gt'gaddvor'
  129. end
  130. --- gaddvor ---------------------------------