# mod_addedflavour_LocationTriggers
if $ARGS[0] = 'PatchworkDolls':
if doll_staff = 1 and know_Viola = 1 and npc_rel['A205'] >= 40 and hotcat >= (8 - (5 - difficulty)) and menu_off = 0:
gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 1
if modVar_AF_Inhib['Result'] = 1 and modVar_AF_EventLock['A205-ShopSexEv'] ! daystart and $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] ! 'dolls':
*nl
'Viola seems to be giving you a sultry look'
elseif modVar_AF_EventLock['A205-ShopSexEv'] ! daystart:
*nl
'Viola seems to be giving you a sultry look'
end
elseif doll_staff = 0 and know_Savva = 1 and npc_rel['A204'] >= 40 and hotcat >= (8 - (5 - difficulty)) and menu_off = 0 and pcs_vag ! 0 and $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] ! 'dolls':
gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 1
if modVar_AF_Inhib['Result'] = 1 and modVar_AF_EventLock['A204-ShopSexEv'] ! daystart:
*nl
'Savva seems to be giving you a sultry look'
elseif modVar_AF_EventLock['A204-ShopSexEv'] ! daystart:
*nl
'Savva seems to be giving you a sultry look'
end
end
if Storyline ! 1 and modVar_AF_EventLock['A144-FirstMeet'] ! daystart and modVar_AF_EventTriggered['A204-ShopSexEv'] > 0 and modVar_AF_EventTriggered['A205-ShopSexEv'] > 0 and week <= 5:
modVar_AF_EventLock['A144-FirstMeet'] = daystart
if rand(1,(difficulty + 1)) = 1:
*nl
if modVar_AF_EventTriggered['A144-FirstMeet'] = 0 and modVar_AF_EventOpen['A144-UniversityEv'] = 0:
'You see Someone working in the shop'
elseif modVar_AF_EventOpen['A144-UniversityEv'] = 0:
'You see Anushka is here working part-time'
end
end
end
!---
if modVar_AF_EventOpen['A144-UniversityEv'] = 1 : gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'dolls'
if modVar_AF_EventOpen['A144-UniversityEv'] = 1 : gs 'mod_addedflavour_charsche' , 'chkschedule'
if $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] = 'dolls' and $charsche_character_CurActDesc[arrpos('charsche_charlist',144)] = 'Sex':
if doll_staff = 0 : gt 'mod_addedflavour_A144_Events' , 'A144-SavvaSexEv-X1'
if doll_staff = 1 : gt 'mod_addedflavour_A144_Events' , 'A144-ViolaSexEv-X1'
end
if $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] = 'dolls' and $charsche_character_CurActDesc[arrpos('charsche_charlist',144)] = 'Working' and modVar_AF_EventLock['A144-DollsSexEv'] ! daystart:
modVar_AF_EventLock['A144-DollsSexEv'] = daystart
modVar_AF_Rand = rand(1,3)
if modVar_AF_Rand = 1 and doll_staff = 0 : gt 'mod_addedflavour_A144_Events' , 'A144-SavvaSexEv-1'
if modVar_AF_Rand = 2: gt 'mod_addedflavour_A144_Events' , 'A144-ThreesomeEv-1'
end
end
if $ARGS[0] = 'GrandparentsYard':
modVar_AF_Rand = rand(1,(1 + difficulty))
if mira_guest = 0 and $clothingworntype = 'nude' and ((hour >= 6 and hour < 12) or (hour >= 17 and hour < 20)) and modVar_AF_Rand = 1 and modVar_AF_EventLock['A32-BathroomSexEv'] ! daystart and modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-2']:
if modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-1']:
modVar_AF_EventLock['A32-BathroomSexEv'] = daystart
modVar_AF_Temp = 9 - difficulty
gs 'mod_addedflavour_A32_Functions' , 'AddProgress' , 'A32-BathroomSexEv' , modVar_AF_Temp , modVar_AF_EventGates['A32-BathroomSexEv-1']
*nl
'While oblivious in your nudity you cannot help but think that someone is watching'
end
end
end
if $ARGS[0] = 'GrandparentsBathroom':
modVar_AF_Rand = rand(1,((10 - hotcat) + difficulty)) - (5 - difficulty)
if mira_guest = 0 and $clothingworntype = 'nude' and (hour >= 6 and hour < 20) and modVar_AF_Rand <= 1 and modVar_AF_EventLock['A32-BathroomSexEv'] ! daystart and modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-2']:
modVar_AF_EventLock['A32-BathroomSexEv'] = daystart
if modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-1']:
*nl
'There is a noise outside but it is probably one of the many animals in the area'
modVar_AF_Temp = 5 - difficulty
gs 'mod_addedflavour_A32_Functions' , 'AddProgress' , 'A32-BathroomSexEv' , modVar_AF_Temp , modVar_AF_EventGates['A32-BathroomSexEv-1']
elseif modVar_AF_EventProgress['A32-BathroomSexEv'] = modVar_AF_EventGates['A32-BathroomSexEv-1']:
*nl
'There is a noise outside but it is probably a stray animal in the yard'
elseif modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-2']:
*nl
'You hear a sound indicating your mystery voyuer is peeping again; that or it really is just a stray animal...'
end
elseif mira_guest = 0 and $clothingworntype = 'nude' and ((hour >= 6 and hour < 12) or (hour >= 17 and hour < 20)) and modVar_AF_Rand <= 1 and modVar_AF_EventLock['A32-BathroomSexEv'] ! daystart and modVar_AF_EventProgress['A32-BathroomSexEv'] >= modVar_AF_EventGates['A32-BathroomSexEv-2']:
modVar_AF_EventLock['A32-BathroomSexEv'] = daystart
gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 1
if modVar_AF_Inhib['Result'] = 1:
*nl
'You hear a sound indicating your voyuer is about again'
else
*nl
'You hear a sound indicating your mystery voyuer is peeping again; that or a stray animal again'
end
end
end
if $ARGS[0] = 'PavCorridor':
if modVar_AF_EventOpen['A29-NightOutEv'] = 1 and week = 6 and (hour >= 12 and hour < 15) and ($clothingworntype ! 'exercise' and strpos($clothingworntype,'gm_') = 0 and strpos($clothingworntype,'uniform') = 0 and strpos($clothingworntype,'school') = 0) and indorf ! 1 and npc_rel['A29'] >= 90:
*nl
'Get ready for a Night Out in the city with your <<$npc_nickname[''A29'']>>'
elseif modVar_AF_EventOpen['A29-NightOutEv'] = 1 and week = 6 and (hour >= 12 and hour < 15) and indorf ! 1 and npc_rel['A29'] >= 90:
*nl
'If you were wearing some nice clothes you could go out to the city with your <<$npc_nickname[''A29'']>>'
end
!---
if (hour >= 21 and hour <= 23) and modVar_AF_EventProgress['A33-SibSexEv'] > 0 and modVar_AF_EventLock['A33-SibSexEv'] ! daystart and indorf = 0:
modVar_AF_EventLock['A33-SibSexEv'] = daystart
modVar_AF_Rand = rand(1,(0 + difficulty))
if modVar_AF_Rand = 1 : modVar_AF_EventOpen['A33-SibSexEv'] = 1
end
if modVar_AF_EventOpen['A33-SibSexEv'] >= 1 and (rand(1,(0 + difficulty)) = 1 or modVar_AF_EventOpen['A33-SibSexEv'] = 2) and modVar_AF_EventLock['A33-SibSexEv'] ! daystart and (hour >= 21 and hour <= 23):
*nl
'There seems to be something going on in the room you share with your Sister'
end
!---
if modVar_AF_DeliveryJob['State'] = 2 : gs 'mod_addedflavour_pav_depot' , 'CheckJobsRemaining'
!---
if modVar_AF_EventProgress['A33-SibThreesomeEv-SisInv'] ! 0 and modVar_AF_EventProgress['A33-SibThreesomeEv-BroInv'] ! 0 and week = 7 and hour <= 11:
*nl
'Don''t forget the Picnic with your Siblings that you organised for today!'
end
!---
if (CloStyle2 = 4 or Enable_sforma = 1) and (kanikuli = 0 and SchoolAtestat = 0) and week <= 5 and hour = 7 and minut >= 30:
act 'Run to School':
*clr & cla
minut += rand(5,10)
gs 'stat'
'
'
*nl
'Realising you are running late you quickly head out the door and run the rest of the way to school, only giving any interruption a passing glance...'
act 'Reach the School' : gt 'gschool_grounds', 'main'
end
end
!---
gs 'mod_addedflavour_Football' , 'FindGameweek'
gs 'mod_addedflavour_Football' , 'RunGameweek'
if modVar_AF_EventProgress['Football'] = 2 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and hour < 15:
*nl
gs 'mod_addedflavour_Football' , 'ChkMatch' , 'League 2'
'You have a <<$modVar_AF_TempStr>> Match with the Pavlovsk High Football Team today! <<$modVar_AF_FBall_TravelMessage>>'
end
end
if $ARGS[0] = 'PavBedroom1':
if modVar_AF_EventOpen['A33-SibSexEv'] >= 1 and (hour >= 21 and hour <= 23):
modVar_AF_EventOpen['A33-SibSexEv'] = 0
gs 'mod_addedflavour_A33_Functions' , 'ChooseSibAct'
gt 'mod_addedflavour_A33_Events' , $modVar_AF_TempStr
end
end
if $ARGS[0] = 'PavComplex':
if modVar_AF_EventProgress['A33-SibThreesomeEv-SisInv'] ! 0 and modVar_AF_EventProgress['A33-SibThreesomeEv-BroInv'] ! 0 and hour = 11 and week = 7:
*nl
'You see your Sister waiting to meet you for the picnic'
end
end
if $ARGS[0] = 'PavBathroom':
if ((daystart <= 300 and rand(daystart,300) = 300) and modVar_AF_EventLock['Amended'] = 0) or (daystart > 300 and modVar_AF_EventLock['Amended'] = 0):
*clr & cla
modVar_AF_EventLock['Amended'] = 1
gs 'stat'
''
*nl
'Wait... what''s that feeling... What the Hell!! IS THAT WHAT I THINK IT IS!!!'
*nl
'WTF!!! This game has a variable to track this... AHH!!! SHIT!!! MUST. GET. TO. TOILET....'
*nl
'FFFFFUUUUUUCCCCCCCKKKKK!!!!!!'
act 'Shit Fuck Fuck Shit Fuck Shit' :
*clr & cla
gs 'stat'
''
*nl
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!'
*nl
'*Bowel Evacuation Noises*'
*nl
'*More Bowel Evacuation Noises*'
*nl
'*Yet More Bowel Evacuation Noises*'
act 'Never have to do that again for the rest of your life' : gt $loc, $loc_arg
end
end
end
if $ARGS[0] = 'ExhibitionistShop':
*nl
if modVar_AF_EventOpen['KSY-ShopMessage-1'] = 1:
'Kseniya welcomes you to her store'
*nl
'"Don''t forget, I''m often at the park on Sunday''s if you want to have more fun!"'
else
'Kseniya welcomes you to her store'
end
modVar_AF_EventOpen['KSY-ShopMessage-1'] = 0
end
if $ARGS[0] = 'CityResidential':
gs 'mod_addedflavour_charsche' , 'chkschedule'
end
if $ARGS[0] = 'CityAptBedroom':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
if $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting' and modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is in here getting changed'
elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting' and modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> finishing up getting her clothes on'
elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Sleeping':
*nl
'Your <<$npc_nickname[''A29'']>> is sleeping in your bed'
end
end
end
if $ARGS[0] = 'CityAptBalcony':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $menu_loc:
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is sunbathing on the balcony'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is sunbathing on the balcony'
end
end
end
if $ARGS[0] = 'CityAptCorridor':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is wafting around in the hall'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is wafting around in the hall'
end
end
end
if $ARGS[0] = 'CityAptKitchen':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
if $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Cleaning':
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is cleaning the dishes'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is cleaning the dishes'
end
elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting':
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is idly looking out of the window'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is idly looking out of the window'
end
end
end
end
if $ARGS[0] = 'CityAptSittingRoom':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
if $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting':
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is sitting on the sofa'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is sitting on the sofa'
end
elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Masturbating':
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
gt 'mod_addedflavour_A29_Events' , 'A29-AptStayEv-SittinRoomMasturbating'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is pleasuring herself'
end
elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Lounging':
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
*nl
'Your <<$npc_nickname[''A29'']>> is lounging on the sofa'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is lounging on the sofa'
end
end
end
end
if $ARGS[0] = 'CityAptBathroom':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
gt 'mod_addedflavour_A29_Events' , 'A29-AptStayEv-Bathing'
elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
*nl
'Your <<$npc_nickname[''A29'']>> is drying herself after a shower'
end
end
end
if $ARGS[0] = 'GrandparentsHome':
if menu_off = 0 and modVar_AF_EventOpen['A29-WorkOutEv'] = 1 and (hour >= 9 and hour < 18) and modVar_AF_EventLock['A29-WorkOutEv'] ! daystart and indorf = 1 and meadow >= 0 and sunWeather = 1 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and npc_rel['A29'] >= 50:
act 'Go for a Run with your <<$npc_nickname[''A29'']>> (0:30)' : gt 'mod_addedflavour_A29_Events' , 'A29-GadWorkoutEv-1'
end
if menu_off = 0 and modVar_AF_EventOpen['A29-WorkOutEv'] = 1 and (hour >= 9 and hour < 18) and modVar_AF_EventLock['A29-YogaEv'] ! daystart and indorf = 1 and bookYog = 1 and meadow > 0 and sunWeather = 1 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and npc_rel['A29'] >= 50:
act 'Take your Mother to the Meadow' : gt 'mod_addedflavour_A29_Events' , 'A29-YogaEv-1'
end
if menu_off = 0 and modVar_AF_EventOpen['A29-WorkOutEv'] = 1 and (hour >= 9 and hour < 18) and modVar_AF_EventLock['A29-WorkOutEv'] ! daystart and indorf = 1 and sunWeather = 1 and ($clothingworntype ! 'exercise' or $shoeworntype ! 'trainers') and npc_rel['A29'] >= 50:
*nl
'If you had some gym clothes on you could probably convince your <<$npc_nickname[''A29'']>> to work out with you'
end
!---
if pcs_sleep >= 50 and modVar_AF_EventOpen['GadCat-SleepEv'] = (daystart - 1):
if rand(1,4) = 1:
*clr & cla
modVar_AF_EventOpen['GadCat-SleepEv'] = 0
pcs_mood += 20
if $loc_arg = '' : $loc_arg = 'main'
gs 'stat'
''
*nl
'As you are waking up you find you are not alone on the bed. Curled up next to you is Boniface!'
*nl
'It''s nice to see him so comfortable with me, he''s a cute cat really...'
act 'Carry on' : gt $loc , $loc_arg
else
modVar_AF_EventOpen['GadCat-SleepEv'] = 0
end
end
if pcs_sleep < 50:
modVar_AF_EventOpen['GadCat-SleepEv'] = daystart
else
modVar_AF_EventOpen['GadCat-SleepEv'] = 0
end
end
if $ARGS[0] = 'GadukinoMeadow':
if modVar_AF_EventOpen['A29-PregRedemption'] = 1 and indorf = 1 and (hour >= 9 and hour < 18) and sunWeather = 1 and rand(1,(1 + difficulty)) = 1 and modVar_AF_EventLock['A29-PregRedemption'] ! daystart:
*nl
'You see your <<$npc_nickname[''A29'']>> here doing Yoga on her own'
end
end
if $ARGS[0] = 'GadukinoCentre':
if modVar_AF_LocBlock['GrandparentsYard'] = 1:
*nl
'You can see that your Parent''s car is parked by your Grandparent''s house'
end
end
if $ARGS[0] = 'CityMallWorkshop':
if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
if modVar_AF_SFLA_AptRProg['BaRm'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['BaRmCost']:
act 'Buy materials to upgrade Shared Apt Bathroom (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['BaRmCost'] & modVar_AF_SFLA_AptRProg['BaRm'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['Bedr1'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr1Cost']:
act 'Buy materials to upgrade Kazumi''s Bedroom (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr1Cost'] & modVar_AF_SFLA_AptRProg['Bedr1'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['Bedr2'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr2Cost']:
act 'Buy materials to upgrade Elizabeth''s Bedroom (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr2Cost'] & modVar_AF_SFLA_AptRProg['Bedr2'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['Bedr3'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr3Cost']:
act 'Buy materials to upgrade Janina''s Bedroom (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr3Cost'] & modVar_AF_SFLA_AptRProg['Bedr3'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['Bedr4'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr4Cost']:
act 'Buy materials to upgrade your Bedroom in Shared Apt (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr4Cost'] & modVar_AF_SFLA_AptRProg['Bedr4'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['Kit'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['KitCost']:
act 'Buy materials to upgrade Shared Apt Kitchen (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['KitCost'] & modVar_AF_SFLA_AptRProg['Kit'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['Sitr'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['SitrCost']:
act 'Buy materials to upgrade Shared Apt Living Room (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['SitrCost'] & modVar_AF_SFLA_AptRProg['Sitr'] += 1 & gt 'shopdacha'
end
if modVar_AF_SFLA_AptRProg['SpRm'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['SpRmCost']:
act 'Buy materials to upgrade Shared Apt Spare Room (<> ₽)' : Karta -= modVar_AF_SFLA_AptRProg['SpRmCost'] & modVar_AF_SFLA_AptRProg['SpRm'] += 1 & gt 'shopdacha'
end
end
end
if $ARGS[0] = 'CityLibrary':
if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
gs 'mod_addedflavour_charsche' , 'chkschedule'
gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'city_library'
modVar_AF_Rand = rand(1,25)
if modVar_AF_Rand = 1:
*nl
'You unwittingly overhear a conversation going on at the front desk between a Librarian and a Random Man...'
*nl
'"Hi, I don''t suppose you happen to have a book I am looking for on Living with a Small Penis?"'
'"Sorry, I don''t think it is in yet..."'
'"Yes, that''s the one!!"'
*nl
'I think it is time to leave...'
end
end
end
if $ARGS[0] = 'CityIsland':
if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
gs 'mod_addedflavour_charsche' , 'chkschedule'
gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'city_island'
end
end
if $ARGS[0] = 'CityUniversity':
if student > 0 and modVar_AF_EventProgress['SFLA-AptLive'] = 0:
*nl
'A Notice has been put up on a number of Bulletin Boards'
end
!---
if student > 0 and npc_rel['A144'] >= 50 and modVar_AF_EventProgress['SFLA-AptLive'] = 3 and (kanikuli = 7 or (kanikuli = 0 and SchoolAtestat = 1)) and modVar_AF_EventOpen['A144-UniversityEv'] = 0 and ((month >= 9 and month <= 11) or (month >= 2 and month <= 4)):
*nl
'You see Someone you recognise walking the University Grounds'
elseif student > 0 and npc_rel['A144'] >= 50 and modVar_AF_EventProgress['SFLA-AptLive'] = 3 and Storyline ! 1 and modVar_AF_EventOpen['A144-UniversityEv'] = 0 and rand(1,(12 - (5 - difficulty))) = 1 and ((month >= 9 and month <= 11) or (month >= 2 and month <= 4)):
*nl
'You see Someone you recognise walking the University Grounds'
end
!---
if modVar_AF_EventProgress['Football'] = 0:
'There is a Poster advertising Women''s Football here'
end
end
if $ARGS[0] = 'CityCentre':
if modVar_AF_EventProgress['SFLA-AptLive'] = 1 and (hour >= 8 and hour <= 20):
act 'Find the Shared Apartment' : gt 'mod_addedflavour_SFLA_Events' , 'SFLA-JoinAptEv-1'
elseif modVar_AF_EventProgress['SFLA-AptLive'] = 3:
act 'GO HOME (Student apartment)' : minut += 5 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
end
if modVar_AF_EventProgress['SFLA-AptLive'] = 3 : gs 'mod_addedflavour_charsche' , 'chkschedule'
end
if $ARGS[0] = 'CityNightClub':
if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
gs 'mod_addedflavour_charsche' , 'chkschedule'
if menu_off = 0:
act 'Go Dancing (0:15)' : gt 'mod_addedflavour_SFLA_Events' , 'dancing' , 0
end
gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'club'
end
end
if $ARGS[0] = 'CityMallPrecinct':
if hour < 21:
*p ' '
*p ''
*p ' '
*p ''
end
!---
if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
gs 'mod_addedflavour_charsche' , 'chkschedule'
if sound = 0:
gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
end
gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'torgcentr'
if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0:
act 'Shop with flatmates (0:20)' : gt 'mod_addedflavour_SFLA_Events' , 'SFLA-ShoppingEv'
end
end
end
if $ARGS[0] = 'PavlovskPark':
gs 'mod_addedflavour_KSY_Functions' , 'ParkEvents'
end
if $ARGS[0] = 'CityPark':
gs 'mod_addedflavour_KSY_Functions' , 'ParkEvents'
!---
if menu_off = 0 and $loc_arg ! 'exit' and modVar_AF_EventProgress['SFLA-AptLive'] = 3:
gs 'mod_addedflavour_charsche' , 'chkschedule'
gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'city_park'
end
end
if $ARGS[0] = 'CityPhotoAgency':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if $loc_arg = 'studio':
if modVar_AF_EventOpen['A144-UniversityEv'] = 1 : gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'foto'
end
end
if $ARGS[0] = 'CityUniversityDorms':
gs 'mod_addedflavour_charsche' , 'chkschedule'
if modVar_AF_EventOpen['A144-UniversityEv'] = 1:
if menu_off = 0 and $loc = 'dorm':
act 'Knock on Anushka''s Door' : gt 'mod_addedflavour_A144_Events' , 'A144-DormEv-X1'
elseif modVar_AF_EventOpen['A144-UniversityEv'] = 1 and hour >= 8 and hour < 22 and student = 0:
act 'I''m here to visit Anushka':
*clr & cla
if $charsche_character_CurActLoc[arrpos('$charsche_charlist',144)] = 'dorm':
'You say that you''re here to visit Anushka. The janitor checks the books and says "Oh the new girl, of course head on in"'
act 'Enter':gt 'dorm', 'korr'
else
'You say that you''re here to visit Anushka. The janitor checks the books and says "I''m sorry but she isn''t in the building at the moment"'
act 'Leave':gt 'dorm', 'start'
end
end
end
end
if modVar_AF_EventOpen['A4-IgoraInteract'] = 1:
if $charsche_character_CurActDesc[arrpos('charsche_charlist',4)] ! 'Sex' : modVar_AF_LocBlock['A4-Dorm'] = 0
if menu_off = 0 and $loc = 'dorm' and modVar_AF_LocBlock['A4-Dorm'] = 0:
act 'Knock on Igora''s Door' : gt 'mod_addedflavour_A4_Events' , 'A4-DormEv-X1'
end
elseif modVar_AF_EventOpen['A4-KnowIgor'] = 1 and hour >= 8 and hour < 22 and modVar_AF_EventLock['A4-PreConfidentEv'] ! daystart and modVar_AF_EventProgress['A4-PreConfidentEv'] < 3 and $loc = 'dorm':
modVar_AF_Rand = rand(1,500)
modVar_AF_EventLock['A4-PreConfidentEv'] = daystart
if modVar_AF_Rand >= 200:
act 'Knock on Igora''s Door' : modVar_AF_EventProgress['A4-PreConfidentEv'] += 1 & gt 'mod_addedflavour_A4_Events' , 'A4-PreConfidentEv-<>'
else
act 'Knock on Igora''s Door':
*clr & cla
minut += rand(1,3)
gs 'stat'
*nl
'Unfortunately there is no answer at the door, maybe you can try another day...'
act 'Leave' : gt 'dorm', 'korr'
end
end
end
end
if $ARGS[0] = 'PavSchool':
if Storyline = 1 and (kanikuli = 0 and SchoolAtestat = 0) and modVar_AF_BlockEvents['A130'] ! 2:
if hour = 7 and minut <= 45 and $loc = 'gschool_grounds' and $loc_arg = 'main' : gs 'mod_addedflavour_A130_Functions' , 'RegistrationEvent'
if hour = 14 and $loc = 'gschool_grounds' and $loc_arg = 'main': gs 'mod_addedflavour_A130_Functions' , 'ClubEvent'
end
!---
if modVar_AF_EventProgress['Football'] = 0 and $loc_arg = 'sports':
*nl
'There is a Poster advertising Women''s Football here'
elseif modVar_AF_EventProgress['Football'] = 1 and $loc_arg = 'sports' and (hour >= 14 and hour < 16) and week <= 5 and SchoolAtestat = 0:
*nl
'Find the Football Coach to try and Join up'
act 'Find Football Coach' : gt 'mod_addedflavour_Football' , 'Join-L2'
end
if (modVar_AF_EventProgress['Football'] = 1 or modVar_AF_EventProgress['Football'] = 2) and $loc_arg = 'sports' and (hour >= 14 and hour < 16) and week <= 5 and SchoolAtestat = 0 and ftbll_lvl <= 50 and $clothingworntype = 'exercise':
act 'Put some Football Training in' : gt 'mod_addedflavour_Football' , 'Training'
end
if modVar_AF_EventProgress['Football'] = 2 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and hour = 14:
gs 'mod_addedflavour_Football' , 'ChkMatch' , 'League 2'
if $modVar_AF_TempStr = 'Home':
act 'Prepare for your Match' : gt 'mod_addedflavour_Football' , 'MatchStart' , 'Locker'
end
end
!---
if hour = 14 and week < 6 and kanikuli = 0 and $menu_arg = 'main' and (npc_rel['A142'] >= 80 or modVar_AF_EventProgress['A142-Relationship'] >= 1) and modVar_AF_EventProgress['Football'] = 2 and modVar_AF_EventLock['A142-MeetEv'] ! daystart : 'Zinaida Alkaev is here, looking through her bag before returning home.'
end
if $ARGS[0] = 'PavResidential':
if (kanikuli = 0 and SchoolAtestat = 0) and modVar_AF_BlockEvents['A130'] ! 2 and modVar_AF_EventOpen['A130-SubmissiveSexEv'] = 1:
iif(modVar_AF_EventLock['A130-SubmissiveSexEv'] ! daystart and week <= 5 and hour = 17,'Ilya Yenotin','Ilya Yenotin') + ', one of your teachers, lives in one of the more standard houses in town.'
end
end
if $ARGS[0] = 'PavCommCentre':
if pcs_stam > 20 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and hour < 18 and volleysostav > 0:
act 'Play a Practice Volleyball Match (1:00)' : gs 'mod_addedflavour_Volleyball' , 'SetupPractice' , 'Pavlovsk Falcons A' , 'Pavlovsk Falcons B' & gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Practice' , 'Pavlovsk Falcons A' , 'Pavlovsk Falcons B' & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
else
*nl
'Volleyball Practice Matches are organised with members of the Pavlovsk Falcons Volleyball team ONLY'
end
!---
if month = 5 and volleysostav > 0:
*nl
if volsesongame >= 20 and volsesonwin > volsesonloss:
'Notice - The Pavlovsk Falcons have qualified for the Junior Cup (Bus leaves at 3pm on the First Friday of June)'
elseif volsesongame >= 20:
'Notice - The Junior Cup is in June but the Pavlovsk Falcons needs to win <> game' + iif(volsesonloss - volsesonwin = 1,'','s') + ' in order to qualify'
else
'Notice - The Junior Cup is in June but the Pavlovsk Falcons needs to play <<20 - volsesongame>> game' + iif(20 - volsesongame = 1,'','s') + ' in order to qualify'
end
elseif month = 6 and week = 5 and day <= 7:
if volsesongame >= 20 and volsesonwin > volsesonloss:
if hour < 14:
*nl
'The Bus to take your team to the Junior Cup leaves at 3pm'
elseif hour = 14 or hour = 15:
'The Bus is filling up with people to leave to the Junior Cup'
end
elseif volsesongame > 0:
'Your Team did not qualify for the Junior Cup'
end
elseif modVar_AF_EventOpen['A69-JuniorCupWinners'] = 1:
*nl
'Trophy Cabinet'
'----The St Petersburg Region Volleyball Junior Cup - 2017 Winners - "Pavlovsk Falcons"----'
end
end
if $ARGS[0] = 'PavTrainHall':
if modVar_AF_EventProgress['Football'] = 2 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and hour = 12:
gs 'mod_addedflavour_Football' , 'ChkMatch' , 'League 2'
if $modVar_AF_TempStr = 'Away' and Trainpass_day >= daystart:
act 'Travel to your Match' : gt 'mod_addedflavour_Football' , 'MatchStart' , 'Train'
elseif $modVar_AF_TempStr = 'Away' and Money >= 50:
act 'Travel to your Match (50₽)' : money -= 50 & gt 'mod_addedflavour_Football' , 'MatchStart' , 'Train'
else
*nl
'This is the time you would be travelling to your Football Match but you need 50₽ for a Train Ticket'
end
end
end
if $ARGS[0] = 'CityBarbeque':
if modVar_AF_EventTriggered['A4-DaySex'] > 0 and modVar_AF_EventLock['A4-DormSexEv'] ! daystart and week >= 6:
act 'Suggest visiting Igora' : gt 'mod_addedflavour_A4_Events' , 'A4-Threesome-1'
elseif $location_type = 'event' and LCEugenefirst = 1 and modVar_AF_EventProgress['A4-PreConfidentEv'] >= 3 and modVar_AF_EventOpen['A4-IgoraInteract'] = 0 and modVar_AF_EventLock['A4-PreConfidentEv'] ! daystart:
act 'Talk about Igora' : gt 'mod_addedflavour_A4_Events' , 'A4-PreConfidentEv-4'
end
end
if $ARGS[0] = 'PavPoliceStation':
if $menu_arg = 'station_inside':
if modVar_AF_EventProgress['HunterState'] = 1 and difficulty >= 3 and modVar_AF_EventTriggered['HunterGrabbed'] >= 1:
act 'Talk about Rapist' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 3
elseif modVar_AF_EventProgress['HunterState'] = 1:
if difficulty <= 2:
if modVar_AF_EventTriggered['HunterGrabbed'] >= 1:
act 'Talk about Rapist' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 3
else
act 'Talk about Stalker' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 1
end
else
act 'Talk about Stalker' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 2
end
end
end
end
if $ARGS[0] = 'CityIndustrial':
if $loc_arg = 'redlight' and menu_off = 0 and modVar_AF_EventProgress['A142-Relationship'] = 4 and hour >= 21:
act 'Find a Burly Bloke' : gt 'mod_addedflavour_A142_Events' , 'A142-DimkaEv-X1'
end
end
--- mod_addedflavour_LocationTriggers ---------------------------------