Bladeren bron

Existing Vars Updated

Stephan Fuchs 1 jaar geleden
bovenliggende
commit
9994e6e5b6

+ 10 - 10
sugarcube/src/autogenerated/body/body_desc.tw

@@ -1229,25 +1229,25 @@ throat, pussy, anus, butt, breasts, lips, lip size, lip gloss  hair, hair style,
 
 
 <<widget "body_desc_appearance">>
-	<<if getvar("$pcs_apprnc") < 40>>
+	<<if getvar("$pc.pcs_apprnc") < 40>>
 		<<print 'Your looks are even worse than terrible. It`s god-awful. No one wants to see or talk to you and people avoid you at any cost.'>>
-	<<elseif getvar("$pcs_apprnc") < 60>>
+	<<elseif getvar("$pc.pcs_apprnc") < 60>>
 		<<print 'Your looks are terrible. People try to avoid looking and talking to you, unless they are making fun of the way you look.'>>
-	<<elseif getvar("$pcs_apprnc") < 80>>
+	<<elseif getvar("$pc.pcs_apprnc") < 80>>
 		<<print 'Your looks are bad. People often tease you about your looks or just ignore you exist.'>>
-	<<elseif getvar("$pcs_apprnc") < 100>>
+	<<elseif getvar("$pc.pcs_apprnc") < 100>>
 		<<print 'Your looks are below average. Hardly anyone notices you, except to occasionally tease you about your looks.'>>
-	<<elseif getvar("$pcs_apprnc") < 125>>
+	<<elseif getvar("$pc.pcs_apprnc") < 125>>
 		<<print 'Your looks are average. Hardly anyone notices you.'>>
-	<<elseif getvar("$pcs_apprnc") < 150>>
+	<<elseif getvar("$pc.pcs_apprnc") < 150>>
 		<<print 'You are considered cute. Most guys and some girls find you cute, in a cute girl next door look.'>>
-	<<elseif getvar("$pcs_apprnc") < 165>>
+	<<elseif getvar("$pc.pcs_apprnc") < 165>>
 		<<print 'You are considered attractive. You sometimes catch guys and even some other girls checking you out.'>>
-	<<elseif getvar("$pcs_apprnc") < 180>>
+	<<elseif getvar("$pc.pcs_apprnc") < 180>>
 		<<print 'You have good looks. Men and women check you out when they think you aren`t looking, you often get asked if you are a model.'>>
-	<<elseif getvar("$pcs_apprnc") < 199>>
+	<<elseif getvar("$pc.pcs_apprnc") < 199>>
 		<<print 'You`re unquestionably gorgeous. Men constantly get caught staring at you by their girlfriends.'>>
-	<<elseif getvar("$pcs_apprnc") < 220>>
+	<<elseif getvar("$pc.pcs_apprnc") < 220>>
 		<<print 'You have a simply stunning appearance. Other girls are a bit jealous and guys constantly check you out.'>>
 	<<else>>
 		<<print 'Your appearance is divine! No one is able to take his or her eyes off of you.'>>

+ 1 - 1
sugarcube/src/autogenerated/home_parents/vanrPar.tw

@@ -20,7 +20,7 @@
 	The bathroom is very small and unimpressive. Nevertheless, it has everything you need.
 	There is a shower , toilet ,
 	sink , <<link "mirror">><<gt "mirror" "start">><</link>>,
-	<<if !$pcs_hairbsh>>
+	<<if !$pc.pcs_hairbsh>>
 		where you can <<link "brush">><<gt "mirror" "brush">><</link>> your hair.
 	<<else>>
 		where you could brush your hair.

+ 4 - 4
sugarcube/src/autogenerated/start/intro_customization.tw

@@ -918,7 +918,7 @@
 
 	<</if>>
 	<!-- FAILED TO CONVERT
-		if pcs_eyesize = 0:$glaza = 'You have small <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = '<<$pcs_eyecol>> eyes' & $glaza3 = '<<$glacol2>> eyes'
+		if pcs_eyesize = 0:$glaza = 'You have small <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$pc.glass>>' & $glaza2 = '<<$pcs_eyecol>> eyes' & $glaza3 = '<<$glacol2>> eyes'
 	-----
 		<<if getvar("$pcs_eyesize") == 0>>
 		<!-- FAILED TO CONVERT
@@ -934,7 +934,7 @@
 	-->
 	<<warn "CONVERSION ERROR 03427fabef47e4f5df63f8447174a341">>
 	<!-- FAILED TO CONVERT
-		if pcs_eyesize = 1:$glaza = 'You have expressive <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = 'expressive <<$pcs_eyecol>> eyes' & $glaza3 = 'expressive <<$glacol2>> eyes'
+		if pcs_eyesize = 1:$glaza = 'You have expressive <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$pc.glass>>' & $glaza2 = 'expressive <<$pcs_eyecol>> eyes' & $glaza3 = 'expressive <<$glacol2>> eyes'
 	-----
 		<<if getvar("$pcs_eyesize") == 1>>
 		<!-- FAILED TO CONVERT
@@ -950,7 +950,7 @@
 	-->
 	<<warn "CONVERSION ERROR c35c422e3cd5f629f419118ae00d7266">>
 	<!-- FAILED TO CONVERT
-		if pcs_eyesize = 2:$glaza = 'You have large <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = 'big <<$pcs_eyecol>> eyes' & $glaza3 = 'high <<$glacol2>> eyes'
+		if pcs_eyesize = 2:$glaza = 'You have large <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$pc.glass>>' & $glaza2 = 'big <<$pcs_eyecol>> eyes' & $glaza3 = 'high <<$glacol2>> eyes'
 	-----
 		<<if getvar("$pcs_eyesize") == 2>>
 		<!-- FAILED TO CONVERT
@@ -966,7 +966,7 @@
 	-->
 	<<warn "CONVERSION ERROR d593936040cbaa787a2540394c3c7359">>
 	<!-- FAILED TO CONVERT
-		if pcs_eyesize = 3:$glaza = 'You have huge <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = 'great <<$pcs_eyecol>> eyes' & $glaza3 = 'great <<$glacol2>> eyes'
+		if pcs_eyesize = 3:$glaza = 'You have huge <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$pc.glass>>' & $glaza2 = 'great <<$pcs_eyecol>> eyes' & $glaza3 = 'great <<$glacol2>> eyes'
 	-----
 		<<if getvar("$pcs_eyesize") == 3>>
 		<!-- FAILED TO CONVERT

+ 1 - 1
sugarcube/src/autogenerated/unsorted/ApperanceSystem.tw

@@ -22,7 +22,7 @@
 		<<set $groomingBonus = func($this, 'CalcGroomingBonus')>>
 		<<set $groomingPenalty = func($this, 'CalcGroomingPenalty')>>
 		<<set $pc.pcs_apprnc = func($this, 'CalcAppearance', ($supnatvnesh + $extra_supnatvnesh))>>
-		<<set $hotcat = func($this, 'ConvertToHotcat')>>
+		<<set $pc.hotcat = func($this, 'ConvertToHotcat')>>
 	<</if>>
 <</if>>
 <<if $location_var[$here][0] == 'UpdateBaseAppearnce'>>

+ 8 - 8
sugarcube/src/autogenerated/unsorted/din_van.tw

@@ -751,7 +751,7 @@
 	<<gs 'cum_cleanup'>>
 	<<set $pc.body_write = 0>>
 	<<set $face_write = 0>>
-	<<set $pcs_hairbsh = 0>>
+	<<set $pc.pcs_hairbsh = 0>>
 	<<set $pc.pcs_makeup = 1>>
 	<<if getvar("$pc.frost") > 0>>
 		<<set $pc.frost = 0>>
@@ -782,7 +782,7 @@
 <</widget>>
 :: bteeth_macro[widget]
 <<widget "bteeth">>
-	<<if getvar("$pcs_breath") != 1 or $cumloc[12] == 1>>
+	<<if getvar("$pc.pcs_breath") != 1 or $cumloc[12] == 1>>
 		<<act 'Brush your teeth (0:03)'>>
 			<<gt 'brush_teeth'>>
 		<</act>>
@@ -794,7 +794,7 @@
 <<set $time.minutes += 3>>
 <<set $cumspclnt = 2>>
 <<gs 'cum_cleanup'>>
-<<set $pcs_breath = 1>>
+<<set $pc.pcs_breath = 1>>
 <<setinit $pc.teeth['brushed'] += 1>>
 <<if $wardrobe.clothingworntype == 'nude' and $wardrobe.braworntype == 'none' and $wardrobe.pantyworntype == 'none'>>
 	<<video "shared/home/bathroom/brushteeth.mp4">>
@@ -853,7 +853,7 @@ You brush your teeth and now they are clean and minty fresh.
 		You have no reason to, but you carefully avoid cleaning out your pussy and ass.
 
 	<</if>>
-		<<if getvar("$deodorant_on") == 1>>
+		<<if getvar("$pc.deodorant_on") == 1>>
 		<<gs 'sweat' 'remove_deo'>>
 	<</if>>
 		<<if getvar("$btwarn") > 0>>
@@ -996,7 +996,7 @@ You brush your teeth and now they are clean and minty fresh.
 		You have no reason to, but you carefully avoid cleaning out your pussy and ass.
 
 	<</if>>
-		<<if getvar("$deodorant_on") == 1>>
+		<<if getvar("$pc.deodorant_on") == 1>>
 		<<gs 'sweat' 'remove_deo'>>
 	<</if>>
 		<<if getvar("$btwarn") > 0>>
@@ -1486,7 +1486,7 @@ You brush your teeth and now they are clean and minty fresh.
 			<<gs 'cum_cleanup'>>
 			<<set $cumspclnt = 5>>
 			<<gs 'cum_cleanup'>>
-			<<set $pcs_hairbsh = 0>>
+			<<set $pc.pcs_hairbsh = 0>>
 			<<if getvar("$pc.pcs_sweat") > 19>>
 			<<setn $pc.pcs_sweat -= 5>>
 
@@ -1506,7 +1506,7 @@ You brush your teeth and now they are clean and minty fresh.
 			<<gs 'cum_cleanup'>>
 			<<set $cumspclnt = 12>>
 			<<gs 'cum_cleanup'>>
-			<<set $pcs_hairbsh = 0>>
+			<<set $pc.pcs_hairbsh = 0>>
 			<<if getvar("$pc.pcs_sweat") > 19>>
 			<<setn $pc.pcs_sweat -= 5>>
 
@@ -1580,7 +1580,7 @@ You brush your teeth and now they are clean and minty fresh.
 		<</act>>
 		<</act>>
 	<</if>>
-	<<if getvar("$deodorant") > 0 and getvar("$deodorant_on") == 0>>
+	<<if getvar("$deodorant") > 0 and getvar("$pc.deodorant_on") == 0>>
 		<<act 'Apply deodorant (0:01)'>>
 			<<set $menu_off = 1>>
 			<<set $time.minutes += 1>>

+ 2 - 2
sugarcube/src/autogenerated/unsorted/father.tw

@@ -725,10 +725,10 @@
 <<elseif getvar("$npcs.get('A28','rel')") >= 20 and getvar("$npcs.get('A28','rel')") < 40>>
 	<<gs 'dinfather' 'father 2'>>
 <<elseif getvar("$npcs.get('A28','rel')") >= 40>>
-	<<if $pcs_apprnc + ($npcs.get('A28','rel') / 10) <= 60>>
+	<<if $pc.pcs_apprnc + ($npcs.get('A28','rel') / 10) <= 60>>
 		<<gs 'dinfather' 'father 3'>>
 	<</if>>
-	<<if $pcs_apprnc + ($npcs.get('A28','rel') / 10) > 60>>
+	<<if $pc.pcs_apprnc + ($npcs.get('A28','rel') / 10) > 60>>
 		<<gs 'dinfather' 'father 4'>>
 	<</if>>
 <</if>>

+ 2 - 2
sugarcube/src/autogenerated/unsorted/mirror.tw

@@ -17,7 +17,7 @@
 
 	<<image `FUNC('$face_image')`>>
 
-	<<if getvar("$autohairbrush") == 1 and getvar("$pcs_hairbsh") == 0>>
+	<<if getvar("$autohairbrush") == 1 and getvar("$pc.pcs_hairbsh") == 0>>
 		<<xgt 'mirror' 'brush'>>
 	<</if>>
 
@@ -36,7 +36,7 @@
 	<p><<body_desc_hair 'long'>></p>
 
 	<p><<body_desc_makeup 'long'>>. Your<<body_desc_eye_size>> eyes are <<body_desc_eye_color>> <<body_desc_eyelashes 'long'>>.</p>
-	<<if getvar("$glass") > 0>>
+	<<if getvar("$pc.glass") > 0>>
 		<p>You are wearing <<body_desc_glasses 'wordy'>>.</p>
 	<</if>>
 	<p>You have <<body_desc_lips 'long'>>  <<body_desc_lips 'size'>> lips.</p>

+ 14 - 14
sugarcube/src/autogenerated/unsorted/stat_display.tw

@@ -41,7 +41,7 @@
 	<<else>>
 <!-- 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_statimg_body = 0""">> <<gs '$menu_obnovit'">◆Body</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_statimg_body = 0""">> <<gs "$menu_obnovit"">◆Body</a>">>'>>
-		<<set $img_temp = FUNC('$body_image','body')>>
+		<<set $img_temp = FUNC('$pc.body_image','body')>>
 		<<if $img_temp != $null>>
 			<<set $stat_imgextra_msg += '<a href="exec:view '$img_temp'"><img $set_statimgh src="$img_temp"></a> '>>
 
@@ -53,7 +53,7 @@
 	<<else>>
 <!-- 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_statimg_coat = 0""">> <<gs '$menu_obnovit'">◆Coat</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_statimg_coat = 0""">> <<gs "$menu_obnovit"">◆Coat</a>">>'>>
-		<<set $img_temp = FUNC('$body_image','coat')>>
+		<<set $img_temp = FUNC('$pc.body_image','coat')>>
 		<<if $img_temp != $null>>
 			<<set $stat_imgextra_msg += '<a href="exec:view '$img_temp'"><img $set_statimgh src="$img_temp"></a> '>>
 
@@ -65,7 +65,7 @@
 	<<else>>
 <!-- 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_statimg_cloth = 0""">> <<gs '$menu_obnovit'">◆Clothes</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_statimg_cloth = 0""">> <<gs "$menu_obnovit"">◆Clothes</a>">>'>>
-		<<set $img_temp = FUNC('$body_image','clothes')>>
+		<<set $img_temp = FUNC('$pc.body_image','clothes')>>
 		<<if $img_temp != $null>>
 			<<set $stat_imgextra_msg += '<a href="exec:view '$img_temp'"><img $set_statimgh src="$img_temp"></a> '>>
 
@@ -77,7 +77,7 @@
 	<<else>>
 <!-- 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_statimg_bra = 0""">> <<gs '$menu_obnovit'">◆Bra</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_statimg_bra = 0""">> <<gs "$menu_obnovit"">◆Bra</a>">>'>>
-		<<set $img_temp = FUNC('$body_image','bra')>>
+		<<set $img_temp = FUNC('$pc.body_image','bra')>>
 		<<if $img_temp != $null>>
 			<<set $stat_imgextra_msg += '<a href="exec:view '$img_temp'"><img $set_statimgh src="$img_temp"></a> '>>
 
@@ -89,7 +89,7 @@
 	<<else>>
 <!-- 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_statimg_panties = 0""">> <<gs '$menu_obnovit'">◆Panties</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_statimg_panties = 0""">> <<gs "$menu_obnovit"">◆Panties</a>">>'>>
-		<<set $img_temp = FUNC('$body_image','panties')>>
+		<<set $img_temp = FUNC('$pc.body_image','panties')>>
 		<<if $img_temp != $null>>
 			<<set $stat_imgextra_msg += '<a href="exec:view '$img_temp'"><img $set_statimgh src="$img_temp"></a> '>>
 
@@ -101,7 +101,7 @@
 	<<else>>
 <!-- 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_statimg_shoes = 0""">> <<gs '$menu_obnovit'">◆Shoes</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_imgtool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_statimg_shoes = 0""">> <<gs "$menu_obnovit"">◆Shoes</a>">>'>>
-		<<set $img_temp = FUNC('$body_image','shoes')>>
+		<<set $img_temp = FUNC('$pc.body_image','shoes')>>
 		<<if $img_temp != $null>>
 			<<set $stat_imgextra_msg += '<a href="exec:view '$img_temp'"><img $set_statimgh src="$img_temp"></a> '>>
 
@@ -206,11 +206,11 @@
 		<<set $stat_sweat_msg = 'You are a little smelly.'>>
 	<<elseif getvar("$pc.pcs_sweat") > 19>>
 		<<set $stat_sweat_msg = 'You`re sweating.'>>
-	<<elseif getvar("$pc.pcs_sweat") > 9 and getvar("$deodorant_on") == 1>>
+	<<elseif getvar("$pc.pcs_sweat") > 9 and getvar("$pc.deodorant_on") == 1>>
 		<<set $stat_sweat_msg = 'You feel fresh with your deodorant.'>>
 	<<elseif arrsize('sparrvol') == 0>>
 		<<set $stat_sweat_msg = 'You are sparkling clean.'>>
-	<<elseif getvar("$deodorant_on") == 1>>
+	<<elseif getvar("$pc.deodorant_on") == 1>>
 		<<set $stat_sweat_msg = 'You feel fresh with your deodorant on.'>>
 	<<else>>
 		<<set $stat_sweat_msg = ''>>
@@ -653,7 +653,7 @@
 		<</if>>
 	<</if>>
 <</if>>
-<<set $stat_img_temp = func('$body_image','clothes')>>
+<<set $stat_img_temp = func('$pc.body_image','clothes')>>
 <<set $stat_clothes_msg += '<br><img src="$stat_img_temp">'>>
 <<gs 'cum_manage' 'cum_stat_display'>>
 <<set $stat_bfgf_msg_0 = ''>>
@@ -840,7 +840,7 @@
 				<<set $stat_extra_msg += '<BR>$ind Succubus energy'>>
 			<</if>>
 		<</if>>
-		<<gs 'indik' '1' $pcs_apprnc / 2 $pcs_apprnc>>
+		<<gs 'indik' '1' $pc.pcs_apprnc / 2 $pc.pcs_apprnc>>
 		<<set $stat_extra_msg += '<BR>$ind Attractiveness'>>
 		<<set $stat_extra_msg += '<BR>'>>
 	<</if>>
@@ -952,7 +952,7 @@
 	<<else>>
 <!-- 		<<set $stat_sktool_msg += ERROR: FAILED TO CONVERT LITERAL: """' <a href="exec:Enable_show_beauty_skill = 0""">> <<gs '$menu_obnovit'">◆Beauty</a>'>> -->
 <<warn 'FTCL: 		<<set $stat_sktool_msg += ERROR: FAILED TO CONVERT LITERAL: """" <a href="exec:Enable_show_beauty_skill = 0""">> <<gs "$menu_obnovit"">◆Beauty</a>">>'>>
-		<<if getvar("$pcs_makupskl") > 0>>
+		<<if getvar("$pc.pcs_makupskl") > 0>>
 			<<gs 'show_table' 'pcs_makupskl Makeup Skill' '2'>>
 
 		<</if>>
@@ -1229,7 +1229,7 @@
 <!-- !!----------------Extra messages, End---------------------------->
 <<if getvar("$enable_extra_msg") == 1>>
 	<<if $opPRE == 0>>
-		<<set $stat_msg += '<BR>$pc.pcs_makeup and your hair is $pcs_hairbsh.'>> <<set ERROR: FAILED TO CONVERT LITERAL: """!$stat_msg""" += '<BR>'>>
+		<<set $stat_msg += '<BR>$pc.pcs_makeup and your hair is $pc.pcs_hairbsh.'>> <<set ERROR: FAILED TO CONVERT LITERAL: """!$stat_msg""" += '<BR>'>>
 	<</if>>
 	<<if $pc.thinkpreg == 0 and $pc.knowpreg == 0 and getvar("$cycle") != 6 and getvar("$pillcon2") <= 30000 and getvar("$succubusflag") != 1 and $cheatSlut == 0 and $mesec == 0>>
 		<<if $abortionbirthdate == 0 and $daystart - getvar("$daylastperiod") > 28>>
@@ -1377,11 +1377,11 @@
 		<<set $stat_msg += '<br><font color="red">$stat_sweat_msg</font>'>>
 	<<elseif $cheatNoSweat == 0 and getvar("$pc.pcs_sweat") > 19>>
 		<<set $stat_msg += '<br><font color="brown">$stat_sweat_msg</font>'>>
-	<<elseif $cheatNoSweat == 0 and getvar("$pc.pcs_sweat") > 9 and getvar("$deodorant_on") == 1>>
+	<<elseif $cheatNoSweat == 0 and getvar("$pc.pcs_sweat") > 9 and getvar("$pc.deodorant_on") == 1>>
 		<<set $stat_msg += '<br><b><font color="green">$stat_sweat_msg</font>'>>
 	<<elseif $cheatNoSweat == 0 and arrsize('sparrvol') == 0>>
 		<<set $stat_msg += '<br><b><font color="green">$stat_sweat_msg</font></b>'>>
-	<<elseif $cheatNoSweat == 0 and getvar("$deodorant_on") == 1>>
+	<<elseif $cheatNoSweat == 0 and getvar("$pc.deodorant_on") == 1>>
 		<<set $stat_msg += '<br><b><font color="green">$stat_sweat_msg</font></b>'>>
 	<</if>>
 	<!-- !!	breast status-->

+ 7 - 7
sugarcube/src/sidebar/Sidebar.tw

@@ -45,7 +45,7 @@
     <<include "stat_display_icon_messages">>
     <div class="icons">
         <<imageWithTooltip "system/icons/status/appearance.png">>
-            People would rate your appearance as a $hotcat out of 10
+            People would rate your appearance as a $pc.hotcat out of 10
             <<image `func('$face_image')`>>
         <</imageWithTooltip>>
 
@@ -59,9 +59,9 @@
 				<<body_desc_makeup 'tooltip'>>
             <</imageWithTooltip>>
         <</if>>
-        <<if $pcs_hairbsh == 1>>
+        <<if $pc.pcs_hairbsh == 1>>
             <<imageWithTooltip `"system/icons/status/hair_1.png"`>>
-                Your hair is <<$pcs_hairbsh_str>>.
+                Your hair is <<$pc.pcs_hairbsh_str>>.
             <</imageWithTooltip>>
         <<else>>
             <<imageWithTooltip `"system/icons/status/hair_0.png"`>>
@@ -70,7 +70,7 @@
 
         <</if>>
 
-        <<if $pcs_lipbalm > 0>>
+        <<if $pc.pcs_lipbalm > 0>>
             <<imageWithTooltip `"system/icons/status/lipstick.png"`>>
                 Your lips are covered in moisturizing balm.
             <</imageWithTooltip>>
@@ -80,7 +80,7 @@
                 You're wearing false <<if $pcs_lashes == 4>>mink<</if>> lashes.
             <</imageWithTooltip>>
         <</if>>
-        <<if $deodorant_on == 1 and $pc.pcs_sweat < 20>>
+        <<if $pc.deodorant_on == 1 and $pc.pcs_sweat < 20>>
             <<imageWithTooltip `"system/icons/status/deodorant.png"`>>
                 $stat_sweat_msg
             <</imageWithTooltip>>
@@ -286,10 +286,10 @@
 
     </div>
     <div id="quickaction">
-		<<if !$pcs_hairbsh>>
+		<<if !$pc.pcs_hairbsh>>
 			<<act "Brush your hair">>
 				<<set $time.minutes += 2>>
-				<<set $pcs_hairbsh = 1>>
+				<<set $pc.pcs_hairbsh = 1>>
 				<<refresh>>
 			<</act>>
 		<</if>>

+ 1 - 0
tw_update.py

@@ -16,6 +16,7 @@ filesNames = ["sugarcube/src/sidebar/Sidebar.tw"]
 
 
 for filesName in filesNames:
+    print(filesName)
     for line in fileinput.input(filesName, inplace=True):
         output = line
         for variable_replacement in variables.variable_replacements: