Browse Source

Restored Fame Var

Stephan Fuchs 10 months ago
parent
commit
f4a61e881e
26 changed files with 110 additions and 110 deletions
  1. 1 1
      sugarcube/src/activities/school/chats/gossip.tw
  2. 11 11
      sugarcube/src/activities/school/gschool_events.tw
  3. 1 1
      sugarcube/src/activities/school/gschool_lunch.tw
  4. 8 8
      sugarcube/src/activities/school/gschool_socialchg.tw
  5. 40 40
      sugarcube/src/autogenerated/unsorted/fame_events.tw
  6. 1 1
      sugarcube/src/autogenerated/unsorted/foto_events.tw
  7. 2 2
      sugarcube/src/autogenerated/unsorted/foto_events2.tw
  8. 3 3
      sugarcube/src/autogenerated/unsorted/foto_shoot.tw
  9. 1 1
      sugarcube/src/autogenerated/unsorted/liames.tw
  10. 1 1
      sugarcube/src/autogenerated/unsorted/music_onlinemusic.tw
  11. 1 1
      sugarcube/src/autogenerated/unsorted/natalia_pavlova.tw
  12. 1 1
      sugarcube/src/autogenerated/unsorted/nyp_school.tw
  13. 2 2
      sugarcube/src/autogenerated/unsorted/pav_aptcourtev.tw
  14. 1 1
      sugarcube/src/autogenerated/unsorted/pav_parkev.tw
  15. 3 3
      sugarcube/src/autogenerated/unsorted/prostitution_pavlovsk.tw
  16. 5 5
      sugarcube/src/autogenerated/unsorted/uni_lessons_electives1.tw
  17. 5 5
      sugarcube/src/autogenerated/unsorted/uni_lessons_electives2.tw
  18. 2 2
      sugarcube/src/autogenerated/unsorted/uni_lessons_electivesev1.tw
  19. 1 1
      sugarcube/src/events/street_event.tw
  20. 2 2
      sugarcube/src/locations/pavlov/disco/pav_disco_coolkids.tw
  21. 1 1
      sugarcube/src/locations/pavlov/disco/pav_disco_jocks.tw
  22. 4 4
      sugarcube/src/locations/pavlov/residential/pod_ezd.tw
  23. 2 2
      sugarcube/src/npcs/katja/katja_procedural.tw
  24. 8 8
      sugarcube/src/npcs/school/Artem/artemhome.tw
  25. 1 1
      sugarcube_compile.bat
  26. 2 2
      variables.py

+ 1 - 1
sugarcube/src/activities/school/chats/gossip.tw

@@ -478,7 +478,7 @@
 		"There''s no way someone like that made the team."
 		"Of course she didn''t. They laughed her right out of the place."
 		<p>"Did someone record it? I bet it would be hilarious to watch."</p>
-	<<elseif getvar("$chat_rand") == 92 and getvar("$cheerleadingQW['quest_stage']") > 1 and ($q.school.func('isGroupMember','cool') or $q.school.func('isGroupMember','jocks'))>>
+	<<elseif getvar("$chat_rand") == 92 and $q.cheerleading?.get('quest_stage') > 1 and ($q.school.func('isGroupMember','cool') or $q.school.func('isGroupMember','jocks'))>>
 		<p>"So I heard $pc.name_nick joined the cheerleading squad."</p>
 		<<set '"Well yeah, she is one of them. You know, ' + iif(grupTipe = 1, 'popular', 'sporty') + ' enough to pass their judgemental selection process?"'>>
 		"It's pretty harsh I know. I can only imagine Anushka on the team if they allowed it, running around the field flashing everyone during a game."

+ 11 - 11
sugarcube/src/activities/school/gschool_events.tw

@@ -354,7 +354,7 @@
 <!-- !! Before and after school, long break and lunch break-->
 <<if $location_var[$here][0] == 'break_events'>>
 	<<set $menu_off = 1>>
-	<<if break_rand[1] + rand(5,10) < $time.daystart and getvar("$fame['pav_slut']") >= 50>>
+	<<if break_rand[1] + rand(5,10) < $time.daystart and $pc.fame('pav_slut') >= 50>>
 		<<setinit $break_rand[1] = $time.daystart>>
 		<<if rand(0,1) == 0>>
 			<<gt 'gossips' 'school' 'boys_slutrep'>>
@@ -449,7 +449,7 @@
 		<<arouse 'erotic_nudity' 2 >>
 		<<arousalEnd>>
 		<<gs 'gschool_events' 'leave_break_events'>>
-	<<elseif getvar("$break_rand") <= 5 and getvar("$fame['pav_slut']") > 200 and getvar("$gruptipe") != 4>>
+	<<elseif getvar("$break_rand") <= 5 and $pc.fame('pav_slut') > 200 and getvar("$gruptipe") != 4>>
 		<<image "characters/shared/headshots_main/big9.jpg">>
 		<<if getvar("$AlbinaQW['Friends']") >= 1 and getvar("$SchoolGossip") > 0 and rand(0,1) == 0>>
 			<<set $AlbinaBlockHumiliation = 1>>
@@ -497,10 +497,10 @@
 				<</actCLA>>
 			<</actCLA>>
 		<</if>>
-	<<elseif getvar("$break_rand") == 6 and getvar("$fame['pav_slut']") > 250>>
+	<<elseif getvar("$break_rand") == 6 and $pc.fame('pav_slut') > 250>>
 		<<image "locations/pavlovsk/school/lunch/blowme.jpg">>
 		<p>During the break, some guy you've never seen before approaches you. "Hi! $pc.name_nick right? I hear you're the best in the school at giving blowjobs! Want to umm, want to come with me and prove it?"</p>
-		<<if $fame['pav_prostitute'] >= $fame['pav_sex']>>
+		<<if $pc.fame('pav_prostitute') >= $pc.fame('pav_sex')>>
 			<<gs 'willpower' 'prostitution' 'resist'>>
 			<p>He then adds "I'll give you 50 <b>₽</b>?"</p>
 		<<else>>
@@ -510,7 +510,7 @@
 			<<actCLA 'Tell him to get lost (will_cost Willpower)'>>
 				<<gs 'willpower' 'pay' 'resist'>>
 				<<video "locations/pavlovsk/school/lunch/flipoff.mp4">>
-				<<if $fame['pav_prostitute'] >= $fame['pav_sex']>>
+				<<if $pc.fame('pav_prostitute') >= $pc.fame('pav_sex')>>
 					<p>You give him a haughty smile. "Sweetie, does it look like I'm working now? Come find me at my home later, or at the disco."</p>
 				<<else>>
 					<<gs 'fame' 'pav' 'sex' -2>>
@@ -522,7 +522,7 @@
 			<<actCLA `'Tell him to get lost ('+$will_cost+')'`>><font color=red><br/>You don`t have enough willpower to use this action.</font><</actCLA>>
 		<</if>>
 		<<actCLA 'Go to the men`s restroom with him'>>
-			<<if $fame['pav_prostitute'] >= $fame['pav_sex']>>
+			<<if $pc.fame('pav_prostitute') >= $pc.fame('pav_sex')>>
 				<<gs 'fame' 'pav' 'prostitute' 5>>
 				<<set $finances.cash += 50>>
 			<<else>>
@@ -530,7 +530,7 @@
 			<</if>>
 			<<gt 'gschool_sex' 'lunch_bj'>>
 		<</actCLA>>
-	<<elseif getvar("$break_rand") <= 9 and getvar("$fame['pav_slut']") > 200 and getvar("$soniaPS") >= 3>>
+	<<elseif getvar("$break_rand") <= 9 and $pc.fame('pav_slut') > 200 and getvar("$soniaPS") >= 3>>
 		<p>During the break, you are approached by some gopniks. "I know why you look so glum $pc.name_nick, you miss our cocks! Ain't that right, cocksucker? Don't worry, you can come along with us. We'll give you all the dick you want."</p>
 		You struggle a bit as the guys try to grab you, and you can see them get frustrated. Then one of them says "Ah, forget about her. We already have Sonia in there, ready and willing. She'll just have to suck the dicks for both of them today."
 		They let you go and head for the restroom, laughing loudly. Some of them are already undoing their pants.
@@ -559,7 +559,7 @@
 			<<image "locations/pavlovsk/school/lunch/sex/roof.jpg">>
 			<p>Hmm he is kind of cute. It could be your good deed for the day? Plus you're bored, horny as hell and want a good fuck. Making sure no one is watching you, you tell him "Alright then, come with me." You take him by the hand and quickly guide him to the roof. At first you have to pull him along, seemingly surprised you agreed, but soon he is eagerly leading the way and pulling you along.</p>
 			<<actCLA 'Continue'>>
-				<<if $fame['pav_prostitute'] >= $fame['pav_sex']>>
+				<<if $pc.fame('pav_prostitute') >= $pc.fame('pav_sex')>>
 					<<gs 'fame' 'pav' 'prostitute' 5>>
 					<<set $finances.cash += 200>>
 				<<else>>
@@ -2216,7 +2216,7 @@
 			The school is nearly empty and you must be one of the last people left in the building. As you walk past one of the hallways, you catch sight of something, so you stop and peek back around the corner. Down at the end of the hallway, you see Lena leaning against the wall with her skirt pushed up while Lera kneels in front of her with her face buried in her crotch, obviously eating Lena out. After watching them for a few moments, you decide to leave the girls in peace and go on your way.
 			<<arouse 'voyeur_sex' 10 >>
 			<<arousalEnd>>
-		<<elseif getvar("$break_rand") == 13 and getvar("$kotovLoveQW") <= 0 and getvar("$fame['pav_slut']") > 250 and getvar("$grupTipe") == 4>>
+		<<elseif getvar("$break_rand") == 13 and getvar("$kotovLoveQW") <= 0 and $pc.fame('pav_slut') > 250 and getvar("$grupTipe") == 4>>
 			<<image "characters/shared/headshots_main/big9.jpg">>
 			<p>As you are heading out of school, you see a group of gopniks ahead of you. Just before you walk past them, Vitek steps in front of you and blocks your path. You step away from him, pulling out of his reach as you turn around. You point your finger at him. "Don't make me hurt you! You know I will."</p>
 			<p>He laughs a bit and steps up closer again, crowding you a bit, but keeps his hands to himself. "Come on $pc.name_nick. You know you want to have some fun. Stop acting like you are not all hot and bothered by this. We can help you with that itch."</p>
@@ -2244,7 +2244,7 @@
 				<!-- FAILED TO CONVERT
 					if fame['pav_slut'] > 250: 'On one wall you see written, in particularly large letters, "<b><<$pc.name_nick>> <<$pc.name_last>> = <<$gnikname>>"</b>.'
 				-----
-					<<if getvar("$fame['pav_slut']") > 250>>
+					<<if $pc.fame('pav_slut') > 250>>
 					<!-- FAILED TO CONVERT
 	'On one wall you see written, in particularly large letters, "<b><<$pc.name_nick>> <<$pc.name_last>> = <<$gnikname>>"</b>.'
 -----
@@ -2277,7 +2277,7 @@
 					<</actCLA>>
 				<</actCLA>>
 			<</actCLA>>
-		<<elseif getvar("$break_rand") == 13 and getvar("$kotovLoveQW") <= 0 and getvar("$fame['pav_slut']") > 300 and getvar("$grupTipe") != 4>>
+		<<elseif getvar("$break_rand") == 13 and getvar("$kotovLoveQW") <= 0 and $pc.fame('pav_slut') > 300 and getvar("$grupTipe") != 4>>
 			<<image "characters/shared/headshots_main/big9.jpg">>
 			<p>As you are heading out of school, you see a group of gopniks ahead of you. Just before you walk past them, Vitek steps in front of you and blocks your path. You look at Vitek with contempt. "What the fuck do you want?" He's not impressed in the slightest.</p>
 			<p>"I'll show you what the fuck I want slut." He suddenly grabs you by the hair and presses your face against his desk. "What I want is your lips around my dick, right now. Everyone already knows you're a $gnikname, so you better start acting like it or there will be consequences." He turns to his friends and says "Come on boys, this whore doesn't understand her place in life. It's about time we show her."</p>

+ 1 - 1
sugarcube/src/activities/school/gschool_lunch.tw

@@ -30,7 +30,7 @@
 		<<gt 'gschool_lunch' 'marcus_event'>>
 
 	<</if>>
-	<<if getvar("$cheerleadingQW['bella_stasya_gossip']") == 0 and getvar("$cheerleadingQW['quest_stage']") == 0 and getvar("$cheerleadingQW['gossip']") >= 3 and ($q.school.func('isGroupMember','cool') or $pc.fame('pav_slut') >= 200)>>
+	<<if $q.cheerleading?.get('bella_stasya_gossip') == 0 and $q.cheerleading?.get('quest_stage') == 0 and $q.cheerleading?.get('gossip') >= 3 and ($q.school.func('isGroupMember','cool') or $pc.fame('pav_slut') >= 200)>>
 		<<gt 'gschool_coolkid_chats' 'cherleading_notice'>>
 
 	<</if>>

+ 8 - 8
sugarcube/src/activities/school/gschool_socialchg.tw

@@ -22,13 +22,13 @@
 	<<elseif $q.school.groups['gopniks'].rel < 400 and $q.school.groups['gopniks'].rel > 350 and $grupwarning[1] > 1>>
 		<<setinit $grupwarning[4] = 1>>
 	<</if>>
-	<<if getvar("$fame['pav_slut']") > 225 and $q.school.func('isGroupMember','cool')>>
+	<<if $pc.fame('pav_slut') > 225 and $q.school.func('isGroupMember','cool')>>
 		<<gt 'gschool_socialchg' 'Pavlovsk slut'>>
-	<<elseif getvar("$fame['pav_slut']") > 250 and $q.school.func('isGroupMember','jocks')>>
+	<<elseif $pc.fame('pav_slut') > 250 and $q.school.func('isGroupMember','jocks')>>
 		<<gt 'gschool_socialchg' 'Pavlovsk slut'>>
-	<<elseif getvar("$fame['pav_slut']") > 175 and $q.school.func('isGroupMember','nerds')>>
+	<<elseif $pc.fame('pav_slut') > 175 and $q.school.func('isGroupMember','nerds')>>
 		<<gt 'gschool_socialchg' 'Pavlovsk slut'>>
-	<<elseif getvar("$fame['pav_slut']") > 300 and $q.school.func('isGroupMember','gopniks')>>
+	<<elseif $pc.fame('pav_slut') > 300 and $q.school.func('isGroupMember','gopniks')>>
 		<<gt 'gschool_socialchg' 'Pavlovsk slut'>>
 	<<elseif $grupvalue[1] < 200 and $q.school.func('isGroupMember','cool')>>
 		<<gt 'gschool_socialchg' 'coolkid outcast'>>
@@ -36,7 +36,7 @@
 		<<gt 'gschool_socialchg' 'coolkid warn 1'>>
 	<<elseif $grupvalue[1] < 300 and $q.school.func('isGroupMember','cool') and $grupwarning[1] >= 0>>
 		<<gt 'gschool_socialchg' 'coolkid warn 2'>>
-	<<elseif getvar("$fame['pav_slut']") > 175 and $q.school.func('isGroupMember','cool') and $grupslutwarning[1] == 0>>
+	<<elseif $pc.fame('pav_slut') > 175 and $q.school.func('isGroupMember','cool') and $grupslutwarning[1] == 0>>
 		<<gt 'gschool_socialchg' 'coolkid slut warn'>>
 	<<elseif $grupvalue[2] < 200 and $q.school.func('isGroupMember','jocks')>>
 		<<gt 'gschool_socialchg' 'jock outcast'>>
@@ -44,7 +44,7 @@
 		<<gt 'gschool_socialchg' 'jock warn 1'>>
 	<<elseif $grupvalue[2] < 300 and $q.school.func('isGroupMember','jocks') and $grupwarning[2] >= 0>>
 		<<gt 'gschool_socialchg' 'jock warn 2'>>
-	<<elseif getvar("$fame['pav_slut']") > 200 and $q.school.func('isGroupMember','jocks') and $grupslutwarning[2] == 0>>
+	<<elseif $pc.fame('pav_slut') > 200 and $q.school.func('isGroupMember','jocks') and $grupslutwarning[2] == 0>>
 		<<gt 'gschool_socialchg' 'jock slut warn'>>
 	<<elseif $grupvalue[3] < 200 and $q.school.func('isGroupMember','nerds')>>
 		<<gt 'gschool_socialchg' 'nerd outcast'>>
@@ -52,7 +52,7 @@
 		<<gt 'gschool_socialchg' 'nerd warn 1'>>
 	<<elseif $grupvalue[3] < 300 and $q.school.func('isGroupMember','nerds') and $grupwarning[3] >= 0>>
 		<<gt 'gschool_socialchg' 'nerd warn 2'>>
-	<<elseif getvar("$fame['pav_slut']") > 125 and $q.school.func('isGroupMember','nerds') and $grupslutwarning[3] == 0>>
+	<<elseif $pc.fame('pav_slut') > 125 and $q.school.func('isGroupMember','nerds') and $grupslutwarning[3] == 0>>
 		<<gt 'gschool_socialchg' 'nerd slut warn'>>
 	<<elseif $grupvalue[4] < 200 and $q.school.func('isGroupMember','gopniks')>>
 		<<gt 'gschool_socialchg' 'gopnik outcast'>>
@@ -60,7 +60,7 @@
 		<<gt 'gschool_socialchg' 'gopnik warn 1'>>
 	<<elseif $grupvalue[4] < 300 and $q.school.func('isGroupMember','gopniks') and $grupwarning[4] >= 0>>
 		<<gt 'gschool_socialchg' 'gopnik warn 2'>>
-	<<elseif getvar("$fame['pav_slut']") > 250 and $q.school.func('isGroupMember','gopniks') and $grupslutwarning[4] == 0>>
+	<<elseif $pc.fame('pav_slut') > 250 and $q.school.func('isGroupMember','gopniks') and $grupslutwarning[4] == 0>>
 		<<gt 'gschool_socialchg' 'gopnik slut warn'>>
 	<<elseif $pc.fame('pav_slut') < 175 and $q.school.groups['cool'].rel > 800 and getvar("$grupTipe") != 1>>
 		<<gt 'gschool_socialchg' 'coolkid'>>

+ 40 - 40
sugarcube/src/autogenerated/unsorted/fame_events.tw

@@ -8,73 +8,73 @@
 	<<set $temp = rand(0,2)>>
 	<<if getvar("$temp") == 0>>
 		<<if $fame[$$ARGS[1] + '_kickboxing'] >= rand(500,1000)>>
-			<<setinit $fame['activity'] = 'kickboxing'>>
-			<<setinit $fame['noun'] = 'kickboxer'>>
+			<<run $pc.fameSet('activity','kickboxing')>>
+			<<run $pc.fameSet('noun','kickboxer')>>
 			<<gt 'fame_events' 'boy' '$ARGS[1]'>>
 		<</if>>
 	<<elseif getvar("$temp") == 1>>
 		<<if $fame[$$ARGS[1] + '_running'] >= rand(500,1000)>>
-			<<setinit $fame['activity'] = 'running'>>
-			<<setinit $fame['noun'] = 'runner'>>
+			<<run $pc.fameSet('activity','running')>>
+			<<run $pc.fameSet('noun','runner')>>
 			<<gt 'fame_events' 'boy' '$ARGS[1]'>>
 		<</if>>
 	<<elseif getvar("$temp") == 2>>
 		<<if $fame[$$ARGS[1] + '_music'] >= rand(500,1000)>>
-			<<setinit $fame['activity'] = 'singing'>>
-			<<setinit $fame['noun'] = 'singer'>>
+			<<run $pc.fameSet('activity','singing')>>
+			<<run $pc.fameSet('noun','singer')>>
 			<<gt 'fame_events' 'boy' '$ARGS[1]'>>
 		<</if>>
 	<<elseif getvar("$temp") == 3>>
 		<<if $fame[$$ARGS[1] + '_kickboxing'] >= rand(500,1000)>>
-			<<setinit $fame['activity'] = 'kickboxing'>>
-			<<setinit $fame['noun'] = 'kickboxer'>>
+			<<run $pc.fameSet('activity','kickboxing')>>
+			<<run $pc.fameSet('noun','kickboxer')>>
 			<<gt 'fame_events' 'girl' '$ARGS[1]'>>
 		<</if>>
 	<<elseif getvar("$temp") == 4>>
 		<<if $fame[$$ARGS[1] + '_running'] >= rand(500,1000)>>
-			<<setinit $fame['activity'] = 'running'>>
-			<<setinit $fame['noun'] = 'runner'>>
+			<<run $pc.fameSet('activity','running')>>
+			<<run $pc.fameSet('noun','runner')>>
 			<<gt 'fame_events' 'girl' '$ARGS[1]'>>
 		<</if>>
 	<<elseif getvar("$temp") == 5>>
 		<<if $fame[$$ARGS[1] + '_music'] >= rand(500,1000)>>
-			<<setinit $fame['activity'] = 'singing'>>
-			<<setinit $fame['noun'] = 'singer'>>
+			<<run $pc.fameSet('activity','singing')>>
+			<<run $pc.fameSet('noun','singer')>>
 			<<gt 'fame_events' 'girl' '$ARGS[1]'>>
 		<</if>>
 	<</if>>
 <</if>>
 <<if $location_var[$here][0] == 'boy'>>
 	<!-- !!A boy fan ask for a selfie at the street.-->
-	<<setinit $fame['event_day'] = $time.daystart>>
+	<<run $pc.fameSet('event_day',$time.daystart)>>
 	<<set $time.minutes += 2>>
 	<<image "locations/shared/fame/boyapproaching1.jpg">>
 	<<if getvar("$stat_visible_cum") == 1>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so... uhh..." his voice falters as he notices the cum on you. He then gathers his courage and continues "so... uhh... cool!"</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so... uhh..." his voice falters as he notices the cum on you. He then gathers his courage and continues "so... uhh... cool!"</p>
 	<<elseif getvar("$CloThinness") == 6 and ($wardrobe.braworntype == 'salacious' or $wardrobe.braworntype == 'none')>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so... uhh..." He trails off when he realizes that he can practically see straight through your top to your your breasts. His cheeks flush and he gulps heavily before managing to continue on in a stammer. "Uhh... great at, uh, $fame['activity']..."</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so... uhh..." He trails off when he realizes that he can practically see straight through your top to your your breasts. His cheeks flush and he gulps heavily before managing to continue on in a stammer. "Uhh... great at, uh, $pc.fame('activity')..."</p>
 		He smiles genuinely, but hesitantly and you can tell he's having a really hard time maintaining eye contact with you now. In fact, he's failing quite frequently.
 	<<elseif getvar("$CloThinness") == 5 and ($wardrobe.braworntype == 'salacious' or $wardrobe.braworntype == 'none')>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so..." He trails off for a brief moment and you see his eyes flicker downward for a moment before snapping back up. It was just a small twitch, but you suddenly feel very aware of how thin your top is and how certain things might be "poking" out.</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so..." He trails off for a brief moment and you see his eyes flicker downward for a moment before snapping back up. It was just a small twitch, but you suddenly feel very aware of how thin your top is and how certain things might be "poking" out.</p>
 		<p>"Sorry," he stammers on, clearly embarrassed that you noticed his glance. "I just wanted to say that you're so cool!"</p>
 	<<elseif getvar("$CloThinness") == 6>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so cool!"</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so cool!"</p>
 		He grins widely though it falters for a moment when his eyes grow wide, staring at your lewd outfit.
 	<<else>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so cool!"</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited boy few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so cool!"</p>
 	<</if>>
 	<<actCLA 'Thank you!'>>
 		<<image "locations/shared/fame/boyapproaching1.jpg">>
 		<p>"Wow, thank you!" you smile back. "It's always nice to meet a fan!"</p>
-		<<if $fame['activity'] == 'kickboxing'>>
+		<<if $pc.fame('activity') == 'kickboxing'>>
 			<p>"I try to watch all you matches, you are best kickboxer in the city. I am sure you will beat all your opponents!"</p>
-		<<elseif $fame['activity'] == 'running'>>
+		<<elseif $pc.fame('activity') == 'running'>>
 			<<if getvar("$razradbegEG") > 0>>
 				<p>"I try to watch all you races, you are best runner in the city. I am sure you will also win the next championship!"</p>
 			<<else>>
 				<p>"I try to watch all you races, you are best runner in the city. I am sure you will become the next champion in no time!"</p>
 			<</if>>
-		<<elseif $fame['activity'] == 'singing'>>
+		<<elseif $pc.fame('activity') == 'singing'>>
 			<p>"I listen to you all the time, and have saved all your performances. You make the best music!"</p>
 		<</if>>
 		<p>"That's so kind of you! I really appreciate your support."</p>
@@ -82,10 +82,10 @@
 		<<actCLA 'Of course!'>>
 			<<set $pc.mood += 50>>
 			<<set $time.minutes += 6>>
-			<<if $fame['activity'] == 'singing'>>
+			<<if $pc.fame('activity') == 'singing'>>
 				<<gs 'fame' '$ARGS[1]' 'music' 'medium'>>
 			<<else>>
-				<<gs 'fame' '$ARGS[1]' '$fame['activity']' 'medium'>>
+				<<gs 'fame' '$ARGS[1]' '$pc.fame('activity')' 'medium'>>
 			<</if>>
 			<<image "locations/shared/fame/boyselfie1.jpg">>
 			<p>"Of course!" you say, scooching over towards him.</p>
@@ -104,16 +104,16 @@
 			<<else>>
 				You sidle up to him, giving a big smile into his camera phone. After a few moments, the boy manages to thumb the button and an artificial shuttering sound goes off. He immediately pulls it up for review and you take a look at it with him. It's a cute picture, the two of you together and he giggles excitedly just looking at it.
 			<</if>>
-			<p>"Thank you! Thank you! Thank you so much!" he says elatedly. "You are the best! I will be cheering for you whenever you are $fame['activity']" looking like he's just gotten his greatest wish fulfilled as you happily go on with your day. It seems all your hard work is finally starting to pay off.</p>
+			<p>"Thank you! Thank you! Thank you so much!" he says elatedly. "You are the best! I will be cheering for you whenever you are $pc.fame('activity')" looking like he's just gotten his greatest wish fulfilled as you happily go on with your day. It seems all your hard work is finally starting to pay off.</p>
 			<<actCLA 'Leave'>>
 				<<gt $location>>
 			<</actCLA>>
 		<</actCLA>>
 		<<actCLA 'Sorry, I`m in a hurry'>>
-			<<if $fame['activity'] == 'singing'>>
+			<<if $pc.fame('activity') == 'singing'>>
 				<<gs 'fame' '$ARGS[1]' 'music' -50>>
 			<<else>>
-				<<gs 'fame' '$ARGS[1]' '$fame['activity']' -50>>
+				<<gs 'fame' '$ARGS[1]' '$pc.fame('activity')' -50>>
 			<</if>>
 			<<set $time.minutes += 2>>
 			<<image "locations/shared/fame/boyrejection1.jpg">>
@@ -136,33 +136,33 @@
 <</if>>
 <<if $location_var[$here][0] == 'girl'>>
 	<!-- !!A girl fan ask for a selfie at the street. Pictures not found yet hence the event will not be selected.-->
-	<<setinit $fame['event_day'] = $time.daystart>>
+	<<run $pc.fameSet('event_day',$time.daystart)>>
 	<<set $time.minutes += 2>>
 	<<if getvar("$stat_visible_cum") == 1>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so... uhh..." her voice falters as she notices the cum on you. She then gathers her courage and continues "so... uhh... cool..."</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so... uhh..." her voice falters as she notices the cum on you. She then gathers her courage and continues "so... uhh... cool..."</p>
 	<<elseif getvar("$CloThinness") == 6 and ($wardrobe.braworntype == 'salacious' or $wardrobe.braworntype == 'none')>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so... uhh..." She trails off when she realizes that she can practically see straight through your top. Her cheeks flush and she gulps heavily before managing to continue on in a stammer. "Uhh... great at, uh, $fame['activity']..."</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so... uhh..." She trails off when she realizes that she can practically see straight through your top. Her cheeks flush and she gulps heavily before managing to continue on in a stammer. "Uhh... great at, uh, $pc.fame('activity')..."</p>
 		Her blush deepens even more, very pointedly staring at your face, seemingly trying to pretend she doesn''t notice your breasts fully on display in front of her face.
 	<<elseif getvar("$CloThinness") == 5 and ($wardrobe.braworntype == 'salacious' or $wardrobe.braworntype == 'none')>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so..." She trails off for a brief moment and you see her eyes flicker downward for a moment before snapping back up. It was just a small twitch, but you suddenly feel very aware of how thin your top is and how certain things might be "poking" out.</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so..." She trails off for a brief moment and you see her eyes flicker downward for a moment before snapping back up. It was just a small twitch, but you suddenly feel very aware of how thin your top is and how certain things might be "poking" out.</p>
 		<p>"Sorry," she stammers on, clearly embarrassed that you noticed her glance. "I just wanted to say that you're so cool!"</p>
 	<<elseif getvar("$CloThinness") == 6>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so cool!"</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so cool!"</p>
 		She grins widely though it falters for a moment when her eyes grow wide, staring at your lewd outfit.
 	<<else>>
-		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $fame['noun']? It is you, isn't it! You're so cool!"</p>
+		<p>"Excuse me! $pc.name_first $pc.name_last?" you hear from behind you. Turning around, you see an excited girl few years younger than yourself coming towards you. "$pc.name_first $pc.name_last! The $pc.fame('noun')? It is you, isn't it! You're so cool!"</p>
 	<</if>>
 	<<actCLA 'Thank you!'>>
 		<p>"Wow, thank you!" you smile back. "It's always nice to meet a fan!"</p>
-		<<if $fame['activity'] == 'kickboxing'>>
+		<<if $pc.fame('activity') == 'kickboxing'>>
 			<p>"I try to watch all you matches, you are best kickboxer in the city. I am sure you will beat all your opponents!"</p>
-		<<elseif $fame['activity'] == 'running'>>
+		<<elseif $pc.fame('activity') == 'running'>>
 			<<if getvar("$razradbegEG") > 0>>
 				<p>"I try to watch all you races, you are best runner in the city. I am sure you will also win the next championship!"</p>
 			<<else>>
 				<p>"I try to watch all you races, you are best runner in the city. I am sure you will become the next champion in no time!"</p>
 			<</if>>
-		<<elseif $fame['activity'] == 'singing'>>
+		<<elseif $pc.fame('activity') == 'singing'>>
 			<p>"I listen to you all the time, and have saved all your performances. You make the best music!"</p>
 		<</if>>
 		<p>"That's so kind of you! I really appreciate your support."</p>
@@ -170,10 +170,10 @@
 		<<actCLA 'Of course!'>>
 			<<set $pc.mood += 50>>
 			<<set $time.minutes += 6>>
-			<<if $fame['activity'] == 'singing'>>
+			<<if $pc.fame('activity') == 'singing'>>
 				<<gs 'fame' '$ARGS[1]' 'music' 'medium'>>
 			<<else>>
-				<<gs 'fame' '$ARGS[1]' '$fame['activity']' 'medium'>>
+				<<gs 'fame' '$ARGS[1]' '$pc.fame('activity')' 'medium'>>
 			<</if>>
 			<p>"Of course!" you say, scooching over towards her.</p>
 			<<if getvar("$stat_visible_cum") == 1>>
@@ -191,16 +191,16 @@
 			<<else>>
 				You sidle up to her, giving a big smile into her camera phone. After a few moments, the girl manages to thumb the button and an artificial shuttering sound goes off. She immediately pulls it up for review and you take a look at it with her. It's a cute picture, the two of you together and she giggles excitedly just looking at it.
 			<</if>>
-			<p>"Thank you! Thank you! Thank you so much!" she says elatedly. "You are the best! I will be cheering for you whenever you are $fame['activity']" looking like she's just gotten her greatest wish fulfilled as you happily go on with your day. It seems all your hard work is finally starting to pay off.</p>
+			<p>"Thank you! Thank you! Thank you so much!" she says elatedly. "You are the best! I will be cheering for you whenever you are $pc.fame('activity')" looking like she's just gotten her greatest wish fulfilled as you happily go on with your day. It seems all your hard work is finally starting to pay off.</p>
 			<<actCLA 'Leave'>>
 				<<gt $location>>
 			<</actCLA>>
 		<</actCLA>>
 		<<actCLA 'Sorry, I`m in a hurry'>>
-			<<if $fame['activity'] == 'singing'>>
+			<<if $pc.fame('activity') == 'singing'>>
 				<<gs 'fame' '$ARGS[1]' 'music' -50>>
 			<<else>>
-				<<gs 'fame' '$ARGS[1]' '$fame['activity']' -50>>
+				<<gs 'fame' '$ARGS[1]' '$pc.fame('activity')' -50>>
 			<</if>>
 			<<set $time.minutes += 2>>
 			<p>"Sorry, I'm in a big hurry. No time. It was nice meeting you though!" You turn around to leave as a look of horror crosses her face, like this moment will haunt her dreams.</p>

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

@@ -2076,7 +2076,7 @@
 						They put you into the clothes that they've decided you're going to be modelling and you wait for the show to begin.
 						<<actCLA 'Continue'>>
 							<<set $time.hour += 1>>
-							<<set $modelpayfin = 500 + ($fame['city_modelling'] * 10) + ($modelpay * 3) + (50*rand(0,7))>>
+							<<set $modelpayfin = 500 + ($pc.fame('city_modelling') * 10) + ($modelpay * 3) + (50*rand(0,7))>>
 							<<if rand(0,1) == 1>>
 								<<run $pc.fameInc('city','modelling','medium')>>
 							<<else>>

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

@@ -122,7 +122,7 @@
 		<<actCLA 'Do the shoot'>>
 			<<image "locations/city/citycenter/photo/KD1.jpg">>
 			<<set $time.minutes += 120>>
-			<<set $modelpayfin = 900 + ($modelpay * 2) + (50 * rand(0,7)) + (($fame['city_kickboxing'] + $pc.pcs_apprnc) / 2) * 2>>
+			<<set $modelpayfin = 900 + ($modelpay * 2) + (50 * rand(0,7)) + (($pc.fame('city_kickboxing') + $pc.pcs_apprnc) / 2) * 2>>
 			<<setinit $modelfoto['nude'] += 1>>
 			<<run $pc.skillExperienceGain('modelling',rand(1,2))>>
 			<<run $pc.fameInc('city','kickboxing','medium')>>
@@ -188,7 +188,7 @@
 		<<actCLA 'Do the shoot'>>
 			<<image "locations/city/citycenter/photo/TD1.jpg">>
 			<<set $time.minutes += 120>>
-			<<set $modelpayfin = 1800 + ($modelpay * 2) + (50 * rand(0,7)) + (($fame['city_running'] + $pc.pcs_apprnc) / 2) * 2>>
+			<<set $modelpayfin = 1800 + ($modelpay * 2) + (50 * rand(0,7)) + (($pc.fame('city_running') + $pc.pcs_apprnc) / 2) * 2>>
 			<<setinit $modelfoto['nude'] += 1>>
 			<<run $pc.skillExperienceGain('modelling',rand(1,2))>>
 			<<run $pc.fameInc('city','running','small')>>

+ 3 - 3
sugarcube/src/autogenerated/unsorted/foto_shoot.tw

@@ -965,7 +965,7 @@
 <</if>>
 <<if $location_var[$here][0] == 'sportswear'>>
 	<<set $time.minutes += 120>>
-	<<set $modelpayfin = 300 + (modelpay) + (15 * rand(0,5)) + (pcs_apprnc) + ($fame['city_modelling'] / 2) + ($pc.skillLevel("modelling") / 2 * 10) + ($city_sport / 2)>>
+	<<set $modelpayfin = 300 + (modelpay) + (15 * rand(0,5)) + (pcs_apprnc) + ($pc.fame('city_modelling') / 2) + ($pc.skillLevel("modelling") / 2 * 10) + ($city_sport / 2)>>
 	<<setinit $modelfoto['fitness'] += 1>>
 	<<set $pc.pcs_sweat = 60>>
 	<<run $pc.skillExperienceGain('modelling',rand(2,4))>>
@@ -990,7 +990,7 @@
 <</if>>
 <<if $location_var[$here][0] == 'sports_underwear'>>
 	<<set $time.minutes += 120>>
-	<<set $modelpayfin = 325 + (modelpay) + (15 * rand(0,5)) + (pcs_apprnc) + ($fame['city_modelling'] / 2) + ($pc.skillLevel("modelling") / 2 * 10) + ($city_sport / 2)>>
+	<<set $modelpayfin = 325 + (modelpay) + (15 * rand(0,5)) + (pcs_apprnc) + ($pc.fame('city_modelling') / 2) + ($pc.skillLevel("modelling") / 2 * 10) + ($city_sport / 2)>>
 	<<setinit $modelfoto['fitness'] += 1>>
 	<<set $pc.pcs_sweat = 60>>
 	<<run $pc.fameInc('city','modelling','small')>>
@@ -1013,7 +1013,7 @@
 <</if>>
 <<if $location_var[$here][0] == 'fitness_artistic_nude'>>
 	<<set $time.minutes += 120>>
-	<<set $modelpay = ($pc.skillLevel("modelling") / 2 * 10) + $fame['city_modelling'] + $pc.pcs_apprnc + $city_sport>>
+	<<set $modelpay = ($pc.skillLevel("modelling") / 2 * 10) + $pc.fame('city_modelling') + $pc.pcs_apprnc + $city_sport>>
 	<<set $modelpayfin = 600 + ($modelpay * 2) + (15*rand(0,5))>>
 	<<setinit $modelfoto['fitness'] += 1>>
 	<<setinit $modelfoto['nude'] += 1>>

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

@@ -96,7 +96,7 @@
 		<</if>>
 	<</if>>
 <</if>>
-<<if rand(0,50) == 50 and $fame['event_day'] != $time.daystart and $time.hour > 8 and $time.hour < 21>>
+<<if rand(0,50) == 50 and $pc.fame('event_day') != $time.daystart and $time.hour > 8 and $time.hour < 21>>
 	<<gs 'fame_events' 'select' 'pushkin'>>
 <</if>>
 <<if rand(0,100) >= 60 and getvar("$pcs_lover") < 3 and rand(0,1200) <= $pc.pcs_apprnc>>

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

@@ -286,7 +286,7 @@
 <<if $location_var[$here][0] == 'streaming_stats'>>
 	<<set $time.minutes += $ml_streamtime>>
 	<<gs 'internet_mobile' 'use_internet' $access['subscription'] $ml_streamtime>>
-	<<set $ml_maxsuperchats = ($fame['pav_music'] + ($fame['city_music'] * 2) + $fame['pushkin_music'] + $fame['village_music'] + $pc.pcs_apprnc)>>
+	<<set $ml_maxsuperchats = ($pc.fame('pav_music') + ($pc.fame('city_music') * 2) + $pc.fame('pushkin_music') + $pc.fame('village_music') + $pc.pcs_apprnc)>>
 	<<set $ml_superchats = (rand( 0, ml_maxsuperchats) * ml_streamtime) / 60>>
 	<<if getvar("$ml_guitar['hasguitar']") == 1 and (getvar("$ml_guitar['carried']") == 1 or $ml_guitar['location'] == $loc)>>
 		<<set $ml_famebase = ($pc.skillLevel("playInstrument") + $pc.skillLevel("singing") + $pcs_perform + (($pc.hotcat - 5) * 20)) / 20>>

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

@@ -41,7 +41,7 @@
 		"I didn''t mean to offend you, I was just a little surprised is all."
 		<p>You smile. "I get that. Anyway, hello and welcome to our school. Maybe we'll chat again at some point?"</p>
 		<p>"Yes, I'd like that," she answers. "See you later, $pc.name_nick."</p>
-	<<elseif $q.school.func('isGroupMember','outcasts') and getvar("$fame['slut']") < 175>>
+	<<elseif $q.school.func('isGroupMember','outcasts') and $pc.fame('slut') < 175>>
 		You see Natalia sitting with the nerds, reading a book. When she notices you, she glances up at you.
 		<p>You smile. "Hi, I'm $pc.name_nick."</p>
 		<p>Natalia turns to you. "Umm... Hi? What brings you here?"</p>

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

@@ -79,7 +79,7 @@
 						<</actCLA>>
 					<</if>>
 				<</actCLA>>
-			<<elseif getvar("$fame['pav_slut']") > 250 and $q.school.func('isGroupMember','gopniks')>>
+			<<elseif $pc.fame('pav_slut') > 250 and $q.school.func('isGroupMember','gopniks')>>
 				<p>Suddenly one of the boys call out to you "$pc.name_nick, come over here. I've got something for you."</p>
 				<<actCLA 'Approach'>>
 					<<image "locations/pavlovsk/school/events/newyear/gopniks.jpg">>

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

@@ -374,7 +374,7 @@
 				<<actCLA 'Move away'>>
 					<<gt 'pav_complex' 'start'>>
 				<</actCLA>>
-			<<elseif (getvar("$fame['pav_slut']") >= 100 and getvar("$grupTipe") != 4) or (getvar("$fame['pav_slut']") >= 150 and $q.school.func('isGroupMember','gopniks'))>>
+			<<elseif ($pc.fame('pav_slut') >= 100 and getvar("$grupTipe") != 4) or ($pc.fame('pav_slut') >= 150 and $q.school.func('isGroupMember','gopniks'))>>
 				They look you over and one of them seems to recognize you. "Oh it's you." You're a little surprised, and his friend seems just as confused before the first one whispers something and he smiles.
 				"Sure. You can have a cigarette... if you suck our dicks first."
 				<p>"What? Why the fuck would I do that?" you reply.</p>
@@ -742,7 +742,7 @@
 				<<actCLA 'Move away'>>
 					<<gt 'pav_complex' 'start'>>
 				<</actCLA>>
-			<<elseif (getvar("$fame['pav_slut']") >= 100 and getvar("$grupTipe") != 4) or (getvar("$fame['pav_slut']") >= 150 and $q.school.func('isGroupMember','gopniks'))>>
+			<<elseif ($pc.fame('pav_slut') >= 100 and getvar("$grupTipe") != 4) or ($pc.fame('pav_slut') >= 150 and $q.school.func('isGroupMember','gopniks'))>>
 				They look you over and one of them seems to recognize you. "Oh it's you." You're a little surprised, and his friend seems just as confused before the first one whispers something and he smiles.
 				"Sure. You can have a cigarette... if you suck our dicks first."
 				<p>"What? Why the fuck would I do that?" you reply.</p>

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

@@ -1366,7 +1366,7 @@
 						<<actCLA 'Leave'>>
 							<<gt 'pav_park' 'deeper_park'>>
 						<</actCLA>>
-					<<elseif $q.school.func('isGroupMember','gopniks') and getvar("$fame['pav_slut']") >= 200 and $pc.hotcat >= 5>>
+					<<elseif $q.school.func('isGroupMember','gopniks') and $pc.fame('pav_slut') >= 200 and $pc.hotcat >= 5>>
 						With that, everyone drinks the last of the beers, and you notice the area around you is littered with empty beer bottles. Once the final beer is gone, the talking starts to wind down, and people drift off either alone or in small groups. You get up and head out as well.
 						<p>"You're pretty drunk, $pc.name_nick. Let me take you home." you hear Dan say as he takes you by the arm.</p>
 						<<gs 'willpower' 'misc' 'resist' 'medium'>>

+ 3 - 3
sugarcube/src/autogenerated/unsorted/prostitution_pavlovsk.tw

@@ -22,8 +22,8 @@
 		<<setinit $prostitute['pav_timer_day'] = $time.daystart>>
 	<</if>>
 	<<setinit $prostitute['pav_timer_hour'] = $time.hour>>
-	<<setinit $prostitute['pav_daily_max'] = ($fame['pav_prostitute'] / 100) + 2>>
-	<<setinit $prostitute['pav_rnd'] = $fame['pav_prostitute'] + 50 + $prostitute['pav_rnd_pity']>>
+	<<setinit $prostitute['pav_daily_max'] = ($pc.fame('pav_prostitute') / 100) + 2>>
+	<<setinit $prostitute['pav_rnd'] = $pc.fame('pav_prostitute') + 50 + $prostitute['pav_rnd_pity']>>
 	<<if $prostitute['work_clothes']>>
 		<<setinit $prostitute['pav_rnd'] += 100>>
 
@@ -192,7 +192,7 @@
 		<<setinit $prostitute['pav_condom'] = 0>>
 		<<setinit $prostitute['pav_total'] += 1>>
 		<<setinit $prostitute['pav_cooldown'] += 2>>
-		<<if getvar("$pro_mother['knows']") == 0 and $fame['pav_prostitute'] > rand(100,200) and getvar("$prostitute['pav_total']") > 25 and (($prostitute['pav_location'] == 'public' and rand(0,1000) < fame['pav_prostitute']) or ($prostitute['pav_location'] == 'private' and rand(0,2000) < fame['pav_prostitute']))>>
+		<<if getvar("$pro_mother['knows']") == 0 and $pc.fame('pav_prostitute') > rand(100,200) and getvar("$prostitute['pav_total']") > 25 and (($prostitute['pav_location'] == 'public' and rand(0,1000) < fame['pav_prostitute']) or ($prostitute['pav_location'] == 'private' and rand(0,2000) < fame['pav_prostitute']))>>
 			<<setinit $pro_mother['knows'] = 1>>
 
 		<</if>>

+ 5 - 5
sugarcube/src/autogenerated/unsorted/uni_lessons_electives1.tw

@@ -60,7 +60,7 @@
 			<<gs 'npc_relationship' 'modify' 'A1' 'like'>>
 			<<run $pc.skillExperienceGain('charisma',rand(1,2))>>
 			<<image "locations/city/island/university/classroom/talk.jpg">>
-			<<if getvar("$fame['city_slut']") >= 250 or getvar("$fame['pav_slut']") >= 250>>
+			<<if $pc.fame('city_slut') >= 250 or $pc.fame('pav_slut') >= 250>>
 				<<if $npcs.get('A1','rel') >= 60>>
 					You sit next to Dimka, but other than making a few crude remarks about your sexual exploits, he just ignores you and a fellow student asks you to be quiet.
 				<<else>>
@@ -85,7 +85,7 @@
 			<<run $pc.skillExperienceGain('charisma',rand(1,2))>>
 			<<image "locations/city/island/university/classroom/talk.jpg">>
 			<<if $npcs.get('A144','rel') >= 60>>
-				<<if getvar("$fame['city_slut']") >= 300 or getvar("$fame['pav_slut']") >= 300>>
+				<<if $pc.fame('city_slut') >= 300 or $pc.fame('pav_slut') >= 300>>
 					<p>You sit next to Anushka, who she smiles at you as you take a seat. "What up, slut?"</p>
 					You know she's just being her normal playful self and the two of you are talking away and missing much of the class.
 				<<else>>
@@ -122,7 +122,7 @@
 			<<image "locations/city/island/university/classroom/talk.jpg">>
 			<<if getvar("$NatbelQW['Lover']") >= 2>>
 				You sit next to Natasha and quietly chat about various topics, but mainly concentrate on the issues raised during the lecture as you know it'll help her with her blog and career. You keep your voices down and ensure you don't interrupt the lecture.
-			<<elseif getvar("$fame['city_slut']") >= 175 or getvar("$fame['pav_slut']") >= 175>>
+			<<elseif $pc.fame('city_slut') >= 175 or $pc.fame('pav_slut') >= 175>>
 				<<if $npcs.get('A16','rel') >= 60>>
 					You sit next to Natasha. She's a little surprised that you chose to do so and blushes slightly, but you're able to strike up a brief but awkward conversation with her before a fellow student glares at you and asks you to be quiet.
 				<<elseif $npcs.get('A16','rel') <= 20>>
@@ -166,7 +166,7 @@
 			<<gs 'npc_relationship' 'modify' 'A1' 'like'>>
 			<<run $pc.skillExperienceGain('charisma',rand(1,2))>>
 			<<image "locations/city/island/university/classroom/talk.jpg">>
-			<<if getvar("$fame['city_slut']") >= 250 or getvar("$fame['pav_slut']") >= 250>>
+			<<if $pc.fame('city_slut') >= 250 or $pc.fame('pav_slut') >= 250>>
 				<<if $npcs.get('A4','rel') >= 60>>
 					You sit next to Igor. He's polite, but seems more focused on the class than wanting to talk to you.
 				<<elseif $npcs.get('A4','rel') <= 20>>
@@ -208,7 +208,7 @@
 			<<image "locations/city/island/university/classroom/talk.jpg">>
 			<<if getvar("$NatbelQW['Lover']") >= 2>>
 				You sit next to Natasha and queitly chat about various topics, but mainly concentrate on the lecture as you know it'll help her with her career. You keep your voices down and ensure you don't interrupt the lecture.
-			<<elseif getvar("$fame['city_slut']") >= 175 or getvar("$fame['pav_slut']") >= 175>>
+			<<elseif $pc.fame('city_slut') >= 175 or $pc.fame('pav_slut') >= 175>>
 				<<if $npcs.get('A16','rel') >= 60>>
 					You sit next to Natasha. She's a little surprised that you chose to do so, but you're able to strike up a brief, if a little awkward, conversation with her before a fellow student asks you to be quiet.
 				<<elseif $npcs.get('A16','rel') <= 20>>

+ 5 - 5
sugarcube/src/autogenerated/unsorted/uni_lessons_electives2.tw

@@ -59,7 +59,7 @@
 			<<gs 'npc_relationship' 'modify' 'A1' 'like'>>
 			<<run $pc.skillExperienceGain('charisma',rand(1,2))>>
 			<<image "locations/city/island/university/classroom/talk.jpg">>
-			<<if getvar("$fame['city_slut']") >= 250 or getvar("$fame['pav_slut']") >= 250>>
+			<<if $pc.fame('city_slut') >= 250 or $pc.fame('pav_slut') >= 250>>
 				<<if $npcs.get('A4','rel') >= 60>>
 					You sit next to Dimka, but other than making a few crude remarks about your sexual exploits, he just ignores you and a fellow student asks you to be quiet.
 				<<else>>
@@ -84,7 +84,7 @@
 			<<run $pc.skillExperienceGain('charisma',rand(1,2))>>
 			<<image "locations/city/island/university/classroom/talk.jpg">>
 			<<if $npcs.get('A144','rel') >= 60>>
-				<<if getvar("$fame['city_slut']") >= 300 or getvar("$fame['pav_slut']") >= 300>>
+				<<if $pc.fame('city_slut') >= 300 or $pc.fame('pav_slut') >= 300>>
 					<p>You sit next to Anushka, who she smiles at you as you take a seat. "What up, slut?"</p>
 					You know she's just being her normal playful self and the two of you are talking away and missing much of the class.
 				<<else>>
@@ -121,7 +121,7 @@
 			<<image "locations/city/island/university/classroom/talk.jpg">>
 			<<if getvar("$NatbelQW['Lover']") >= 2>>
 				You sit next to Natasha and queitly chat about various topics, but mainly concentrate on the lecture as you know it'll help her with her career. You keep your voices down and ensure you don't interrupt the lecture.
-			<<elseif getvar("$fame['city_slut']") >= 175 or getvar("$fame['pav_slut']") >= 175>>
+			<<elseif $pc.fame('city_slut') >= 175 or $pc.fame('pav_slut') >= 175>>
 				<<if $npcs.get('A16','rel') >= 60>>
 					You sit next to Natasha. She's a little surprised that you chose to do so and blushes slightly, but you're able to strike up a brief but awkward conversation with her before a fellow student glares at you and asks you to be quiet.
 				<<elseif $npcs.get('A16','rel') <= 20>>
@@ -165,7 +165,7 @@
 			<<gs 'npc_relationship' 'modify' 'A1' 'like'>>
 			<<run $pc.skillExperienceGain('charisma',rand(1,2))>>
 			<<image "locations/city/island/university/classroom/talk.jpg">>
-			<<if getvar("$fame['city_slut']") >= 250 or getvar("$fame['pav_slut']") >= 250>>
+			<<if $pc.fame('city_slut') >= 250 or $pc.fame('pav_slut') >= 250>>
 				<<if $npcs.get('A4','rel') >= 60>>
 					You sit next to Igor. He's polite, but seems more focused on the class than wanting to talk to you.
 				<<elseif $npcs.get('A4','rel') <= 20>>
@@ -207,7 +207,7 @@
 			<<image "locations/city/island/university/classroom/talk.jpg">>
 			<<if getvar("$NatbelQW['Lover']") >= 2>>
 				You sit next to Natasha and queitly chat about various topics, but mainly concentrate on the lecture as you know it'll help her with her career. You keep your voices down and ensure you don't interrupt the lecture.
-			<<elseif getvar("$fame['city_slut']") >= 175 or getvar("$fame['pav_slut']") >= 175>>
+			<<elseif $pc.fame('city_slut') >= 175 or $pc.fame('pav_slut') >= 175>>
 				<<if $npcs.get('A16','rel') >= 60>>
 					You sit next to Natasha. She's a little surprised that you chose to do so, but you're able to strike up a brief, if a little awkward, conversation with her before a fellow student asks you to be quiet.
 				<<elseif $npcs.get('A16','rel') <= 20>>

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

@@ -416,7 +416,7 @@
 				<<if $npcs.get('A144','rel') >= 60>>
 					You wait out in the hallway for a few minutes before the young black man comes out with Anushka. They're talking and laughing together. "Hello there," he says to you. Anushka then introduces you to each other, and you find out his name is Djibril. "Well, I need to get going girls. Catch you later, Nush." He walks away while giving you a friendly smile.
 					<p>Once he's gone, you turn to Anushka. "Hey, what's up?"</p>
-					<<if getvar("$fame['city_slut']") >= 300 or getvar("$fame['pav_slut']") >= 300>>
+					<<if $pc.fame('city_slut') >= 300 or $pc.fame('pav_slut') >= 300>>
 						<p>She smiles as she sees you. "What up, slut?" You know she's just being her normal playful self.</p>
 					<<else>>
 						<p>She smiles as she sees you. "What up, bitch?" You know she's just being her normal playful self.</p>
@@ -550,7 +550,7 @@
 	<<image "locations/city/island/university/lecture_hall/hallway.jpg">>
 	<p>You wait out in the hallway for a few minutes before Anushka comes out. "Hey. What's up?" you ask.</p>
 	<<if $npcs.get('A144','rel') >= 60>>
-		<<if getvar("$fame['city_slut']") >= 300 or getvar("$fame['pav_slut']") >= 300>>
+		<<if $pc.fame('city_slut') >= 300 or $pc.fame('pav_slut') >= 300>>
 			<p>She smiles when she sees you. "What up, slut?" You know she's just being her normal playful self.</p>
 		<<else>>
 			<p>She smiles when she sees you. "What up, bitch?" You know she's just being her normal playful self.</p>

+ 1 - 1
sugarcube/src/events/street_event.tw

@@ -180,7 +180,7 @@ ie. gt'street_event','home'
 		<<gt 'nichTaras' 'van'>>
 
 	<</if>>
-	<<if rand(0,50) == 50 and $fame['event_day'] != $time.daystart and $time.hour > 8 and $time.hour < 21>>
+	<<if rand(0,50) == 50 and $pc.fame('event_day') != $time.daystart and $time.hour > 8 and $time.hour < 21>>
 		<<if $loc == 'pav_commercial'>>
 			<<gs 'fame_events' 'select' 'pav'>>
 		<<elseif $loc == 'city_center'>>

+ 2 - 2
sugarcube/src/locations/pavlov/disco/pav_disco_coolkids.tw

@@ -1202,7 +1202,7 @@
 					<<gt 'pav_disco_classmates' 'classmates'>>
 				<</actCLA>>
 			<<elseif $pc.fame('pav_slut') >= 200>>
-				<<if getvar("$katjaQW['QWstage']") > 2 and $fame['pav_slut'] < $katjaQW['slut'] + 150>>
+				<<if getvar("$katjaQW['QWstage']") > 2 and $pc.fame('pav_slut') < $katjaQW['slut'] + 150>>
 					<<image "characters/pavlovsk/school/girl/katja/katja_dance.jpg">>
 					<<if getvar("$katjaQW['QWstage']") > 2>>
 						<<setinit $katjaQW['horny'] += 5 * (1 + $npcs.get('A14','sex'))>>
@@ -1298,7 +1298,7 @@
 					<<gt 'pav_disco_classmates' 'classmates'>>
 				<</actCLA>>
 			<<elseif $pc.fame('pav_slut') >= 200>>
-				<<if getvar("$katjaQW['QWstage']") > 2 and $fame['pav_slut'] < $katjaQW['slut'] + 150>>
+				<<if getvar("$katjaQW['QWstage']") > 2 and $pc.fame('pav_slut') < $katjaQW['slut'] + 150>>
 					<<if getvar("$katjaQW['QWstage']") > 2>>
 						<<setinit $katjaQW['horny'] += 5 * (1 + $npcs.get('A14','sex'))>>
 

+ 1 - 1
sugarcube/src/locations/pavlov/disco/pav_disco_jocks.tw

@@ -170,7 +170,7 @@
 	<<actCLA 'Hang out with him'>>
 		<<set $time.minutes += 15>>
 		<<image "characters/shared/headshots_main/big3.jpg">>
-		<<if getvar("$fame['pav_slut']") >= 250 or $q.school.func('isGroupMember','outcasts')>>
+		<<if $pc.fame('pav_slut') >= 250 or $q.school.func('isGroupMember','outcasts')>>
 			<p>"Hold up Ivan! I need to talk to you." you call out as you approach him.</p>
 			<p>Ivan stops and gives you a confused look. "Why are you talking to me? I don't really have anything to say to you."</p>
 			"Come on, don't be like that. I thought we could just talk." you say with a smile.

+ 4 - 4
sugarcube/src/locations/pavlov/residential/pod_ezd.tw

@@ -754,7 +754,7 @@
 		<<set $siga += 1>>
 		<<gs 'drugs' 'smoke'>>
 		<<image "locations/pavlovsk/resident/apartment/stairs/event/smokeboys.jpg">>
-		<<if $pc.fame('pav_slut') >= 250 and $fame['pav_sex'] < $fame['pav_prostitute']>>
+		<<if $pc.fame('pav_slut') >= 250 and $pc.fame('pav_sex') < $pc.fame('pav_prostitute')>>
 			<p>As you smoke the cigarette, you hear the boys whisper among themselves. "That's $pc.name_nick! I heard she's a '+func('gopsex','hide','gg_whore_text')+'. From what I've been told she'll let you do anything to her if the price is right, let's see if she'll fuck us cheap!."</p>
 			<p>One of the guys walks close to you, and gestures for you to lean your head closer to his. When you do, he pulls all of his money out of his pocket. He counts the crumpled bills and offers them to you, asking, "Is rnd_money_sex <b>₽</b> enough for two?"</p>
 			He never mentions what exactly he wants you to do for him and his friend but their lecherous and lustful eyes keep roaming all over your body.
@@ -768,7 +768,7 @@
 				<<run $pc.fameInc('pav','prostitute',`rand(3,9)`)>>
 				<<gt 'pod_ezd' 'sex_evrand(1,3)'>>
 			<</actCLA>>
-		<<elseif $pc.fame('pav_slut') >= 250 and $fame['pav_sex'] >= $pc.fame('pav_prostitute')>>
+		<<elseif $pc.fame('pav_slut') >= 250 and $pc.fame('pav_sex') >= $pc.fame('pav_prostitute')>>
 			<<run $pc.skillExperienceGain('perception',rand(1,2))>>
 			<p>As you smoke the cigarette, you hear the boys whisper among themselves: "That's $pc.name_nick. I heard she's a total fleshlight-wannabe. I bet she would start drooling and sucking us if we unzip and show her our dicks!"</p>
 			<<actCLA 'Leave before they get any ideas'>>
@@ -801,7 +801,7 @@
 		<<set $time.minutes += 5>>
 		<<image "locations/pavlovsk/resident/apartment/stairs/event/smokeboys.jpg">>
 		You decline, but you stay for a while talking about trivial things.
-		<<if $pc.fame('pav_slut') >= 250 and $fame['pav_sex'] < $fame['pav_prostitute']>>
+		<<if $pc.fame('pav_slut') >= 250 and $pc.fame('pav_sex') < $pc.fame('pav_prostitute')>>
 			<<run $pc.skillExperienceGain('perception',rand(1,2))>>
 			<p>You hear the boys trying to whisper among themselves. "That's $pc.name_nick! I heard she's a '+func('gopsex','hide','gg_whore_text')+'. Rumor says  she'll let you do anything to her for rubles, I want to see if she'll fuck us cheap!"</p>
 			<p>One of the guys walks closer to you and gestures for you to do the same. When you do, he pulls all of his money out of his pocket. He counts the bills and offers them to you, asking somewhat excitedly: "Is rnd_money_sex <b>₽</b> enough for two?"</p>
@@ -817,7 +817,7 @@
 				<<set $slutty += 1>>
 				<<gt 'pod_ezd' 'sex_evrand(1,3)'>>
 			<</actCLA>>
-		<<elseif $pc.fame('pav_slut') >= 250 and $fame['pav_sex'] >= $pc.fame('pav_prostitute')>>
+		<<elseif $pc.fame('pav_slut') >= 250 and $pc.fame('pav_sex') >= $pc.fame('pav_prostitute')>>
 			<<run $pc.skillExperienceGain('perception',rand(1,2))>>
 			<p>You hear the boys whisper among themselves. "That's $pc.name_nick. I heard she's a wanton slut that lives only for pleasing cocks. I bet she would start drooling and sucking if we just show her our dicks!"</p>
 			<<actCLA 'Get angry and tell them off' undefined `{willpower:['gangbang','resist']}`>>

+ 2 - 2
sugarcube/src/npcs/katja/katja_procedural.tw

@@ -174,11 +174,11 @@
 
 	<</if>>
 	<!-- !! Katja learning about you sexual experience from other sources because you are a slut.-->
-	<<if getvar("$fame['pav_slut']") >= 150 and $pc.sexStat('bj') > 0 and getvar("$katjaQW['knows_BJ']") != 1>>
+	<<if $pc.fame('pav_slut') >= 150 and $pc.sexStat('bj') > 0 and getvar("$katjaQW['knows_BJ']") != 1>>
 		<<setinit $katjaQW['knows_BJ'] = 1>>
 
 	<</if>>
-	<<if getvar("$fame['pav_slut']") >= 250 or $pc.preg > 0 and $pc.sexStat('vaginal') > 0 and getvar("$katjaQW['knows_sex']") != 1>>
+	<<if $pc.fame('pav_slut') >= 250 or $pc.preg > 0 and $pc.sexStat('vaginal') > 0 and getvar("$katjaQW['knows_sex']") != 1>>
 		<<setinit $katjaQW['knows_sex'] = 1>>
 
 	<</if>>

+ 8 - 8
sugarcube/src/npcs/school/Artem/artemhome.tw

@@ -111,7 +111,7 @@
 				<<setinit $artemQW['metArtemMom'] = 1>>
 				<p>You stand outside the Chebotarev household and knock on the door, which is quickly answered by Artem's mother, who has a friendly smile on her face. "Hello. Can I help you?"</p>
 				<p>You return her smile. "Yes. Is Artem home?"</p>
-				<<if getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+				<<if $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 					<p>Her smile falters. "Oh? Are you one of his school friends?"</p>
 					You nod. "Yes, we go to school together."
 					<p>"I'm Glinina, Artem's mother. Who are you?"</p>
@@ -161,7 +161,7 @@
 					<<actCLA 'Leave'>>
 						<<gt 'pod_ezd' 'etaj_1'>>
 					<</actCLA>>
-				<<elseif getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+				<<elseif $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 					<p>You stand outside the Chebotarev household and knock on the door, which is quickly answered by Artem's mother, who has a friendly smile on her face that falters when she sees you. "Oh. Hello again, $pc.name_first. Can I help you?"</p>
 					You return her smile. "Yes, I'm here to see Artem."
 					She doesn''t seem pleased. "Oh. Well come in then." She turns to face down the hall. "Artem dear, ''that girl'' is here to see you again." You can hear the judgment in her voice before she turns back to you. "Go on back. He's in his room."
@@ -648,7 +648,7 @@
 			<<set $menu_off = 1>>
 			<<set $time.minutes += 10>>
 			<<image "locations/pavlovsk/resident/apartment/artemhome/masharin.jpg">>
-			<<if getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+			<<if $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 				<p>As the two of you walk into the living room, his father turns towards you looking a little appalled. "So $pc.name_first, how did you and my boy become friends?"</p>
 				You stretch out your clothes so they cover you up a little. "I don't really remember. We kind of just connected and started hanging out... It doesn''t hurt that Artem is really hot. That made it much easier." Artem blushes at the comment.
 				Masharin squirms a little by your answer and clears his throat. "My boy is very ambitious and we're very proud of him. We want him to succeed in school. I really hope that he'll be able to continue to pursue that because, you know, he's not used to girls like you..."
@@ -698,7 +698,7 @@
 					<<set $menu_off = 1>>
 					<<set $time.minutes += 10>>
 					<<image "locations/pavlovsk/resident/apartment/artemhome/masharin.jpg">>
-					<<if getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+					<<if $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 						"Didn''t think Artem would still be socializing with you after our talk..." Masharin reacts to seeing you once again.
 						"Yeah, well, you know how it goes," you nonchalantly answer.
 						<p>His posture suddenly changes and he slouches back in his chair. "$pc.name_first, can't you find some other boy to toy with and leave my son alone?"</p>
@@ -776,7 +776,7 @@
 					<<set $menu_off = 1>>
 					<<set $time.minutes += 10>>
 					<<image "locations/pavlovsk/resident/apartment/artemhome/living.jpg">>
-					<<if getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+					<<if $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 						<p>You barge in without paying any respect to them. "What are you watching?" you ask.</p>
 						Startled, they jump to as they turn their attention towards you. "We're watching the news..." Masharin annoyingly replies.
 						"The news is boring as hell and there''s always something depressing on there," you answer back.
@@ -920,7 +920,7 @@
 				<<gt 'artemhome' 'hallway'>>
 			<</actCLA>>
 			<<actCLA 'Talk to her'>>
-				<<if getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+				<<if $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 					<<image "locations/pavlovsk/resident/apartment/artemhome/glinina.jpg">>
 					<<if getvar("$artemQW['metArtemMom']") == 0>>
 						<<setinit $artemQW['metArtemMom'] = 1>>
@@ -1281,7 +1281,7 @@
 			<</actCLA>>
 		<</actCLA>>
 		<!-- !! If Sveta has fallen because of her slut reputation in Pavlovsk-->
-	<<elseif getvar("$artemQW['slutlove']") == 0 and getvar("$artemQW['sveslut']") == 0 and getvar("$artemQW['artemlove']") == 1 and getvar("$fame['pav_slut']") >= 250 and $q.school.func('isGroupMember','outcasts')>>
+	<<elseif getvar("$artemQW['slutlove']") == 0 and getvar("$artemQW['sveslut']") == 0 and getvar("$artemQW['artemlove']") == 1 and $pc.fame('pav_slut') >= 250 and $q.school.func('isGroupMember','outcasts')>>
 		<<image "characters/pavlovsk/school/boy/artem/talk1.jpg">>
 		You quietly walk past Artem and enter his room, sitting on the couch without saying a word.
 		<p>Artem looks at you questioningly. "$pc.name_nick..."</p>
@@ -1481,7 +1481,7 @@
 		<p>You look at Artem, slightly confused. "What's the meaning of this, Artem?"</p>
 		He smiles at you. "Well, we've spent a lot of time dating, so I figured it would be nice to make it official."
 		<p>You're still not sold on the idea, and question him further. "Make what official? And where did you get that wine from?"</p>
-		<<if getvar("$fame['pav_slut']") >= 200 or $q.school.func('isGroupMember','gopniks')>>
+		<<if $pc.fame('pav_slut') >= 200 or $q.school.func('isGroupMember','gopniks')>>
 			<p>Artem reassures you. "Relax, $pc.name_nick. My parents are leaving to see a friend and I got the wine from my uncle. So please... Let's just sit down and chat?"</p>
 		<<else>>
 			<p>Artem reassures you. "Relax, $pc.name_nick. My parents are leaving to see a friend to give us some privacy. And my mom gave me that wine, to share with you! My parents are very happy I met you, and my mother picked the wine. So please... Let's just sit down and chat?"</p>

+ 1 - 1
sugarcube_compile.bat

@@ -3,7 +3,7 @@
 
 pushd %~dp0
 
-rem Python -X utf8 tw_update.py
+Python -X utf8 tw_update.py
 rem Python -X utf8 outfits_convert.py
 rem Python -X utf8 npcs_convert.py
 

+ 2 - 2
variables.py

@@ -271,8 +271,8 @@ get_set_variables = [
     [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)"],
-
-
+    [r'''\$fame\[(["'\w]+)\]''',r"$pc.fame(\1)",r"$pc.fameSet(\1,\2)",r"$pc.fameInc(\1,\2)",r"$pc.fameDec(\1,\2)"],
+    
 ]
 
 post_get_set_variables_replacements = [