variable_replacements = [
    ['$pcs_firstname',  '$pc.name_first'],
    ['$pcs_lastname',   '$pc.name_last'],
    ['$pcs_nickname',   '$pc.name_nick'],
    ['$genbsize',       '$pc.genbsize'],
    ['$nbsize',         '$pc.nbsize'],
    ['$wratio'      ,   '$pc.wratio'],
    ['$bratio',         '$pc.bratio'],
    ['$hratio',         '$pc.hratio'],
    ['$fat',            '$pc.fat'],
    ['$salo',           '$pc.salo'],
    ['$salocatnow',           '$pc.salocatnow'],
    ['$salolast',           '$pc.salolast'],
    ['$salocatlast',           '$pc.salocatlast'],
    ['$pcs_hips',           '$pc.pcs_hips'],
    ['$pcs_waist',           '$pc.pcs_waist'],
    ['$pcs_band',           '$pc.pcs_band'],
    ['$pcs_bust',           '$pc.pcs_bust'],
    ['$pcs_butt',           '$pc.pcs_butt'],
    ['$pcs_cupsize',           '$pc.pcs_cupsize'],
    ['$tits',           '$pc.tits'],
    ['$titsize',           '$pc.titsize'],
    ['$pcs_haircol',           '$pc.hairColor'],
    ['$nathcol','$pc.hairColorNatural'],
    ['$dyefade','$pc.hairDyeFade'],
    ['$pcs_leghair',           '$pc.legHair'],
    ['$pcs_weight',           '$pc.pcs_weight'],
    ['$pcs_bmi',           '$pc.pcs_bmi'],
    ['$pcs_hgt',           '$pc.pcs_hgt'],
    ['$pcs_hairlng',           '$pc.pcs_hairlng'],
    ['$pcs_tan',           '$pc.tan'],
    ['$preg',           '$pc.preg'],
    ['$knowpreg',           '$pc.knowpreg'],
    ['$thinkpreg',           '$pc.thinkpreg'],
    ['$PregChem',           '$pc.PregChem'],
    ['$isPregnancyAware',           '$pc.isPregnancyAware'],
    ['$bodset',           '$pc.bodset'],
    ['$body',           '$pc.body'],
    ['$pcs_teeth',           '$pc.pcs_teeth'],
    ['$teeth',           '$pc.teeth'],
    ['$moisturizerDailyCount',           '$pc.moisturizerDailyCount'],
    ['$skinDailyGain',           '$pc.skinDailyGain'],
    ['$skinDailyPenalty',           '$pc.skinDailyPenalty'],
    ['$pcs_skin',           '$pc.pcs_skin'],
    ['$pcs_vital',           '$pc.pcs_vital'],
    ['$agilbuf',           '$pc.dexterity'],
    ['$strenbuf',           '$pc.muscularity'],
    ['$vitalbuf',           '$pc.healthiness'],
    ['$vhips',           '$pc.vhips'],
    ['$vhtmp',           '$pc.vhtmp'],
    ['$pcs_pubes','$pc.pcs_pubes'],
    ['$vidageday','$pc.visualAgeDaysInverse'],
    ['$vidage','$pc.visualAge'],
    ['$pcs_missing_teeth','$pc.pcs_missing_teeth'],
    ['$pcs_apprncbase','$pc.pcs_apprncbase'],
    ['$pubestyle','$pc.pubestyle'],
    ['$pcs_mood[','$pc.mood_type['],
    ['$pcs_mood','$pc.mood'],
    ['$pcs_willpwr','$pc.willpower'],
    ['$willpowermax','$pc.willpowermax'],
    ['$pcs_willpower_feeder','$pc.pcs_willpower_feeder'],
    ['$pcs_energy','$pc.pcs_energy'],
    ['$pcs_hydra','$pc.pcs_hydra'],
    ['$pcs_sleep','$pc.pcs_sleep'],
    ['$pcs_sweat','$pc.pcs_sweat'],
    ['$analplugIN','$pc.analplugIN'],
    ['$vibratorin','$pc.vibratorin'],

    ['$pcs_intel','$pc.intelligence'],

    ['$cosmetic_tattoo','$pc.cosmetic_tattoo'],
    ['$pcs_makeup','$pc.pcs_makeup'],
    ['$alko','$pc.alko'],
    ['$frost','$pc.frost'],
    ['$StrongNarkota','$pc.strongNarkota'],
    ['$pcs_vag','$pc.pcs_vag'],
    ['$pcs_throat','$pc.pcs_throat'],
    ['$pcs_ass','$pc.pcs_ass'],
    ['$SUB','$pc.pcs_sub'],
    ['$pcs_dom','$pc.pcs_dom'],
    ['$pcs_horny','$pc.horny'],
    ['$pcs_inhib','$pc.pcs_inhib'],
    ['$healthmax','$pc.healthmax'],
    ['$stammax','$pc.stammax'],
    ['$speed','$pc.speed'],
    ['$min_arousal','$pc.min_arousal'],
    ['$pcs_health','$pc.pcs_health'],
    ['$pcs_stam','$pc.pcs_stam'],
    ['$mood_trauma','$pc.mood_trauma'],
    ['$pcs_apprnc','$pc.pcs_apprnc'],
    ['$hotcat','$pc.hotcat'],
    ['$pcs_breath','$pc.pcs_breath'],
    ['$pcs_lipbalm','$pc.pcs_lipbalm'],
    ['$pcs_hairbsh','$pc.pcs_hairbsh'],
    ['$deodorant_on','$pc.deodorant_on'],
    ['$glass','$pc.glass'],

    ['$vgape','$pc.vgape'],
    ['$agape','$pc.agape'],
    ['$spanked','$pc.spanked'],

    ['$nark','$pc.nark'],
    ['$deodorant_time','$pc.deodorant_time'],

    ['$insleep ','$pc.isSleeping'],
    ['$will_counter ','$pc.will_counter'],

    ['$over ','$pc.gameover'],

    ['$birthday','$pc.birthday'],
    ['$birthmonth','$pc.birthmonth'],
    ['$birthyear','$pc.birthyear'],
    [r'\$(age[^\w])',           r'$pc.\1',1],

    ['$pcs_eyesize','$pc.eyesize'],
    ['$pcs_eyecol','$pc.eyecolor'],
    ['$pcs_lashes','$pc.eyelashes'],
    ['$false_lashes','$pc.eyelashes_false'],
    ['$pcs_nips','$pc.nipples'],
    ['$clit_size','$pc.clit_size'],
    ['$pcs_lip','$pc.lip_size'],
    ['$pcs_haircol','$pc.pcs_haircol'],

    ['$minut','$time.minutes'],
    ['$hour','$time.hour'],
    ['$day','$time.day'],
    ['$month','$time.month'],
    ['$year','$time.year'],
    ['$dayStage','$time.dayStage'],
    ['$DayInYear','$time.dayOfYear'],
    ['$totminut ','$time.minutesTimestamp'],
    ['$daystart','$time.daystart'],
    ['$week','$time.weekday'],

    ['$isSchoolHoliday','$time.isSchoolHoliday'],

    ['$clothingworntype','$wardrobe.clothingworntype'],
    ['$clothingwornnumber','$wardrobe.clothingwornnumber'],
    ['$PCloQuality','$wardrobe.PCloQuality'],
    ['$PCloThinness','$wardrobe.PCloThinness'],
    ['$PCloTopCut','$wardrobe.PCloTopCut'],
    ['$PCloBra','$wardrobe.PCloBra'],
    ['$PCloOnePiece','$wardrobe.PCloOnePiece'],
    ['$PCloPants','$wardrobe.PCloPants'],
    ['$PCloSkirt','$wardrobe.PCloSkirt'],
    ['$PCloPanties','$wardrobe.PCloPanties'],
    ['$PCloDress','$wardrobe.PCloDress'],
    ['$PCloStyle','$wardrobe.PCloStyle'],
    ['$PCloStyle2','$wardrobe.PCloStyle2'],
    ['$PCloStyle3','$wardrobe.PCloStyle3'],
    ['$PCloInhibit','$wardrobe.PCloInhibit'],
    ['$PCloBimbo','$wardrobe.PCloBimbo'],
    ['$PCloCoverTop','$wardrobe.PCloCoverTop'],
    ['$PCloCoverBack','$wardrobe.PCloCoverBack'],
    ['$PCloCoverFront','$wardrobe.PCloCoverFront'],
    ['$PCloThinness','$wardrobe.PCloThinness'],
    ['$PCloTopCut','$wardrobe.PCloTopCut'],
    ['$PCloCoverFront','$wardrobe.PCloCoverFront'],
    ['$PXCloThinness','$wardrobe.PXCloThinness'],
    ['$PXCloTopCut','$wardrobe.PXCloTopCut'],
    ['$PXCloBottomShortness','$wardrobe.PXCloBottomShortness'],
    ['$PCloswimwear','$wardrobe.PCloswimwear'],
    ['$CoverTop','$wardrobe.CoverTop'],
    ['$CoverBack','$wardrobe.CoverBack'],
    ['$CoverFront','$wardrobe.CoverFront'],

    ['$braworntype','$wardrobe.braworntype'],
    ['$brawornnumber','$wardrobe.brawornnumber'],
    ['$PBraMaterial','$wardrobe.PBraMaterial'],
    ['$PBraType','$wardrobe.PBraType'],
    ['$PBraFun','$wardrobe.PBraFun'],
    ['$PBraQuality','$wardrobe.PBraQuality'],
    ['$PBraThinness','$wardrobe.PBraThinness'],
    ['$PBraCover','$wardrobe.PBraCover'],

    ['$pantyworntype','$wardrobe.pantyworntype'],
    ['$pantywornnumber','$wardrobe.pantywornnumber'],
    ['$PPanMaterial','$wardrobe.PPanMaterial'],
    ['$PPantyFun','$wardrobe.PPantyFun'],
    ['$PPanQuality','$wardrobe.PPanQuality'],
    ['$PPanThinness','$wardrobe.PPanThinness'],
    ['$PPanCoverFront','$wardrobe.PPanCoverFront'],
    ['$PPanCoverBack','$wardrobe.PPanCoverBack'],

    ['$shoeworntype','$wardrobe.shoeworntype'],
    ['$shoewornnumber','$wardrobe.shoewornnumber'],
    ['$PShoQuaility','$wardrobe.PShoQuaility'],
    ['$PShoCut','$wardrobe.PShoCut'],
    ['$PShoHeels','$wardrobe.PShoHeels'],
    ['$PShoStyle','$wardrobe.PShoStyle'],
    ['$PXShoHeels','$wardrobe.PXShoHeels'],

    ['$coatworntype','$wardrobe.coatworntype'],
    ['$coatwornnumber','$wardrobe.coatwornnumber'],
    ['$PCoatWarm','$wardrobe.PCoatWarm'],
    ['$PCoatQuality','$wardrobe.PCoatQuality'],


    ['$pcs_sleep','$pc.pcs_sleep'],


    ["<<gs 'body' 'initial'>>","<<run $pc.bodyInit()>>"],
    ["<<gs 'body' 'RegularUpdate'>>",""],
    ["<<gs 'body' 'DailyUpdate'>>","<<run $pc.bodyDailyUpdate()>>"],
    ["<<gs 'body'>>","<<run $pc.bodySaloCalc()>>"],
    ["<<$pcs_apprnc>>","<<body_desc_appearance>>"],

    ["<<gs 'arousal' 'end'>>","<<arousalEnd>>"],


    ['$money','$finances.cash'],
    ['$karta','$finances.bank'],
    ['$bankAccount','$finances.hasBankAccount'],
    ['$bankDebtLimit','$finances.bankOverdraftMax'],

    ['$bag','$wardrobe.purseEquipped'],

]

#variable_replacements = []
inventory_variables = [
    ["stanok","razor"],
    ["kosmetica","cosmetics"],
    ["lipbalm","lipbalm"],
    ["prezik","condom"],
    ["painkiller","painkiller"],
    ["vitamin","vitamin"],
    ["tampon","tampon"],
    ["shampoo","shampoo"],
    ["deodorant","deo"],
    ["eda","food"],
    ["edaD","foodDiet"],
    ["biscuits","biscuit"],
    ["bottle","water"],
    ["buterbrod","sandwich"],
    ["wine","wine"],
    ["item_moisturizer","moisturizer"],
    ["sanpad","sanpad"],
    ["hscrunch","hairScrunchie"],
    ["hpingrip","hairPin"],
    ["salfetka","wipe"],
    ["mouthwash","mouthwash"],
    ["greben","comb"],
    ["compact_mirror","compactMirror"],
    ["krem","sunblock"],
    ["falselashesplain","falselashesplain"],
    ["falselashesmink","falselashesmink"],
    ["kosmetika","cosmetics"],
    ["komp","computer"],
    ["umbrella","umbrella"],
    #["xxx","xxx"],
]


quest_variables = [
    [r'\$missing_class','school','missedClasses'],
    [r'\$BeInSchool','school','attendedDays'],

    [r"\$christinaQW\['(?P<index>.*?)'\]",'christina',r'\g<index>'],
    [r"\$cheerleadingQW\['(?P<index>.*?)'\]",'cheerleading',r'\g<index>'],
]

get_set_variables = [
    [r'\$pirsA',"$pc.decoGet('piercing','tongue')",r"$pc.decoWear('piercing','tongue',\1)"],
    [r'\$pirsB',"$pc.decoGet('piercing','lip')",r"$pc.decoWear('piercing','lip',\1)"],
    [r'\$pirsC',"$pc.decoGet('piercing','ears')",r"$pc.decoWear('piercing','ears',\1)"],
    [r'\$pirsD',"$pc.decoGet('piercing','nose')",r"$pc.decoWear('piercing','nose',\1)"],
    [r'\$pirsE',"$pc.decoGet('piercing','eyebrow')",r"$pc.decoWear('piercing','eyebrow',\1)"],
    [r'\$pirsF',"$pc.decoGet('piercing','nipple')",r"$pc.decoWear('piercing','nipple',\1)"],
    [r'\$pirsG',"$pc.decoGet('piercing','pussy')",r"$pc.decoWear('piercing','pussy',\1)"],
    [r'\$pirsN',"$pc.decoGet('piercing','navel')",r"$pc.decoWear('piercing','navel',\1)"],

    [r'''\$stat\[(["'\w]+)\]''',r"$pc.sexStat(\1)",r"$pc.sexStatSet(\1,'aware',\2)",r"$pc.sexStatInc(\1,'aware',\2)",r"$pc.sexStatDec(\1,'aware',\2)"],


]

post_get_set_variables_replacements = [
    ['''$pc.sexStat('think_virgin') == 1''','$pc.thinksIsVirgin'],
    ['''$pc.sexStat('think_virgin') == 0''','!$pc.thinksIsVirgin'],
    ['''$pc.sexStat('think_virgin') != 1''','!$pc.thinksIsVirgin'],
    ['''$pc.sexStat('think_virgin') != 0''','$pc.thinksIsVirgin'],
]
