12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208 |
- # mod_addedflavour_Functions
- !! Code to change all the Mod Variables back to their starting states !!
- if $ARGS[0] = 'resetmodvars':
- if $ARGS[1] = 'Shared City Apartment' or $ARGS[1] = 'All':
- KILLVAR 'modVar_AF_SFLA_DayTracker'
- KILLVAR 'modVar_AF_SFLA_AptPerishables'
- KILLVAR 'modVar_AF_SFLA_AptContributions'
- KILLVAR 'modVar_AF_SFLA_AptState'
- modVar_AF_LocBlock['SFLA_Bedr1'] = 999999999
- KILLVAR 'modVar_AF_LocBlock' , arrpos('modVar_AF_LocBlock',999999999)
- modVar_AF_LocBlock['SFLA_Bedr2'] = 999999999
- KILLVAR 'modVar_AF_LocBlock' , arrpos('modVar_AF_LocBlock',999999999)
- modVar_AF_LocBlock['SFLA_Bedr3'] = 999999999
- KILLVAR 'modVar_AF_LocBlock' , arrpos('modVar_AF_LocBlock',999999999)
- KILLVAR 'modVar_AF_RelLock'
- KILLVAR 'modVar_AF_NPCGreetingDay'
- KILLVAR '$modVar_AF_NPCMessage'
- KILLVAR 'modVar_AF_SexProg'
- KILLVAR 'modVar_AF_SFLA_AptRProg'
- KILLVAR '$modArr_AF_A700_ImagesLoc'
- KILLVAR '$modArr_AF_A701_ImagesLoc'
- KILLVAR '$modArr_AF_A702_ImagesLoc'
- KILLVAR '$modArr_AF_A34_ImagesLoc'
- KILLVAR '$modArr_AF_A700_ImagesDesc'
- KILLVAR '$modArr_AF_A701_ImagesDesc'
- KILLVAR '$modArr_AF_A702_ImagesDesc'
- KILLVAR '$modArr_AF_A34_ImagesDesc'
- KILLVAR '$modArr_AF_A700_SexVideoLoc'
- KILLVAR '$modArr_AF_A701_SexVideoLoc'
- KILLVAR '$modArr_AF_A702_SexVideoLoc'
- KILLVAR '$modArr_AF_A34_SexVideoLoc'
- KILLVAR '$modArr_AF_A700_SexVideoDesc'
- KILLVAR '$modArr_AF_A701_SexVideoDesc'
- KILLVAR '$modArr_AF_A702_SexVideoDesc'
- KILLVAR '$modArr_AF_A34_SexVideoDesc'
- modVar_AF_EventOpen['SFLA-AptInvEv-PhoneCall'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['SFLA-AptInvEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventLock['SFLA-AptInvEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventProgress['SFLA-AptLive'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventLock['SFLA-ClubActive'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventOpen['SFLA-ClubActive'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- if strpos($loc,'SFLA') > 0:
- $menu_loc = 'city_center'
- $menu_arg = ''
- end
- gs 'mod_addedflavour_A700_Functions' , 'config'
- gs 'mod_addedflavour_A701_Functions' , 'config'
- gs 'mod_addedflavour_A702_Functions' , 'config'
- end
- if $ARGS[1] = 'Mother' or $ARGS[1] = 'All':
- modVar_AF_EventProgress['A29-MotherConfidence'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventProgress['A29-NightOutEv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventGates['A29-MotherConfidence-1'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A29-MotherConfidence-2'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A29-MotherConfidence-3'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A29-MotherConfidence-4'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A29-MotherConfidence-5'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A29-MotherConfidence-6'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventOpen['A29-WorkOutEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A29-NightOutEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A29-AptStayEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A29-AptStayEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A29-NightOutEv-DancePartner'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventLock['A29-WorkOutEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A29-YogaEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A29-AptStayEv-Clothed'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A29-AptStayEv-Bathed'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventOpen['A29-PregRedemption'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventProgress['A29-PregRedemption'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventTriggered['A29-AptStayEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventLock['A29-HomeFlash'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- KILLVAR '$modArr_AF_A29_NightOutConvChoices'
- KILLVAR '$modArr_AF_A29_NightOutWalkChoices'
- KILLVAR '$modArr_AF_A29_NightOutTrainChoices'
- KILLVAR '$modArr_AF_A29_NightOutMealChoices'
- gs 'mod_addedflavour_A29_Functions' , 'config'
- end
- if $ARGS[1] = 'Stepfather' or $ARGS[1] = 'All':
- KILLVAR 'modVar_AF_DeliveryJob'
- KILLVAR 'modVar_AF_DepotJobArrpos'
- KILLVAR '$modArr_AF_DeliveryVanOptions'
- KILLVAR '$modArr_AF_DeliveryVanOptionsDaily'
- KILLVAR 'modVar_AF_DeliveryVanSetup'
- KILLVAR 'modVar_AF_DeliveryVanHour'
- KILLVAR '$modArr_AF_DeliveryFootOptions'
- KILLVAR '$modArr_AF_DeliveryLocName'
- KILLVAR 'modArr_AF_DeliveryLocEarn'
- KILLVAR 'modArr_AF_DeliveryLocActive'
- modVar_AF_EventLock['A28-WorkEv-Interact'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A704-WorkEv-Interact'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A28-WorkEv-SeenWorking'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A704-WorkEv-SeenWorking'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A28-WorkEv-Caught'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- gs 'mod_addedflavour_A28_Functions' , 'config'
- end
- if $ARGS[1] = 'Grandfather' or $ARGS[1] = 'All':
- modVar_AF_EventGates['A32-BathroomSexEv-1'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A32-BathroomSexEv-2'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A32-BathroomSexEv-3'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A32-BathroomSexEv-4'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A32-BathroomSexEv-5'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A32-BathroomSexEv-6'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A32-BathroomSexEv-7'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_LocBlock['GrandparentsYard'] = 999999999
- KILLVAR 'modVar_AF_LocBlock' , arrpos('modVar_AF_LocBlock',999999999)
- modVar_AF_EventProgress['A32-BathroomSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventLock['A32-BathroomSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- gs 'mod_addedflavour_A32_Functions' , 'config'
- end
- if $ARGS[1] = 'Sister' or $ARGS[1] = 'All':
- modVar_AF_EventGates['A33-SibSexEv-1'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A33-SibSexEv-2'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A33-SibSexEv-3'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A33-SibSexEv-4'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A33-SibSexEv-5'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventLock['A33-SibSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventOpen['A33-BroSexTalk-1'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A33-BroSexTalk-2'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A33-SibSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventProgress['A33-SibThreesomeEv-SisInv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventProgress['A33-SibThreesomeEv-BroInv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- KILLVAR '$modArr_AF_A33_SibActChoices'
- gs 'mod_addedflavour_A33_Functions' , 'config'
- end
- if $ARGS[1] = 'Viola' or $ARGS[1] = 'All':
- modVar_AF_EventTriggered['A205-ShopSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventLock['A205-ShopSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- gs 'mod_addedflavour_A205_Functions' , 'config'
- end
- if $ARGS[1] = 'Timothy' or $ARGS[1] = 'All':
- modVar_AF_EventGates['A77-AptInvEv-1'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A77-AptInvEv-2'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventGates['A77-AptInvEv-3'] = 999999999
- KILLVAR 'modVar_AF_EventGates' , arrpos('modVar_AF_EventGates',999999999)
- modVar_AF_EventOpen['A77-AptInvEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A77-AptInvEv-InviteFriend'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventProgress['A77-AptInvEv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventProgress['A77-AptInvSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- $modVar_AF_EventOption['A77-AptInvEv'] = '999999999'
- KILLVAR '$modVar_AF_EventOption' , arrpos('$modVar_AF_EventOption','999999999')
- gs 'mod_addedflavour_A77_Functions' , 'config'
- end
- if $ARGS[1] = 'Kseniya' or $ARGS[1] = 'All':
- modVar_AF_EventTriggered['KSY-ParkOrgyEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventLock['KSY-ParkOrgyEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventOpen['KSY-ShopMessage-1'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- gs 'mod_addedflavour_KSY_Functions' , 'config'
- end
- if $ARGS[1] = 'Viola' or $ARGS[1] = 'All':
- modVar_AF_EventTriggered['A205-ShopSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventLock['A205-ShopSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- gs 'mod_addedflavour_A205_Functions' , 'config'
- end
- if $ARGS[1] = 'Savva' or $ARGS[1] = 'All':
- modVar_AF_EventTriggered['A204-ShopSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventLock['A204-ShopSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- gs 'mod_addedflavour_A204_Functions' , 'config'
- end
- if $ARGS[1] = 'Anushka' or $ARGS[1] = 'All':
- modVar_AF_EventOpen['A144-UniversityEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventLock['A144-DormSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventTriggered['A144-FirstMeet'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventLock['A144-FirstMeet'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- end
- if $ARGS[1] = 'Mr Yenotin' or $ARGS[1] = 'All':
- modVar_AF_EventProgress['A130-CoercionRating'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventProgress['A130-SubmissiveRating'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventProgress['A130-DominatedRating'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- $modVar_AF_EventOption['A130-Status'] = '999999999'
- KILLVAR '$modVar_AF_EventOption' , arrpos('$modVar_AF_EventOption','999999999')
- modVar_AF_EventOpen['A130-SubmissiveSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventLock['A130-TriggerEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A130-RegistrationEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A130-ClubEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A130-SubmissiveSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A130-DominatedSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A130-CoercionSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventTriggered['A130-DomSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventTriggered['A130-SubSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventTriggered['A130-CoeSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_BlockEvents['A130'] = 999999999
- KILLVAR 'modVar_AF_BlockEvents' , arrpos('modVar_AF_BlockEvents',999999999)
- gs 'mod_addedflavour_A130_Functions' , 'config'
- end
- if $ARGS[1] = 'Igor / Igora' or $ARGS[1] = 'All':
- modVar_AF_EventLock['A4-MeetEva'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A4-PreConfidentEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventLock['A4-DormSexEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventTriggered['A4-MeetEva'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventTriggered['A4-EvaSex'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventTriggered['A4-DaySex'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventTriggered['A4-Threesome'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- modVar_AF_EventOpen['A4-KnowIgor'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventOpen['A4-IgoraInteract'] = 999999999
- KILLVAR 'modVar_AF_EventOpen' , arrpos('modVar_AF_EventOpen',999999999)
- modVar_AF_EventProgress['A4-PreConfidentEv'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_LocBlock['A4-Dorm'] = 999999999
- KILLVAR 'modVar_AF_LocBlock' , arrpos('modVar_AF_LocBlock',999999999)
- end
- if $ARGS[1] = 'Zinaida' or $ARGS[1] = 'All':
- modVar_AF_EventLock['A142-MeetEv'] = 999999999
- KILLVAR 'modVar_AF_EventLock' , arrpos('modVar_AF_EventLock',999999999)
- modVar_AF_EventProgress['A142-Relationship'] = 999999999
- KILLVAR 'modVar_AF_EventProgress' , arrpos('modVar_AF_EventProgress',999999999)
- modVar_AF_EventTriggered['A142-HomeEv'] = 999999999
- KILLVAR 'modVar_AF_EventTriggered' , arrpos('modVar_AF_EventTriggered',999999999)
- end
- if $ARGS[1] = 'All':
- KILLVAR 'modVar_AF_EventOpen'
- KILLVAR 'modVar_AF_EventLock'
- KILLVAR 'modVar_AF_EventTriggered'
- KILLVAR '$modVar_AF_EventOption'
- KILLVAR 'modVar_AF_EventGates'
- KILLVAR 'modVar_AF_EventProgress'
- KILLVAR 'modVar_AF_LocBlock'
- KILLVAR 'modVar_AF_InitialConfigRun'
- KILLVAR 'modVar_AF_Inhib'
- KILLVAR '$modVar_AF_SaveVersion'
- KILLVAR '$charsche_character_ID'
- KILLVAR '$charsche_character_HomeLoc'
- KILLVAR '$charsche_character_CurActLoc'
- KILLVAR '$charsche_character_CurActDesc'
- KILLVAR 'charsche_character_CurActTime'
- KILLVAR 'charsche_character_CurActPriority'
- KILLVAR '$charsche_character_PrevActLoc'
- KILLVAR '$charsche_character_PrevActDesc'
- KILLVAR 'charsche_character_LastCheck'
- KILLVAR '$charsche_sleepcycle_Name'
- KILLVAR 'charsche_sleepcycle_ID'
- KILLVAR 'charsche_sleepcycle_StartTime'
- KILLVAR 'charsche_sleepcycle_EndTime'
- KILLVAR '$charsche_sleepcycle_Days'
- KILLVAR '$charsche_workcycle_Name'
- KILLVAR '$charsche_workcycle_Location'
- KILLVAR 'charsche_workcycle_StartTime'
- KILLVAR 'charsche_workcycle_EndTime'
- KILLVAR '$charsche_workcycle_Chars'
- KILLVAR '$charsche_workcycle_Days'
- KILLVAR '$charsche_activity_Name'
- KILLVAR '$charsche_activity_Location'
- KILLVAR '$charsche_activity_Action'
- KILLVAR 'charsche_activity_StartTime'
- KILLVAR 'charsche_activity_EndTime'
- KILLVAR 'charsche_activity_MinLen'
- KILLVAR 'charsche_activity_MaxLen'
- KILLVAR 'charsche_activity_Priority'
- KILLVAR 'charsche_activity_Active'
- KILLVAR 'charsche_activity_LocConflict'
- KILLVAR '$charsche_activity_Chars'
- KILLVAR '$charsche_activity_Days'
- gt $menu_loc, $menu_arg
- end
- end
-
- if $ARGS[0] = 'saveupdate':
- !! Forces any Save Files that are using Old Mod Version content to reset all Questlines as everything has been changed !!
- if $modVar_AF_SaveVersion = 'Ver1.0' or $modVar_AF_SaveVersion = 'Ver1.0.1' or $modVar_AF_SaveVersion = 'Ver1.1' or $modVar_AF_SaveVersion = 'Ver1.1.1' or $modVar_AF_SaveVersion = 'Ver1.2':
- karta += modVar_AF_SFLA_AptContributions['PCS']
- gt 'mod_addedflavour_Functions' , 'areyousure' , 'All'
- end
- if $modVar_AF_SaveVersion = 'Ver1.3':
- $modVar_AF_SaveVersion = 'Ver1.4'
- !! Changed how Variable works for Cat Event !!
- if modVar_AF_EventOpen['GadCat-SleepEv'] = 1 : modVar_AF_EventOpen['GadCat-SleepEv'] = daystart
- !! Changed how the Charsche works !!
- KILLVAR '$charsche_character_ID'
- KILLVAR '$charsche_character_Workplace' &! Permanently deleted
- KILLVAR '$charsche_character_HomeLoc'
- KILLVAR '$charsche_character_CurActLoc'
- KILLVAR '$charsche_character_CurActDesc'
- KILLVAR 'charsche_character_CurActTime'
- KILLVAR 'charsche_character_CurActPriority'
- KILLVAR '$charsche_character_PrevActLoc'
- KILLVAR '$charsche_character_PrevActDesc'
- KILLVAR 'charsche_character_LastCheck'
- KILLVAR 'charsche_sleepcycle_ID'
- KILLVAR 'charsche_sleepcycle_StartTime'
- KILLVAR 'charsche_sleepcycle_EndTime'
- KILLVAR '$charsche_sleepcycle_Days'
- KILLVAR 'charsche_workcycle_Char'
- KILLVAR 'charsche_workcycle_StartTime'
- KILLVAR 'charsche_workcycle_EndTime'
- KILLVAR '$charsche_workcycle_Days'
- KILLVAR '$charsche_activity_Name'
- KILLVAR '$charsche_activity_Location'
- KILLVAR '$charsche_activity_Action'
- KILLVAR 'charsche_activity_StartTime'
- KILLVAR 'charsche_activity_EndTime'
- KILLVAR 'charsche_activity_MinLen'
- KILLVAR 'charsche_activity_MaxLen'
- KILLVAR 'charsche_activity_Priority'
- KILLVAR 'charsche_activity_Active'
- KILLVAR 'charsche_activity_LocConflict'
- KILLVAR '$charsche_activity_Chars'
- KILLVAR '$charsche_activity_Days'
- gs 'mod_addedflavour_charscheconf' , 'configure'
- !! Improved Image Generation Function !!
- gs 'mod_addedflavour_Functions' , 'UpdateMediaFiles'
- !! No longer needed; changed method of image generation to match NPC Interact !!
- KILLVAR 'modVar_AF_SFLA_ActImageAmount'
- gs 'mod_addedflavour_SFLA_Functions' , 'ActivityImage-Config'
- !! Adds Savva Config !!
- gs 'mod_addedflavour_A204_Functions' , 'config'
- !! Updated SFLA Variables !!
- modVar_AF_NPCGreetingDay['A144'] = 0
- modVar_AF_RelLock['A34'] = npc_rel['A34']
- modVar_AF_RelLock['A144'] = npc_rel['A144']
- !! Created function to allow player to Message a NPC who uses Charsche so you can find out where they are !!
- $modVar_AF_NPCLastKnownLocation['A700'] = ''
- $modVar_AF_NPCLastKnownLocation['A701'] = ''
- $modVar_AF_NPCLastKnownLocation['A702'] = ''
- $modVar_AF_NPCLastKnownLocation['A144'] = ''
- $modVar_AF_NPCLastKnownLocation['A34'] = ''
- $modVar_AF_NPCLastKnownLocation['A28'] = ''
- $modVar_AF_NPCLastKnownLocation['A704'] = ''
- $modVar_AF_NPCLastKnownLocation['DayTracker'] = daystart
- end
- if $modVar_AF_SaveVersion = 'Ver1.4':
- $modVar_AF_SaveVersion = 'Ver1.4.1'
- !! Fixes faults in Activities !!
- $charsche_activity_Location[arrpos('$charsche_actlist','CityAptSittingRoom - Resting')] = 'sitr'
- charsche_activity_StartTime[arrpos('$charsche_actlist','CityAptBathroom - Bathing')] = 300
- charsche_activity_LocConflict[arrpos('$charsche_actlist','CityAptBathroom - Bathing')] = 1
- end
- if $modVar_AF_SaveVersion = 'Ver1.4.1':
- $modVar_AF_SaveVersion = 'Ver1.4.2'
- !! Fixes faults in Activities !!
- if modVar_AF_EventOpen['A29-AptStayEv'] = 0:
- gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'CityAptBathroom - Bathing' , 'Remove' , 29
- gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 29 , 'Void' , 'Idle' , 5
- end
- end
- if $modVar_AF_SaveVersion = 'Ver1.4.2':
- $modVar_AF_SaveVersion = 'Ver1.5'
- !! Adds Ilya (Teacher) Configuration !!
- if Storyline = 1 : gs 'mod_addedflavour_A130_Functions' , 'config'
- end
- if $modVar_AF_SaveVersion = 'Ver1.5':
- $modVar_AF_SaveVersion = 'Ver1.5.1'
- !! Adds new Photos to find if portfolio already setup !!
- if (arrsize('$modVar_AF_PhotoName') = 16 and Storyline ! 1) or (arrsize('$modVar_AF_PhotoName') = 18 and Storyline = 1):
- if Storyline = 1:
- $modVar_AF_TempStr = $modVar_AF_PhotoName[16]
- $modVar_AF_PhotoName[16] = 'autotraidF'
- $modVar_AF_PhotoName[] = $modVar_AF_TempStr
- $modVar_AF_TempStr = $modVar_AF_PhotoDetailsSubtle[16]
- $modVar_AF_PhotoDetailsSubtle[16] = 'Carriages of Chrome for the Privileged who roam'
- $modVar_AF_PhotoDetailsSubtle[] = $modVar_AF_TempStr
- $modVar_AF_TempStr = $modVar_AF_PhotoDetailsDetailed[16]
- $modVar_AF_PhotoDetailsDetailed[16] = 'St. Petersburg Car Dealership'
- $modVar_AF_PhotoDetailsDetailed[] = $modVar_AF_TempStr
- modVar_AF_Temp = modVar_AF_PhotoTaken[16]
- modVar_AF_PhotoTaken[16] = 0
- modVar_AF_PhotoTaken[] = modVar_AF_Temp
- modVar_AF_PhotoReveal[] = 0
- $modVar_AF_TempStr = $modVar_AF_PhotoName[17]
- $modVar_AF_PhotoName[17] = 'gadforest'
- $modVar_AF_PhotoName[] = $modVar_AF_TempStr
- $modVar_AF_TempStr = $modVar_AF_PhotoDetailsSubtle[17]
- $modVar_AF_PhotoDetailsSubtle[17] = 'Sentinels of the Old World hidden away from the Concrete Harbingers of the New'
- $modVar_AF_PhotoDetailsSubtle[] = $modVar_AF_TempStr
- $modVar_AF_TempStr = $modVar_AF_PhotoDetailsDetailed[17]
- $modVar_AF_PhotoDetailsDetailed[17] = 'Gadukino Forest'
- $modVar_AF_PhotoDetailsDetailed[] = $modVar_AF_TempStr
- modVar_AF_Temp = modVar_AF_PhotoTaken[17]
- modVar_AF_PhotoTaken[17] = 0
- modVar_AF_PhotoTaken[] = modVar_AF_Temp
- modVar_AF_PhotoReveal[] = 0
- else
- $modVar_AF_PhotoName[] = 'autotraidF'
- $modVar_AF_PhotoDetailsSubtle[] = 'Carriages of Chrome for the Privileged who roam'
- $modVar_AF_PhotoDetailsDetailed[] = 'St. Petersburg Car Dealership'
- modVar_AF_PhotoTaken[] = 0
- modVar_AF_PhotoReveal[] = 0
- $modVar_AF_PhotoName[] = 'gadforest'
- $modVar_AF_PhotoDetailsSubtle[] = 'Sentinels of the Old World hidden away from the Concrete Harbingers of the New'
- $modVar_AF_PhotoDetailsDetailed[] = 'Gadukino Forest'
- modVar_AF_PhotoTaken[] = 0
- modVar_AF_PhotoReveal[] = 0
- end
- end
- !! Found Serious Fault with Add Sleep Function in Character Scheduler - This forces a redo !!
- KILLVAR '$charsche_sleeplist'
- KILLVAR '$charsche_sleepcycle_Name'
- KILLVAR 'charsche_sleepcycle_ID'
- KILLVAR 'charsche_sleepcycle_StartTime'
- KILLVAR 'charsche_sleepcycle_EndTime'
- $charsche_Name = 'A34_Weekdays'
- charsche_ID = 34
- charsche_StartTime = 1380
- charsche_EndTime = 390
- $charsche_Days = '1234'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A34_Weekends'
- charsche_ID = 34
- charsche_StartTime = 30
- charsche_EndTime = 480
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A700_Weekdays'
- charsche_ID = 700
- charsche_StartTime = 1350
- charsche_EndTime = 330
- $charsche_Days = '1234'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A700_Weekends'
- charsche_ID = 700
- charsche_StartTime = 1410
- charsche_EndTime = 430
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A701_Weekdays'
- charsche_ID = 701
- charsche_StartTime = 1380
- charsche_EndTime = 360
- $charsche_Days = '1234'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A701_Weekends'
- charsche_ID = 701
- charsche_StartTime = 20
- charsche_EndTime = 465
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A702_Weekdays'
- charsche_ID = 702
- charsche_StartTime = 1410
- charsche_EndTime = 345
- $charsche_Days = '1234'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A702_Weekends'
- charsche_ID = 702
- charsche_StartTime = 35
- charsche_EndTime = 500
- $charsche_Days = '567'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- end
- if $modVar_AF_SaveVersion = 'Ver1.5.1':
- $modVar_AF_SaveVersion = 'Ver1.5.2'
- !! Had a photo that shouldnt be available for Non-Schoolgirls Starts, this removes it or moves it to the end of the list !!
- if arrsize('$modVar_AF_PhotoName') > 0 and Storyline ! 1:
- modVar_AF_Temp = arrpos('$modVar_AF_PhotoName','gschool_grounds')
- KILLVAR '$modVar_AF_PhotoName' , modVar_AF_Temp
- KILLVAR '$modVar_AF_PhotoDetailsSubtle' , modVar_AF_Temp
- KILLVAR '$modVar_AF_PhotoDetailsDetailed' , modVar_AF_Temp
- KILLVAR 'modVar_AF_PhotoTaken' , modVar_AF_Temp
- KILLVAR 'modVar_AF_PhotoReveal' , modVar_AF_Temp
- elseif arrsize('$modVar_AF_PhotoName') > 0 and Storyline = 1:
- modVar_AF_Temp = arrpos('$modVar_AF_PhotoName','gschool_grounds')
- $modVar_AF_TempStr = $modVar_AF_PhotoName[modVar_AF_Temp]
- KILLVAR '$modVar_AF_PhotoName' , modVar_AF_Temp
- $modVar_AF_PhotoName[] = $modVar_AF_TempStr
- $modVar_AF_TempStr = $modVar_AF_PhotoDetailsSubtle[modVar_AF_Temp]
- KILLVAR '$modVar_AF_PhotoDetailsSubtle' , modVar_AF_Temp
- $modVar_AF_PhotoDetailsSubtle[] = $modVar_AF_TempStr
- $modVar_AF_TempStr = $modVar_AF_PhotoDetailsDetailed[modVar_AF_Temp]
- KILLVAR '$modVar_AF_PhotoDetailsDetailed' , modVar_AF_Temp
- $modVar_AF_PhotoDetailsDetailed[] = $modVar_AF_TempStr
- modVar_AF_Temp2 = modVar_AF_PhotoTaken[modVar_AF_Temp]
- KILLVAR 'modVar_AF_PhotoTaken' , modVar_AF_Temp
- modVar_AF_PhotoTaken[] = modVar_AF_Temp2
- modVar_AF_Temp2 = modVar_AF_PhotoReveal[modVar_AF_Temp]
- KILLVAR 'modVar_AF_PhotoReveal' , modVar_AF_Temp
- modVar_AF_PhotoReveal[] = modVar_AF_Temp2
- end
- end
- if $modVar_AF_SaveVersion = 'Ver1.5.2':
- $modVar_AF_SaveVersion = 'Ver1.5.3'
- !! No Changes required; the update just fixes the Dolls name change !!
- end
- if $modVar_AF_SaveVersion = 'Ver1.5.3':
- $modVar_AF_SaveVersion = 'Ver1.5.4'
- !! No Changes required; the update just fixes the Clothing Mother Detection !!
- end
- if $modVar_AF_SaveVersion = 'Ver1.5.4':
- $modVar_AF_SaveVersion = 'Ver1.6'
- !! Forces an update of Media Files to apply fix !!
- gs 'mod_addedflavour_Functions' , 'UpdateMediaFiles'
- !! Realised that Anushkas fixed sleep cycles didnt get added when fixed before !!
- if modVar_AF_EventOpen['A144-UniversityEv'] = 1:
- $charsche_Name = 'A144_Weekdays'
- charsche_ID = 144
- charsche_StartTime = 1350
- charsche_EndTime = 405
- $charsche_Days = '12347'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- $charsche_Name = 'A144_Weekends'
- charsche_ID = 144
- charsche_StartTime = 1425
- charsche_EndTime = 435
- $charsche_Days = '56'
- gs 'mod_addedflavour_charsche' , 'addsleep'
- end
- !! Adjusts Kazumis Wake Time !!
- charsche_sleepcycle_EndTime[arrpos('$charsche_sleeplist','A700_Weekdays')] = 420
- !! Fixes Sleep Cycles to see Sunday as a Weekday !!
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A34_Weekdays')] = '12347'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A700_Weekdays')] = '12347'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A701_Weekdays')] = '12347'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A702_Weekdays')] = '12347'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A34_Weekends')] = '56'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A700_Weekends')] = '56'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A701_Weekends')] = '56'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A702_Weekends')] = '56'
- !! Friday Afternoon University Slot errornously given to Janina instead of Kazumi - Fix !!
- $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Friday Late')] = 'A144XA700XA701X'
- !! Replaced Errorloc Variable !!
- KILLVAR '$charsche_errorloc'
- !! Made League Vars relevant to Volleyball so Football can have similar !!
- if arrsize('$modArr_AF_LeagueA_TeamName') > 0 : copyarr '$modArr_AF_VLeagueA_TeamName' , '$modArr_AF_LeagueA_TeamName' & KILLVAR '$modArr_AF_LeagueA_TeamName'
- if arrsize('modArr_AF_LeagueA_Wins') > 0 : copyarr 'modArr_AF_VLeagueA_Wins' , 'modArr_AF_LeagueA_Wins' & KILLVAR 'modArr_AF_LeagueA_Wins'
- if arrsize('modArr_AF_LeagueA_PointsFor') > 0 : copyarr 'modArr_AF_VLeagueA_PointsFor' , 'modArr_AF_LeagueA_PointsFor' & KILLVAR 'modArr_AF_LeagueA_PointsFor'
- if arrsize('modArr_AF_LeagueA_PointsAgainst') > 0 : copyarr 'modArr_AF_VLeagueA_PointsAgainst' , 'modArr_AF_LeagueA_PointsAgainst' & KILLVAR 'modArr_AF_LeagueA_PointsAgainst'
- if arrsize('$modArr_AF_LeagueA_Games') > 0 : copyarr '$modArr_AF_VLeagueA_Games' , '$modArr_AF_LeagueA_Games' & KILLVAR '$modArr_AF_LeagueA_Games'
- if arrsize('$modArr_AF_LeagueB_TeamName') > 0 : copyarr '$modArr_AF_VLeagueB_TeamName' , '$modArr_AF_LeagueB_TeamName' & KILLVAR '$modArr_AF_LeagueB_TeamName'
- if arrsize('modArr_AF_LeagueB_Wins') > 0 : copyarr 'modArr_AF_VLeagueB_Wins' , 'modArr_AF_LeagueB_Wins' & KILLVAR 'modArr_AF_LeagueB_Wins'
- if arrsize('modArr_AF_LeagueB_PointsFor') > 0 : copyarr 'modArr_AF_VLeagueB_PointsFor' , 'modArr_AF_LeagueB_PointsFor' & KILLVAR 'modArr_AF_LeagueB_PointsFor'
- if arrsize('modArr_AF_LeagueB_PointsAgainst') > 0 : copyarr 'modArr_AF_VLeagueB_PointsAgainst' , 'modArr_AF_LeagueB_PointsAgainst' & KILLVAR 'modArr_AF_LeagueB_PointsAgainst'
- if arrsize('$modArr_AF_LeagueB_Games') > 0 : copyarr '$modArr_AF_VLeagueB_Games' , '$modArr_AF_LeagueB_Games' & KILLVAR '$modArr_AF_LeagueB_Games'
- !! Removes large array as it is only used when setting up the tournament !!
- if arrsize('$modArr_AF_FNamePool') > 0 : KILLVAR '$modArr_AF_FNamePool'
- if arrsize('$modArr_AF_LNamePool') > 0 : KILLVAR '$modArr_AF_LNamePool'
- !! Alters Rent for Shared Apartment !!
- if modVar_AF_SFLA_AptState['Rent'] > 0 : modVar_AF_SFLA_AptState['Rent'] = 1000 * difficulty
- !! Sets Night Club Activity to be available on Sundays as well as bring it forward !!
- $charsche_activity_Days[arrpos('$charsche_actlist','cityNightClub - Partying')] = '567'
- charsche_activity_StartTime[arrpos('$charsche_actlist','cityNightClub - Partying')] = 1080
- !! Although Variables arent used yet, they are wrong so replaced them !!
- modVar_AF_SexProg['A34XA700'] = modVar_AF_SexProg['A700XA34']
- modVar_AF_SexProg['A34XA701'] = modVar_AF_SexProg['A701XA34']
- modVar_AF_SexProg['A34XA702'] = modVar_AF_SexProg['A702XA34']
- modVar_AF_SexProg['A700XA34'] = 999999999
- KILLVAR 'modVar_AF_SexProg' , arrpos('modVar_AF_SexProg',999999999)
- modVar_AF_SexProg['A701XA34'] = 999999999
- KILLVAR 'modVar_AF_SexProg' , arrpos('modVar_AF_SexProg',999999999)
- modVar_AF_SexProg['A702XA34'] = 999999999
- KILLVAR 'modVar_AF_SexProg' , arrpos('modVar_AF_SexProg',999999999)
- !! Anushka University Time Table might not be correct - wasnt for my save - this corrects it !!
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Monday Early')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Monday Early')] += 'A144X'
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Monday Late')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Monday Late')] += 'A144X'
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Tuesday Late')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Tuesday Late')] += 'A144X'
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Wednesday Early')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Wednesday Early')] += 'A144X'
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Thursday Early')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Thursday Early')] += 'A144X'
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Friday Early')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Friday Early')] += 'A144X'
- if strpos($charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Friday Late')],'A144X') <= 0 : $charsche_workcycle_Chars[arrpos('$charsche_worklist','CityUniversity - Student - Friday Late')] += 'A144X'
- !! Anushka Sleep Cycles were the wrong way round !!
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A144_Weekdays')] = '12347'
- $charsche_sleepcycle_Days[arrpos('$charsche_sleeplist','A144_Weekends')] = '56'
- !! Found these werent on my Save, might be same for others !!
- $charsche_Name = 'CityPatchworkDolls - PartTimeWork'
- $charsche_Location = 'dolls'
- $charsche_Action = 'Working'
- charsche_StartTime = 480
- charsche_EndTime = 1320
- charsche_MinLen = 30
- charsche_MaxLen = 60
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A144X'
- $charsche_Days = '1234567'
- gs 'mod_addedflavour_charsche' , 'addact'
- $charsche_Name = 'Aphrodite - Modelling'
- $charsche_Location = 'foto'
- $charsche_Action = 'Modelling'
- charsche_StartTime = 540
- charsche_EndTime = 1080
- charsche_MinLen = 60
- charsche_MaxLen = 120
- charsche_Priority = 2
- charsche_Active = 1
- charsche_LocConflict = 0
- $charsche_Chars = 'A144X'
- $charsche_Days = '1234567'
- gs 'mod_addedflavour_charsche' , 'addact'
- !! Makes a Mandatory Work Event for Anushka at Patchwork Dolls !!
- if modVar_AF_EventOpen['A144-UniversityEv'] = 1:
- $charsche_Name = 'CityPatchworkDolls - PartTimeWork'
- $charsche_Location = 'dolls'
- charsche_StartTime = 720
- charsche_EndTime = 1080
- $charsche_Chars = 'A144X'
- $charsche_Days = '67'
- gs 'mod_addedflavour_charsche' , 'addwork'
- end
- end
- if $modVar_AF_SaveVersion = 'Ver1.6':
- $modVar_AF_SaveVersion = 'Ver1.6.1'
- !! Lowers Apartment Rent !!
- modVar_AF_SFLA_AptState['Rent'] = 500 * difficulty
- end
- if $modVar_AF_SaveVersion = 'Ver1.6.1':
- $modVar_AF_SaveVersion = 'Ver1.6.2'
- !! Runs Zinaidas config !!
- gs 'mod_addedflavour_A142_Functions' , 'config'
- end
- end
-
- !! Code provides a clarification before erasing Mod variables !!
- if $ARGS[0] = 'areyousure':
- *clr & cla
- $modVar_AF_TempStr = $ARGS[1]
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/stop.jpg"></center>'
- *nl
- '<center>Are you sure you want to remove all variables and progress regarding <<$modVar_AF_TempStr>> Mod Content?</center>'
- *nl
- '<center><a href="exec: gs ''mod_addedflavour_Functions'', ''resetmodvars'' , $modVar_AF_TempStr & gt ''mod_addedflavour_options'' ">Yes</a> or <a href="exec: gt ''mod_addedflavour_options'' ">No</a>'
- end
-
- if $ARGS[0] = 'textsubcom':
- if $ARGS[1] = 'prep':
- KILLVAR '$modVar_AF_Txt1'
- KILLVAR '$modVar_AF_Txt2'
- KILLVAR '$modVar_AF_Txt3'
- KILLVAR '$modVar_AF_Txt4'
- $modVar_AF_Txt1 = 'No Event Name Recorded'
- $modVar_AF_Txt2 = 'No ID Used'
- $modVar_AF_Txt3 = 'No Existing Text submitted'
- $modVar_AF_Txt4 = 'No Alternative Text submitted'
- end
- if $ARGS[1] = 'txt1':
- $modVar_AF_Txt1 = input("NPC Event (Name or Description of Event you are wishing to change)")
- end
- if $ARGS[1] = 'txt2':
- $modVar_AF_Txt2 = input("Linear Tracer ID (Just in case you are writing multiple suggestion but need an ID to indicate they are all part of the same theme)")
- end
- if $ARGS[1] = 'txt3':
- $modVar_AF_Txt3 = input("Existing Text (Copy and Paste Existing Text you have alternative writing for)")
- end
- if $ARGS[1] = 'txt4':
- $modVar_AF_Txt4 = input("Alternative Text (Your alternative text that would replace what you have included as Existing Test)")
- end
- end
-
- if $ARGS[0] = 'textsub':
- *clr & cla
- *nl
- '<center><b>Text Submission</b></center>'
- *nl
- '<a href="exec: gs ''mod_addedflavour_Functions'' , ''textsubcom'' , ''txt1'' & gt ''mod_addedflavour_Functions'' , ''textsub'' ">NPC Event</a>: [<<$modVar_AF_Txt1>>]'
- *nl
- '<a href="exec: gs ''mod_addedflavour_Functions'' , ''textsubcom'' , ''txt2'' & gt ''mod_addedflavour_Functions'' , ''textsub'' ">Linear Tracer</a>: [<<$modVar_AF_Txt2>>]'
- *nl
- '<a href="exec: gs ''mod_addedflavour_Functions'' , ''textsubcom'' , ''txt3'' & gt ''mod_addedflavour_Functions'' , ''textsub'' ">Existing Text</a>: [<<$modVar_AF_Txt3>>]'
- *nl
- '<a href="exec: gs ''mod_addedflavour_Functions'' , ''textsubcom'' , ''txt4'' & gt ''mod_addedflavour_Functions'' , ''textsub'' ">Alternative Text</a>: [<<$modVar_AF_Txt4>>]'
- *nl
- 'In the above format you can suggest a re-write of any existing text that is part of the Mod Content and submit on the forums. There is no guarantee that it will be taken on board but if it is good and/or popular they''ll probably be no harm in using it. You''ll be aware that some events have text only visible under certain conditions but that''ll be taken into account, just make sure the existing text is exactly what you would like replaced.'
- *nl
- 'Once filled out all you will need to do is copy and paste it directly from QSP.'
- act 'Return to Mod Options' : gt 'mod_addedflavour_options'
- end
-
- if $ARGS[0] = 'ErrorReportInput':
- if $ARGS[1] = 'prep':
- KILLVAR '$modVar_AF_Txt1'
- KILLVAR '$modVar_AF_Txt2'
- $modVar_AF_Txt1 = 'A Description of the Problem'
- $modVar_AF_Txt2 = 'The QSP Player being used'
- end
- if $ARGS[1] = 'txt1':
- $modVar_AF_Txt1 = input("Type out a Description of the Problem in as much Detail as you feel is relevant")
- end
- if $ARGS[1] = 'txt2':
- $modVar_AF_Txt2 = input("Type out the QSP Application you are using")
- end
- end
-
- if $ARGS[0] = 'ErrorReport':
- *clr & cla
- *nl
- '<center><b>Error Submission</b></center>'
- *nl
- 'Main Game Version: <<$version>>'
- *nl
- 'Modification Code Version: <<$modVar_AF_ModVersion>>'
- *nl
- 'Modification Save Version: <<$modVar_AF_SaveVersion>>'
- *nl
- '<a href="exec: gs ''mod_addedflavour_Functions'' , ''ErrorReportInput'' , ''txt2'' & gt ''mod_addedflavour_Functions'' , ''ErrorReport'' ">QSP Player in use</a>: [<<$modVar_AF_Txt2>>]'
- *nl
- '<a href="exec: gs ''mod_addedflavour_Functions'' , ''ErrorReportInput'' , ''txt1'' & gt ''mod_addedflavour_Functions'' , ''ErrorReport'' ">Description of Error</a>: [<<$modVar_AF_Txt1>>]'
- *nl
- 'Variable String : #Bug <<day>>#<<month>>#<<week>>#<<year>>#<<$loc>>#<<$loc_arg>>#<<$modVar_AF_CurLoc>>#<<modVar_AF_Rand>>#<<modVar_AF_Temp>>#<<modVar_AF_Temp2>>#<<$modVar_AF_TempStr>>'
- *nl
- 'Once filled out all you will need to do is copy and paste it directly from QSP into the Forum Thread.'
- act 'Return to Mod Options' : gt 'mod_addedflavour_options'
- end
-
- !! Function for Horny and Inhib Actions !!
- !! Expected Procedure Call - gs 'mod_addedflavour_Functions' , 'pcs_reticence' , [Action] , [ActionVar] !!
- if $ARGS[0] = 'pcs_reticence':
- modVar_AF_Inhib['Result'] = 0
- if $ARGS[1] = 'chkpossible':
- if ARGS[2] = 3:
- if pcs_inhib >= modVar_AF_Inhib['lv3']:
- modVar_AF_Inhib['Result'] = 1
- elseif pcs_horny >= 50 and pcs_inhib >= modVar_AF_Inhib['lv2']:
- modVar_AF_Inhib['Result'] = 1
- elseif pcs_horny >= 90 and pcs_inhib >= modVar_AF_Inhib['lv1']:
- modVar_AF_Inhib['Result'] = 1
- else
- modVar_AF_Inhib['Result'] = 0
- end
- elseif ARGS[2] = 2:
- if pcs_inhib >= modVar_AF_Inhib['lv2']:
- modVar_AF_Inhib['Result'] = 1
- elseif pcs_horny >= 50 and pcs_inhib >= modVar_AF_Inhib['lv1']:
- modVar_AF_Inhib['Result'] = 1
- elseif pcs_horny >= 90:
- modVar_AF_Inhib['Result'] = 1
- else
- modVar_AF_Inhib['Result'] = 0
- end
- elseif ARGS[2] = 1:
- if pcs_inhib >= modVar_AF_Inhib['lv1']:
- modVar_AF_Inhib['Result'] = 1
- elseif pcs_horny >= 50:
- modVar_AF_Inhib['Result'] = 1
- else
- modVar_AF_Inhib['Result'] = 0
- end
- elseif ARGS[2] = 0:
- if pcs_inhib >= modVar_AF_Inhib['lv3']:
- modVar_AF_Inhib['Result'] = 3
- elseif pcs_horny >= 50 and pcs_inhib >= modVar_AF_Inhib['lv2']:
- modVar_AF_Inhib['Result'] = 3
- elseif pcs_horny >= 90 and pcs_inhib >= modVar_AF_Inhib['lv1']:
- modVar_AF_Inhib['Result'] = 3
- elseif pcs_inhib >= modVar_AF_Inhib['lv2']:
- modVar_AF_Inhib['Result'] = 2
- elseif pcs_horny >= 50 and pcs_inhib >= modVar_AF_Inhib['lv1']:
- modVar_AF_Inhib['Result'] = 2
- elseif pcs_horny >= 90:
- modVar_AF_Inhib['Result'] = 2
- elseif pcs_inhib >= modVar_AF_Inhib['lv1']:
- modVar_AF_Inhib['Result'] = 1
- elseif pcs_horny >= 50:
- modVar_AF_Inhib['Result'] = 1
- else
- modVar_AF_Inhib['Result'] = 0
- end
- end
- end
- if $ARGS[1] = 'Player_ShowBody':
- modVar_AF_HornGain = 10
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- CLOSE ALL
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv1'] : inhib_exp += rand(2,4)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_Voyeur':
- modVar_AF_HornGain = 15
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- CLOSE ALL
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv1'] : inhib_exp += rand(2,4)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_Touch_Recv':
- modVar_AF_HornGain = 50
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FSMoan1' , 'FSMoan2' , 'FSMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_Touch_Give':
- modVar_AF_HornGain = 20
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- CLOSE ALL
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_Kiss':
- modVar_AF_HornGain = 60
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'Kiss1' , 'Kiss2' , 'Kiss3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_TitPlay_Recv':
- modVar_AF_HornGain = 60
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FSMoan1' , 'FSMoan2' , 'FSMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_TitPlay_Give':
- modVar_AF_HornGain = 25
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FSMoan1' , 'FSMoan2' , 'FSMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_VagPlay_Recv':
- modVar_AF_HornGain = 80
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FMoan1' , 'FMoan2' , 'FMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_VagPlay_Give':
- modVar_AF_HornGain = 30
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FMoan1' , 'FMoan2' , 'FMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_HandJob_Give':
- modVar_AF_HornGain = 30
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'HJ1' , 'HJ1' , 'HJ1'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv2'] : inhib_exp += rand(3,8)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_Oral_Recv':
- modVar_AF_HornGain = 90
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FMoan1' , 'FMoan2' , 'FMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv3'] : inhib_exp += rand(4,12)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_Cuni_Give':
- modVar_AF_HornGain = 35
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'FMoan1' , 'FMoan2' , 'FMoan3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv3'] : inhib_exp += rand(4,12)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_BlowJob_Give':
- modVar_AF_HornGain = 40
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'BJ1' , 'BJ2' , 'BJ3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv3'] : inhib_exp += rand(4,12)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_VagSex':
- modVar_AF_HornGain = 100
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'Sex1' , 'Sex2' , 'Sex3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv3'] : inhib_exp += rand(4,12)
- minut += rand(2,8)
- elseif $ARGS[1] = 'Player_AnalSex':
- modVar_AF_HornGain = 80
- gs 'mod_addedflavour_Functions' , 'horngaincalc'
- gs 'mod_addedflavour_Functions' , 'sexsoundgen' , 'Sex1' , 'Sex2' , 'Sex3'
- pcs_horny += modVar_AF_HornGain
- if pcs_Inhib < modVar_AF_Inhib['lv3'] : inhib_exp += rand(4,12)
- minut += rand(2,8)
- end
- end
-
- if $ARGS[0] = 'horngaincalc':
- modVar_AF_RandLower = (modVar_AF_HornGain - pcs_horny) - ((100 - pcs_inhib) / 2)
- if modVar_AF_RandLower < 1 : modVar_AF_RandLower = 1
- modVar_AF_RandUpper = modVar_AF_RandLower + ((100 - pcs_horny) - (100 - pcs_inhib))
- if modVar_AF_RandUpper <= modVar_AF_RandLower : modVar_AF_RandUpper = modVar_AF_RandLower + 1
- modVar_AF_HornGain = rand(modVar_AF_RandLower,modVar_AF_RandUpper)
- end
-
- if $ARGS[0] = 'sexsoundgen':
- if sound ! 1 and modVar_AF_SexSounds ! 1:
- CLOSE ALL
- modVar_AF_Rand = rand(1,3)
- $mod_addedflavour_TempStr = $ARGS[modVar_AF_Rand]
- PLAY 'mod/addedflavour/sound/<<$mod_addedflavour_TempStr>>.mp3' , 50
- end
- end
-
- if $ARGS[0] = 'npchorncalc':
- if $ARGS[1] = 'Gain':
- npc_horny['A<<ARGS[2]>>'] += ARGS[3]
- if npc_horny['A<<ARGS[2]>>'] > 100 : npc_horny['A<<ARGS[2]>>'] = 100
- elseif $ARGS[1] = 'Loss':
- npc_horny['A<<ARGS[2]>>'] -= ARGS[3]
- if npc_horny['A<<ARGS[2]>>'] < 0 : npc_horny['A<<ARGS[2]>>'] = 0
- end
- end
-
- if $ARGS[0] = 'MediaTest':
- *clr & cla
- if $ARGS[1] = 'Video':
- if $ARGS[2] = '':
- if modVar_AF_QSPVer = 1:
- $modVar_AF_TempStr = '.mp4'
- else
- $modVar_AF_TempStr = '.webm'
- end
- else
- $modVar_AF_TempStr = $ARGS[2]
- end
- '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/system/TestVideo<<$modVar_AF_TempStr>>"></video></center>'
- $modVar_AF_TempStr = 'The Above Window should be displaying a Video in the <<$modVar_AF_TempStr>> format with the Set Size Restrictions (Size Restrictions available for Sonnix QSP Player Only). If it does not display then either the version of files it is looking for are not in the Mod Folder or a different QSP Player is required.'
- elseif $ARGS[1] = 'Image':
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/TestImage.webp"></center>'
- $modVar_AF_TempStr = 'The Above Window should be displaying a Image with the Set Size Restrictions (Sonnix QSP Player Only).'
- end
- '<<$modVar_AF_TempStr>>'
- act 'Return' : gt 'mod_addedflavour_options'
- end
-
- if $ARGS[0] = 'MediaSizeChange':
- if $ARGS[1] = 'Setup':
- modVar_AF_ImageHeight = 60
- modVar_AF_VideoHeight = 70
- if $ARGS[2] = 'Image' or $ARGS[2] = '' : $modVar_AF_ImageRestrictions = 'max-width:95vh;max-height:<<modVar_AF_ImageHeight>>vh;'
- if $ARGS[2] = 'Video' or $ARGS[2] = '' : $modVar_AF_VideoRestrictions = 'max-width:100vh;max-height:<<modVar_AF_VideoHeight>>vh;'
- elseif $ARGS[1] = 'Image':
- if $ARGS[2] = 'Increase':
- modVar_AF_ImageHeight += 10
- if modVar_AF_ImageHeight > 100 : modVar_AF_ImageHeight = 100
- $modVar_AF_ImageRestrictions = 'max-width:95vh;max-height:<<modVar_AF_ImageHeight>>vh;'
- elseif $ARGS[2] = 'Decrease':
- modVar_AF_ImageHeight -= 10
- if modVar_AF_ImageHeight < 20 : modVar_AF_ImageHeight = 20
- $modVar_AF_ImageRestrictions = 'max-width:95vh;max-height:<<modVar_AF_ImageHeight>>vh;'
- end
- elseif $ARGS[1] = 'Video':
- if $ARGS[2] = 'Increase':
- modVar_AF_VideoHeight += 10
- if modVar_AF_VideoHeight > 100 : modVar_AF_VideoHeight = 100
- $modVar_AF_VideoRestrictions = 'max-width:95vh;max-height:<<modVar_AF_VideoHeight>>vh;'
- elseif $ARGS[2] = 'Decrease':
- modVar_AF_VideoHeight -= 10
- if modVar_AF_VideoHeight < 20 : modVar_AF_VideoHeight = 20
- $modVar_AF_VideoRestrictions = 'max-width:95vh;max-height:<<modVar_AF_VideoHeight>>vh;'
- end
- end
- end
-
- if $ARGS[0] = 'InitialConfig':
- modVar_AF_InitialConfigRun = 1
- modVar_AF_Inhib['lv1'] = 30
- modVar_AF_Inhib['lv2'] = 50
- modVar_AF_Inhib['lv3'] = 80
- $modVar_AF_NPCLastKnownLocation['DayTracker'] = daystart
- $modVar_AF_ImageRestrictions = 'max-width:95vh;max-height:60vh;'
- $modVar_AF_VideoRestrictions = 'max-width:100vh;max-height:70vh;'
- if Storyline = 1:
- gs 'mod_addedflavour_A28_Functions' , 'config'
- gs 'mod_addedflavour_A29_Functions' , 'config'
- gs 'mod_addedflavour_A32_Functions' , 'config'
- gs 'mod_addedflavour_A33_Functions' , 'config'
- gs 'mod_addedflavour_A34_Functions' , 'config'
- gs 'mod_addedflavour_A130_Functions' , 'config'
- gs 'mod_addedflavour_A704_Functions' , 'config'
- end
- gs 'mod_addedflavour_A77_Functions' , 'config'
- gs 'mod_addedflavour_A142_Functions' , 'config'
- gs 'mod_addedflavour_A204_Functions' , 'config'
- gs 'mod_addedflavour_A205_Functions' , 'config'
- gs 'mod_addedflavour_A700_Functions' , 'config'
- gs 'mod_addedflavour_A701_Functions' , 'config'
- gs 'mod_addedflavour_A702_Functions' , 'config'
- gs 'mod_addedflavour_KSY_Functions' , 'config'
- gs 'mod_addedflavour_charscheconf' , 'configure'
- end
-
- if $ARGS[0] = 'UpdateMediaFiles':
- if arrsize('$modArr_AF_A700_ImagesLoc') > 0 : gs 'mod_addedflavour_A700_Functions' , 'A700-FileRepository-Config' , 'Images'
- if arrsize('$modArr_AF_A700_SexVideoLoc') > 0 : gs 'mod_addedflavour_A700_Functions' , 'A700-FileRepository-Config' , 'Videos'
- if arrsize('$modArr_AF_A701_ImagesLoc') > 0 : gs 'mod_addedflavour_A701_Functions' , 'A701-FileRepository-Config' , 'Images'
- if arrsize('$modArr_AF_A701_SexVideoLoc') > 0 : gs 'mod_addedflavour_A701_Functions' , 'A701-FileRepository-Config' , 'Videos'
- if arrsize('$modArr_AF_A702_ImagesLoc') > 0 : gs 'mod_addedflavour_A702_Functions' , 'A702-FileRepository-Config' , 'Images'
- if arrsize('$modArr_AF_A702_SexVideoLoc') > 0 : gs 'mod_addedflavour_A702_Functions' , 'A702-FileRepository-Config' , 'Videos'
- if arrsize('$modArr_AF_A34_ImagesLoc') > 0 : gs 'mod_addedflavour_A34_Functions' , 'A34-FileRepository-Config' , 'Images'
- if arrsize('$modArr_AF_A34_SexVideoLoc') > 0 : gs 'mod_addedflavour_A34_Functions' , 'A34-FileRepository-Config' , 'Videos'
- if arrsize('$modArr_AF_A144_ImagesLoc') > 0 : gs 'mod_addedflavour_A144_Functions' , 'A144-FileRepository-Config' , 'Images'
- if arrsize('$modArr_AF_A4_ImagesLoc') > 0 : gs 'mod_addedflavour_A4_Functions' , 'A4-FileRepository-Config' , 'Images'
- if arrsize('$modArr_AF_Activity_ImagesLoc') > 0 : gs 'mod_addedflavour_SFLA_Functions' , 'ActivityImage-Config'
- end
-
- if $ARGS[0] = 'takephotograph':
- *clr & cla
- CLOSE ALL
- minut += rand(1,3)
- $modVar_AF_TempStr = $ARGS[1]
- modVar_AF_Temp = arrpos('$modVar_AF_PhotoName',$modVar_AF_TempStr)
- modVar_AF_PhotoTaken[modVar_AF_Temp] = 1
- if sound ! 1 : PLAY 'mod/addedflavour/sound/Camera.mp3' , 50
- gs 'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/mall/photoshop/Pictures/<<$modVar_AF_TempStr>>.jpg"></center>'
- *nl
- '<center>You take the photograph; "<<$modVar_AF_PhotoDetailsSubtle[modVar_AF_Temp]>>" and add it to your portfolio.</center>'
- act 'Return' : gt $loc, $loc_arg
- end
-
- if $ARGS[0] = 'addtosgt':
- addtosgtloopcount = 0
- :addtosgtloopstart
- if addtosgtloopcount >= arrsize('$modArr_AF_SUTItemName') : jump 'addtosgtloopend'
- if $modArr_AF_SUTItemName[addtosgtloopcount] ! '':
- addtosgtloopcount += 1
- jump 'addtosgtloopstart'
- end
- if modArr_AF_SUTItemCost[addtosgtloopcount] ! 0:
- addtosgtloopcount += 1
- jump 'addtosgtloopstart'
- end
- :addtosgtloopend
- $modArr_AF_SUTItemName[addtosgtloopcount] = $ARGS[1]
- modArr_AF_SUTItemCost[addtosgtloopcount] = ARGS[2]
- end
-
- if $ARGS[0] = 'removefromsgt':
- modVar_AF_Temp = arrpos('$modArr_AF_SUTItemName',$ARGS[1])
- KILLVAR '$modArr_AF_SUTItemName' , modVar_AF_Temp
- KILLVAR 'modArr_AF_SUTItemCost' , modVar_AF_Temp
- end
-
- if $ARGS[0] = 'setcardetails':
- if $ARGS[1] = 'car6' : $modVar_AF_TempStr = 'Kalina Vaz (Vehicle)' & modVar_AF_Temp = 400000
- if $ARGS[1] = 'car7' : $modVar_AF_TempStr = 'WHA Priora (Vehicle)' & modVar_AF_Temp = 450000
- if $ARGS[1] = 'car8' : $modVar_AF_TempStr = 'Chevrolet Niva (Vehicle)' & modVar_AF_Temp = 500000
- if $ARGS[1] = 'car9' : $modVar_AF_TempStr = 'UAZ Hunter (Vehicle)' & modVar_AF_Temp = 500000
- if $ARGS[1] = 'car10' : $modVar_AF_TempStr = 'UAZ Patriot (Vehicle)' & modVar_AF_Temp = 600000
- if $ARGS[1] = 'car13' : $modVar_AF_TempStr = 'Ford Focus 2 (Vehicle)' & modVar_AF_Temp = 500000
- if $ARGS[1] = 'car102' : $modVar_AF_TempStr = 'Renault Logan (Vehicle)' & modVar_AF_Temp = 700000
- if $ARGS[1] = 'car110' : $modVar_AF_TempStr = 'Ford Mondeo (Vehicle)' & modVar_AF_Temp = 85000
- if $ARGS[1] = 'car104' : $modVar_AF_TempStr = 'Toyota Celica (Vehicle)' & modVar_AF_Temp = 1000000
- if $ARGS[1] = 'car95' : $modVar_AF_TempStr = 'Mitsubishi l200 (Vehicle)' & modVar_AF_Temp = 1000000
- if $ARGS[1] = 'car103' : $modVar_AF_TempStr = 'Toyota Corolla (Vehicle)' & modVar_AF_Temp = 1100000
- if $ARGS[1] = 'car105' : $modVar_AF_TempStr = 'Mazda 6 (Vehicle)' & modVar_AF_Temp = 1200000
- if $ARGS[1] = 'car106' : $modVar_AF_TempStr = 'Mercedes-Benz E212 (Vehicle)' & modVar_AF_Temp = 1700000
- if $ARGS[1] = 'car109' : $modVar_AF_TempStr = 'Audi A6 (Vehicle)' & modVar_AF_Temp = 1900000
- if $ARGS[1] = 'car97' : $modVar_AF_TempStr = 'Cadillac Escalade (Vehicle)' & modVar_AF_Temp = 2000000
- if $ARGS[1] = 'car101' : $modVar_AF_TempStr = 'BMW Z4 (Vehicle)' & modVar_AF_Temp = 3000000
- if $ARGS[1] = 'car107' : $modVar_AF_TempStr = 'BMW M5 (Vehicle)' & modVar_AF_Temp = 4500000
- if $ARGS[1] = 'car99' : $modVar_AF_TempStr = 'BMW X6 (Vehicle)' & modVar_AF_Temp = 4500000
- if $ARGS[1] = 'car96' : $modVar_AF_TempStr = 'Audi Q7 (Vehicle)' & modVar_AF_Temp = 5000000
- if $ARGS[1] = 'car98' : $modVar_AF_TempStr = 'Porsche Cayenne (Vehicle)' & modVar_AF_Temp = 5000000
- if $ARGS[1] = 'car108' : $modVar_AF_TempStr = 'Jaguar XKR-S (Vehicle)' & modVar_AF_Temp = 7000000
- if $ARGS[1] = 'car100' : $modVar_AF_TempStr = 'Mercedes-Benz S600 (Vehicle)' & modVar_AF_Temp = 8000000
- if $ARGS[1] = 'car111' : $modVar_AF_TempStr = 'Bentley Continental Gt (Vehicle)' & modVar_AF_Temp = 10000000
- if $ARGS[1] = 'car112' : $modVar_AF_TempStr = 'Ferrari 458 Italia (Vehicle)' & modVar_AF_Temp = 20000000
- end
-
- if $ARGS[0] = 'CharscheRecords':
- *clr & cla
- $modVar_AF_TempStr = $ARGS[1]
- gs 'mod_addedflavour_charsche' , 'acttools' , 'listrecords' , $modVar_AF_TempStr
- act 'Return' : gt 'mod_addedflavour_options'
- end
-
- if $ARGS[0] = 'PregBall':
- *clr & cla
- menu_off = 1
- minut += rand(25,35)
- gs 'stat'
- if (pcs_stam >= 50 or (pcs_stam >= 30 and rand(1,5) = 1)) and modVar_AF_EventLock['PregnancyBall'] ! daystart:
- modVar_AF_EventLock['PregnancyBall'] = daystart
- fat -= 3
- pcs_energy -= 5
- pcs_mood += 5
- pcs_hydra -= 4
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Pregnancy/ball1.jpg"></center>'
- *nl
- 'You sit on your Pregnancy Ball and start doing your best to do some exercise. It is difficult moving your body around but the ball takes a lot of the strain away from your movements and you feel better for it at the end.'
- else
- pcs_mood += 5
- pcs_stam += 5
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Pregnancy/ball2.jpg"></center>'
- 'You sit on your Pregnancy Ball and think about doing some Exercise. Ultimately you give up on that plan and just lay back, letting the ball distribute your weight across it and providing comfort and relaxation as your muscles finally get some time off.'
- end
- act 'Get up' : gt $loc, $loc_arg
- end
-
- if $ARGS[0] = 'PregBrace':
- *clr & cla
- menu_off = 1
- modVar_AF_EventOpen['PregnancyBrace'] = daystart
- minut += rand(3,5)
- gs 'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Pregnancy/brace<<rand(1,2)>>.jpg"></center>'
- *nl
- 'You grab your Pregnancy Brace and put it on, letting it shift more of the weight into a more balanced distribution.'
- act 'Return' : gt $loc, $loc_arg
- end
-
- if $ARGS[0] = 'PregPillow':
- *clr & cla
- menu_off = 1
- minut += rand(55,65)
- pcs_mood += 15
- pcs_stam += 10
- pcs_energy += 5
- gs 'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Pregnancy/pillow.jpg"></center>'
- *nl
- 'You slump down and wrap the Pregnancy Pillow around yourself, letting yourself sink down as it hugs you and takes the weight off your frame.'
- act 'Get up' : gt $loc, $loc_arg
- end
-
- if $ARGS[0] = 'PregPills':
- *clr & cla
- menu_off = 1
- minut += 2
- modArr_AF_MaternityItemOwned[arrpos('$modArr_AF_MaternityItemName','Morning Sickness Pills')] -= 1
- modVar_AF_EventLock['PregnancyPills'] = daystart
- if pcs_hydra >= 100:
- pcs_hydra += 25
- else
- pcs_hydra += 50
- end
- pcs_mood += 20
- pcs_health += 10
- gs 'stat'
- '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Medication.jpg"></center>'
- *nl
- 'You take a Morning Sickness Pill and swig it back with a glass of water.'
- act 'Move away': gt $loc, $loc_arg
- end
- --- mod_addedflavour_Functions ---------------------------------
|