# 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
'
The yard in front of the hut'
if month >= 5 and month <= 9:
if hour >= 6 and hour < 22:
'> src="images/locations/gadukino/hunters/swamp_yard.jpg">'
else
'> src="images/locations/gadukino/hunters/swamp_yard_night.jpg">'
end
else
if hour >= 8 and hour < 18:
'> src="images/locations/gadukino/hunters/swamp_yard_winter.jpg">'
else
'> src="images/locations/gadukino/hunters/swamp_yard_winter_night.jpg">'
end
end
*nl
'Behind the hut there is a spring, if you continue a little further down there is a small creek with relatively clean water.'
if hunters_available = 1 and hunters_outside = 1 and hunters_were_met = 0:
*nl
'You spot some unfamiliar people standing in front of the hut.'
elseif hunters_available = 1 and hunters_outside = 1:
*nl
'You notice the hunters standing in the front yard.'
elseif hunters_evening = 1 and hunters_outside = 1:
*nl
'You hear some gunshots and see Andrei 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 campfire'
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 'Go to the swamp': 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:
'> src="images/locations/gadukino/hunters/campfire_day.jpg">'
else
'> src="images/locations/gadukino/hunters/campfire_night.jpg">'
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:
'> src="images/locations/gadukino/hunters/campfire_out_day.jpg">'
else
'> src="images/locations/gadukino/hunters/campfire_out_night.jpg">'
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
'> src="images/locations/gadukino/hunters/hanters1.jpg">'
*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
'> src="images/locations/gadukino/hunters/fireside_drink.jpg">'
*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
'> src="images/locations/gadukino/hunters/campfire_put_out.jpg">'
*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'
'> src="images/locations/gadukino/hunters/hotwater.jpg">'
*nl
if water_heated > 5 and (inhibition < 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 <> '+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 <> '+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':
'> src="images/locations/gadukino/hunters/campfire_light.jpg">'
else
'> src="images/locations/gadukino/hunters/campfire_light_nude.jpg">'
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'
'> src="images/locations/gadukino/hunters/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'
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 ---------------------------------