Skip to content
Snippets Groups Projects
Commit 31c6694c authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'SFMbtwfix' into 'pregmod-master'

SFMBarracks.tw fix

See merge request !1148
parents b880b96c c12c792d
Branches
Tags
2 merge requests!1155Pregmod master,!1148SFMBarracks.tw fix
......@@ -47,7 +47,7 @@
<span id="result">
<<link "Ask _Name for some extra cash">><br>
<<replace "#result">>
<<set $CashGift = (Math.ceil(($cash*0.05)*(Math.max(0.99,$SFAO))))*$Env>>
<<set $CashGift = (Math.ceil((Math.abs($cash)*0.05)*(Math.max(0.99,$SFAO))))*$Env>>
<<if random(1,100) > 50>>
<<if random(1,100) > 50>>
_Name nods. "Sure boss," she says, "we had a bit of a haul this week. One of my sergeants convinced a woman to tell us where she had hidden her shit. Cut her up pretty bad, but she told us. Bunch of nice jewelry, I kept a nice piece for myself." She picks up a tablet on the table, tapping a few commands on it. "@@.green;There's your cut,@@ ¤<<print $CashGift>>."
......@@ -113,7 +113,7 @@
<br>//The Colonel has already spent time with you this week or is unable able to find time in her busy week to <<if $securityForceSexedColonelToken == 1>>'relax'<<elseif $securityForceColonelToken == 1>>relax<</if>> with you.//
<</if>>
<<set _securityForceUpgradeResetTokenCurrentCost = $cash*.05>>
<<set _securityForceUpgradeResetTokenCurrentCost = Math.abs($cash)*.05>>
<<if $securityForceUpgradeToken == 1 && $securityForceUpgradeTokenReset >= 0 && $SFAO > 0>>
<br><br>_Name "says certainly <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>sir<<else>>ma'am<</if>>, it is possible to upgrade $securityForceName more than once per week, however, it will cost you."
<br>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment