Skip to content
Snippets Groups Projects
Commit 39a7b302 authored by corncobman21's avatar corncobman21
Browse files

Code simplification for lispReplace()

parent 86cce387
No related branches found
No related tags found
No related merge requests found
...@@ -788,8 +788,8 @@ An escape attempt occurs and is stopped almost before you are informed of it. << ...@@ -788,8 +788,8 @@ An escape attempt occurs and is stopped almost before you are informed of it. <<
<<case "not my name">> <<case "not my name">>
   
<<if SlaveStatsChecker.checkForLisp($activeSlave)>> <<if SlaveStatsChecker.checkForLisp($activeSlave)>>
<<set _name = $activeSlave.birthName, _name = nameReplace(_name)>> <<set _name = lispReplace($activeSlave.birthName)>>
<<set _slavename = $activeSlave.slaveName, _slavename = nameReplace(_slavename)>> <<set _slavename = lispReplace($activeSlave.slaveName)>>
<<else>> <<else>>
<<set _name = $activeSlave.birthName>> <<set _name = $activeSlave.birthName>>
<<set _slavename = $activeSlave.slaveName>> <<set _slavename = $activeSlave.slaveName>>
...@@ -1479,8 +1479,7 @@ You come face to face with <<EventNameLink $activeSlave>> in a hallway of your p ...@@ -1479,8 +1479,7 @@ You come face to face with <<EventNameLink $activeSlave>> in a hallway of your p
<<case "used whore">> <<case "used whore">>
   
<<if SlaveStatsChecker.checkForLisp($activeSlave)>> <<if SlaveStatsChecker.checkForLisp($activeSlave)>>
<<set _slavename = $activeSlave.slaveName>> <<set _slavename = lispReplace($activeSlave.slaveName)>>
<<set _slavename = nameReplace(_slavename)>>
<<else>> <<else>>
<<set _slavename = $activeSlave.slaveName>> <<set _slavename = $activeSlave.slaveName>>
<</if>> <</if>>
...@@ -3875,7 +3874,7 @@ sighing contentedly at the feeling. <<if canSee($activeSlave)>>She opens her eye ...@@ -3875,7 +3874,7 @@ sighing contentedly at the feeling. <<if canSee($activeSlave)>>She opens her eye
<<case "modest clothes">> <<case "modest clothes">>
   
<<if SlaveStatsChecker.checkForLisp($activeSlave)>> <<if SlaveStatsChecker.checkForLisp($activeSlave)>>
<<set _clothes = $activeSlave.clothes, _clothes = nameReplace(_clothes)>> <<set _clothes = lispReplace($activeSlave.clothes)>>
<<else>> <<else>>
<<set _clothes = $activeSlave.clothes>> <<set _clothes = $activeSlave.clothes>>
<</if>> <</if>>
...@@ -17610,7 +17609,7 @@ You tell her kindly that you understand, and that she'll be trained to address t ...@@ -17610,7 +17609,7 @@ You tell her kindly that you understand, and that she'll be trained to address t
<<EventNameDelink $activeSlave>> <<EventNameDelink $activeSlave>>
<<replace "#result">> <<replace "#result">>
<<if SlaveStatsChecker.checkForLisp($activeSlave)>> <<if SlaveStatsChecker.checkForLisp($activeSlave)>>
<<set _desc = $desc, _desc = nameReplace(_desc)>> <<set _desc = lispReplace($desc)>>
<<else>> <<else>>
<<set _desc = $desc>> <<set _desc = $desc>>
<</if>> <</if>>
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