123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338 |
- # swamp_yard
- if $ARGS[0] = 'start':
- $loc = 'swamp_yard'
- $loc_arg = 'start'
- $menu_loc = 'swamp_yard'
- $menu_arg = 'start'
- menu_off = 0
- $location_type = 'secluded'
- hunterscabin = 1
- util_rand = rand(1,2)
- gs 'gadukino_event', 'sound'
- gs 'hunter_ambient', 'schedule'
- gs 'stat'
- if lost_girl = 1:
- if daystart > forest_lostday + 1 and rand(forest_lostday - daystart, 30) >= 30 and hour >= 8 and hour < 20:
- gt 'gadforestlost','rescue','ranger','swamp_yard'
- end
- end
- '<center><B>The yard in front of the hut</B></center>'
- if month >= 5 and month <= 9:
- if hour >= 6 and hour < 22:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_yard.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_yard_night.jpg"></center>'
- end
- else
- if hour >= 8 and hour < 18:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_yard_winter.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_yard_winter_night.jpg"></center>'
- end
- end
- *nl
- 'Behind the hut there is a <a href="exec: gt ''swampspring'' ">spring</a>, if you continue a little further down there is a small <a href="exec: gt ''backwater'' ">creek</a> with relatively clean water.'
- if hunters_available = 1 and hunters_outside = 1 and hunters_were_met = 0:
- *nl
- 'You spot some unfamiliar <a href="exec: gt ''hunters'', ''start'' ">people</a> standing in front of the hut.'
- elseif hunters_available = 1 and hunters_outside = 1:
- *nl
- 'You notice the <a href="exec: gt ''hunters'', ''start'' ">hunters</a> standing in the front yard.'
- elseif hunters_evening = 1 and hunters_outside = 1:
- *nl
- 'You hear some gunshots and see <a href="exec: gt ''swamp_woods'', ''shooting_practice'' ">Andrei</a> not too far in the distance shooting some bottles.'
- elseif hunters_hunting = 1 and hunters_outside = 1:
- *nl
- 'The hunters are most likely out hunting for a couple hours. You have the camp to yourself!'
- elseif (hunters_breakfast = 1 or hunters_lunch = 1 or hunters_drink = 1) and hunters_outside = 1:
- *nl
- 'You see hunters are sitting by the <a href="exec: gt ''swamp_yard'', ''campfire''">campfire</a>'
- else
- if hunters_were_met = 0:
- *nl
- 'The camp is quiet. There''s nobody here right now, but the camp looks like it is likely in use and not abandoned.'
- else
- *nl
- 'The camp is quiet. The hunters aren''t here right now, where could they be.'
- end
- end
-
- act '<b>Go to the swamp</b>': gt 'swamp_yard', 'swamp_escape'
- gs 'bicycle', 'swamp_yard'
- act 'Go into the house':gt 'swamphouse', 'start'
- act 'Approach the firepit': gt 'swamp_yard', 'campfire'
- act 'Visit the spring': gt 'swampspring'
- act 'Visit the creek': gt 'backwater'
- act 'Explore the woods': minut += 10 & gt 'swamp_woods', 'start'
- if hunters_outside = 1 and hunters_available = 1 and util_rand = 1:
- gs 'swamp_yard', 'daytime_flavor_events'
- end
- end
- if $ARGS[0] = 'campfire':
- !TODO: Add mechanic so that fire slowly goes through wood and extinguishes when there is no more left
- cla & *clr
- $loc = 'swamp_yard'
- $loc_arg = 'campfire'
- menu_off = 1
- gs 'hunter_ambient', 'schedule'
- gs 'stat'
- act 'Move away': gt 'swamp_yard', 'start'
- if campfire = 1:
- if hour >= 8 and hour < 20:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_day.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_night.jpg"></center>'
- end
- *nl
- 'A nice, warm campfire you can sit and relax by. You can use it to cook something or heat up some water to bathe.'
- 'You can also put it out with the bucket if there is enough water in it'
- else
- if hour >= 8 and hour < 20:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_out_day.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_out_night.jpg"></center>'
- end
- *nl
- 'You can use this firepit to light a fire, if you have some firewood available.'
- end
- if campfire = 1:
- if hunters_breakfast = 1 or hunters_lunch = 1:
- *clr
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/hanters1.jpg"></center>'
- *nl
- 'Hunters are also sitting around the campfire, talking and joking about all kinds of stuff before heading out hunting'
- act 'Chat (0:30)':
- gt 'hunter_interactions', 'chat_with_hunters'
- end
- !TODO: Flesh out the learning content here
- act 'Ask for some survival tips (0:10)':
- hunter_lessons += 1
- *clr & cla
- if hunter_collective_opinion > 25:
- hunter_collective_opinion -= 1
- pcs_bushcraft += 1
- gs 'stat'
- minut += 10
- *nl
- 'Hunters talk to you about some of their experiences when they first started out'
- else
- if hunter_lessons > 10 AND hunter_sexual_comfort > 25:
- !TODO: Prototype implementation for the creekside event, to be revamped
- 'Sergei tells you to go by the creek for the next lesson about how to scope the area for a hunt.'
- hunter_lessons -= 8
- act 'Further': gt 'hunter_favors', 'creekside_gangbang_request'
- else
- minut += 20
- 'The hunters do not even bother to answer you. You simply sit in awkward silence for twenty minutes before getting to to other business'
- end
- end
- act 'Further': gt 'swamp_yard', 'campfire'
- end
- end
- if hunters_drink = 1:
- *clr
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/fireside_drink.jpg"></center>'
- *nl
- 'Hunters are drinking and chatting loudly. You can join them for a chat, or maybe a drink or two if you would like'
- act 'Chat (0:30)':
- gt 'hunter_interactions', 'chat_with_hunters'
- end
- act 'Ask them for a drink':
- gt 'hunter_interactions', 'join_drinking'
- end
- end
- if bucket >= 3:
- act 'Put out the fire':
- cla & *clr
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_put_out.jpg"></center>'
- *nl
- 'You pour some water to extinguish the campfire'
- campfire = 0
- minut += 5
- bucket -= 3
- act 'Further': gt 'swamp_yard', 'campfire'
- end
- end
- if bucket > 0 and boletus > 0 and mushroom_soup = 0:
- act 'Cook some mushroom soup (0:30)': gs 'hunter_favors', 'mushroom_soup'
- end
- if bucket > 0 and raw_meat > 0 and meat_stew = 0:
- act 'Cook some meat stew (1:00)': gs 'hunter_favors', 'meat_stew'
- end
- if bucket >= 5 and hotwater = 0:
- act 'Heat up water (0:30)':
- cla
- *clr
- minut += 30
- bucket -= 5
- hotwater = 1
- water_heated += 1
- gs 'stat'
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/hotwater.jpg"></center>'
- *nl
- if water_heated > 5 and (pcs_inhib < 85 or hunter_sexual_comfort > 25):
- '"It is too tedious to keep heatiing up water", you think to yourself.'
- else
- 'With the now heated water, you can bathe yourself in the tub.'
- end
- act 'Continue': gt 'swamp_yard', 'campfire'
- end
- end
- act 'Eat a meal':
- cla
- act 'Return': gt 'swamp_yard', 'campfire'
- act 'Eat jerky and trail mix':gt 'food', 'jerky'
- if meat_stew > 0:
- act 'Eat meat stew':
- gs 'food', 'meat_stew'
- meat_stew -= 1
- *nl
- if meat_stew > 0:
- 'There''s <<meat_stew>> '+iif(meat_stew > 1, 'servings','serving')+' of stew left in the pot'
- else
- 'You have finished the last of the stew, the pot is empty.'
- end
- end
- end
- if mushroom_soup > 0:
- act 'Eat mushroom soup':
- gs 'food', 'mush_soup'
- mushroom_soup -= 1
- if mushroom_soup > 0:
- 'There''s <<mushroom_soup>> '+iif(mushroom_soup > 1, 'servings','serving')+' of soup left in the pot'
- else
- 'You have finished the last of the soup, the pot is empty.'
- end
- gs 'stat'
- end
- end
- if bilberry > 0:
- act 'Eat berries':gt 'food','bilberry'
- end
- end
- if alko > 8:
- gt 'hunter_interactions', 'drunken_blackout'
- end
- else
- !TODO: Tie fire lighting to bushcraft, make hunters do it on their schedule or with Sveta asking
- if firewood >= 10 and campfire = 0:
- act 'Light fire':
- cla & *clr
- if $clothingworntype ! 'nude':
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_light.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/campfire_light_nude.jpg"></center>'
- end
- 'You use some chopped wood, dry branches and twigs to light a campfire in the firepit'
- firewood -= 10
- campfire = 1
- minut += 15
- act 'Further': gt 'swamp_yard', 'campfire'
- end
- elseif firewood < 10 and campfire = 0:
- *nl
- 'There is some wood and twigs by the pit but not enough to light a new fire. You will probably need to collect some branches, chop some or ask a hunter to do so.'
- end
- end
- end
- if $ARGS[0] = 'swamp_escape':
- !add chance to swamped by illume
- if hunters_available = 1 and hunters_outside = 1:
- if hour >= 6 and hour < 21:
- minut += 5
- if rand(1,10)>9:
- gt 'swamp', 'start'
- else
- gt 'swamp','stuck'
- end
- else
- *clr & cla
- gs 'stat'
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/handshelp.jpg"></center>' & !! instead igorhanter.jpg
- 'As you start moving into the swamp Igor calls after you.'
- !TODO: Different line depending on opinion and slut
- '"<<$pcs_nickname>>, where are you going? You will get stuck in there!'
- act 'Turn back':gt 'swamp_yard','start'
- act 'Ignore him and keep going':
- minut += 5
- !TODO: Add skill clothing and temp check here instead of praying to RNGesus
- if rand(1,10)>9:
- gt 'swamp', 'start'
- else
- gt 'swamp','stuck'
- end
- end
- end
- else
- minut += 5
- !TODO: Here too, also see how to avoid duplicating. Maybe create a child event node?
- if (hour >= 6 and hour < 21) or rand(1,10)>7:
- gt 'swamp', 'start'
- else
- gt 'swamp','stuck'
- end
- end
- end
- if $ARGS[0] = 'daytime_flavor_events':
- gs 'hunter_ambient', 'schedule'
- if rand(1,30) = 1 and hunters_available > 0:
- gt 'hunter_interactions', 'skirt_breeze'
- elseif rand(1,10) = 1 and hunters_available > 0:
- gt 'hunter_favors', 'housekeeping_request'
- elseif rand(1,12) = 1 and hunters_available > 0:
- gt 'hunter_ambient' , 'yard_convo'
- elseif rand(1, hunter_sexual_comfort / 4 + 2) = 1 and hunters_available > 0:
- gt 'hunter_interactions', 'naked_encounter'
- elseif rand(1,15) = 1 and hunters_available > 0:
- gt 'hunter_ambient', 'bring_food'
- end
- end
- --- swamp_yard ---------------------------------
|