Skip to content
Snippets Groups Projects
Commit 57c6642f authored by corncobman21's avatar corncobman21
Browse files

Code simplification and fix for lispReplace()

parent 39a7b302
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,11 @@
<<set $retired = 1>>
<<set $activeSlave = getSlave($retiree)>>
<<set _playerName = $PC.name, _playerName = nameReplace(_playerName)>>
<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
<<set _playerName = lispReplace($PC.name)>>
<<else>>
<<set _playerName = $PC.name>>
<</if>>
<<Enunciate $activeSlave>>
$activeSlave.slaveName is retiring from sexual slavery this week,
......@@ -100,7 +104,7 @@ As she takes her leave, heading the short distance down to her modest little apa
<<if !canTalk($activeSlave)>>
She gestures her thanks, and ironically indicates that she'll see you around.
<<else>>
"Well, thank<<s>>, <<Master>>, um, I mean $PC.name. I g-gue<<ss>> I'll <<s>>ee you around. I mean, the arcology. Anyway. Bye."
"Well, thank<<s>>, <<Master>>, um, I mean _playerName. I g-gue<<ss>> I'll <<s>>ee you around. I mean, the arcology. Anyway. Bye."
<</if>>
<<if $activeSlave.devotion > 95>>
She turns resolutely away and flees, trying to choke back her tears.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment