Gaddvor.qsrc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
  15. if clothesAtLocation = 1:
  16. if $clothingworntype = 'nude':
  17. act 'Get dressed':
  18. gs 'clothing', 'recover_lost_clothes', 'Gaddvor', 1
  19. gs 'underwear', 'wear'
  20. gt 'Gaddvor'
  21. end
  22. else
  23. act 'Pick up your clothes':
  24. gs 'clothing', 'recover_lost_clothes', 'Gaddvor'
  25. 'You picked up your clothes.'
  26. gt 'Gaddvor'
  27. end
  28. end
  29. end
  30. if StoryLine = 1:
  31. '<center><h4>Your grandparents'' yard</h4></center>'
  32. else
  33. '<center><h4>Old Couple''s yard</h4></center>'
  34. end
  35. if month >= 4 and month <= 10:
  36. if hour >= 6 and hour < 22:
  37. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor.jpg"></center>'
  38. else
  39. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_night.jpg"></center>'
  40. end
  41. else
  42. if hour >= 8 and hour < 18:
  43. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter.jpg"></center>'
  44. else
  45. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter_night.jpg"></center>'
  46. end
  47. end
  48. if StoryLine = 1:
  49. '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.'
  50. else
  51. '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.'
  52. end
  53. if StoryLine = 1:
  54. act 'Enter your grandparents'' house':minut += 1 & gt 'Gadhouse'
  55. act 'Enter the banya':minut += 1 & gt 'Gadbana'
  56. end
  57. if $clothingworntype = 'nude':
  58. *nl
  59. 'You are naked and can only go into your grandparent''s house to get dressed or go to the banya.'
  60. else
  61. 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.'
  62. if mira_guest = 1: Miraloc = 7 & 'Your friend <a href="exec: gt ''Miroslava'', ''Start''">Mira</a> stands next to you.'
  63. act 'Go to the barn':minut += 1 & gt 'Gadsarai'
  64. act 'Go to the garden':minut += 1 & gt'Gadgarden','garden'
  65. 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'
  66. act '<b>Go to Gadukino</b>':minut += 5 & gt 'gadukino'
  67. if hour >= 17 and hour < 20:
  68. 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.'
  69. elseif hour >= 20 and sunWeather = 1:
  70. 'Several <a href="exec:gt ''mitkabuh''">young men</a> are sitting near your grandparents'' backyard, drinking moonshine and talking loudly.'
  71. end
  72. mira_temp = rand(1,5)
  73. 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):
  74. *clr & cla
  75. gs 'Miroslava', 'miraclothes'
  76. 'You went out into the yard and noticed Mira standing there.'
  77. '"Oh, <<$pcs_nickname>> hi, hope you don’’t mind me visiting. I was bored being home alone." she said smiling.'
  78. mira_guestday = daystart
  79. minut += 5
  80. mira_guest = 1
  81. gs 'stat'
  82. act 'Further':gt'Gaddvor'
  83. end
  84. end
  85. end
  86. if $ARGS[0] = 'chickens':
  87. *clr & cla
  88. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens1.jpg"></center>'
  89. 'Ordinary chickens clucking about their pen.'
  90. minut += 1
  91. gs 'stat'
  92. !job Granny
  93. if feed_chickens = 1:
  94. act 'Feed the chickens':
  95. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens2.jpg"></center>'
  96. '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.'
  97. *clr & cla
  98. minut += 30
  99. grandmahelp += 1
  100. feed_chickens = 0
  101. hndiwrk_exp += rand(0,3)
  102. gs 'stat'
  103. act 'Finish':gt'Gaddvor'
  104. end
  105. end
  106. act 'Leave': gt'Gaddvor'
  107. end
  108. --- Gaddvor ---------------------------------