From c04e1117e9a11b8faf87c6319024d1f2adf88cce Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 7 Mar 2020 20:27:10 -0500 Subject: [PATCH] insert period --- src/Corporation/corporate.js | 10 +- src/Corporation/corporateMarket.tw | 58 +- src/Corporation/manageCorporation.tw | 858 +++++++++--------- src/arcologyBuilding/markets.js | 6 +- .../backwardsCompatibility.js | 8 +- src/gui/storyCaption.tw | 4 +- src/init/storyInit.tw | 2 +- src/js/generateMarketSlave.js | 154 ++-- src/pregmod/widgets/economyWidgets.tw | 40 +- src/uncategorized/bulkSlaveGenerate.tw | 2 +- src/uncategorized/buySlaves.tw | 4 +- src/uncategorized/economics.tw | 6 +- src/uncategorized/neighborsDevelopment.tw | 184 ++-- src/uncategorized/nonRandomEvent.tw | 4 +- src/uncategorized/pCorpAnnouncement.tw | 2 +- src/uncategorized/randomNonindividualEvent.tw | 2 +- 16 files changed, 672 insertions(+), 672 deletions(-) diff --git a/src/Corporation/corporate.js b/src/Corporation/corporate.js index b51ec917c41..f964e8f0f20 100644 --- a/src/Corporation/corporate.js +++ b/src/Corporation/corporate.js @@ -899,11 +899,11 @@ App.Corporate.Init = function() { } }; - if(V.corpDivTrainSurgeryTimer !== undefined) { - let timer = V.corpDivTrainSurgeryTimer; + if(V.corp.DivTrainSurgeryTimer !== undefined) { + let timer = V.corp.DivTrainSurgeryTimer; // Note: originally the timer was capped at 20, so the founding week isn't guaranteed to be correct. - V.corpDivSurgeryFounded = V.week - timer; - delete V.corpDivTrainSurgeryTimer; + V.corp.DivSurgeryFounded = V.week - timer; + delete V.corp.DivTrainSurgeryTimer; } }; @@ -912,7 +912,7 @@ App.Corporate.Init = function() { // A positive q means adding shares to the market, negative means removing them window.corpSharePrice = function(q = 0, personalShares = null, publicShares = null) { - if (V.corpIncorporated === 0) { + if (V.corp.Incorporated === 0) { return 0; } personalShares = personalShares || V.personalShares; diff --git a/src/Corporation/corporateMarket.tw b/src/Corporation/corporateMarket.tw index ad09776c085..67bd1920e83 100644 --- a/src/Corporation/corporateMarket.tw +++ b/src/Corporation/corporateMarket.tw @@ -7,9 +7,9 @@ <<set $nextButton = "Continue", $nextLink = "Bulk Slave Intro", $slaveMarket = "corporate", $returnTo = "Main", $newSlaveIndex = 0>> <</if>> -<<if $corpSpecGender == 2>> +<<if $corp.SpecGender == 2>> <<setNonlocalPronouns 100>> -<<elseif $corpSpecGender == 1>> +<<elseif $corp.SpecGender == 1>> <<setNonlocalPronouns 0>> <<else>> <<setNonlocalPronouns $seeDicks>> @@ -18,44 +18,44 @@ You're in your corporation's flagship slave market. The corporation pays you only nominal rent for this space, but will offer you a discount on slaves here based on your shares in it. Additionally, having the corporation's premiere products sold here in $arcologies[0].name will associate them with you, allowing your reputation to improve the corporate brand. A pretty -<<if $corpSpecDick == 1 && $corpSpecPussy == 1>>futanari<<elseif $corpSpecGender == 2>><<if $corpSpecBalls == -1>>clipped<<else>>shemale<</if>><</if>> -sales<<if $corpSpecAge == 3>>_womanU<<else>>_girlU<</if>> in a slutty suit greets you properly. _HeU's a corporate slave chosen for loyalty and intelligence, and to physically represent the brand. -<<if $corpSpecHeight == 5>> +<<if $corp.SpecDick == 1 && $corp.SpecPussy == 1>>futanari<<elseif $corp.SpecGender == 2>><<if $corp.SpecBalls == -1>>clipped<<else>>shemale<</if>><</if>> +sales<<if $corp.SpecAge == 3>>_womanU<<else>>_girlU<</if>> in a slutty suit greets you properly. _HeU's a corporate slave chosen for loyalty and intelligence, and to physically represent the brand. +<<if $corp.SpecHeight == 5>> Even before _heU engaged with you _hisU towering height made _himU stand out and caught your eye, from up close _heU's even more impressive. -<<elseif $corpSpecHeight == 1>> +<<elseif $corp.SpecHeight == 1>> _HeU's so short you have to physically look down on _himU. <</if>> -<<if $corpSpecInjection == 4>> +<<if $corp.SpecInjection == 4>> _HeU has awe-inspiring breasts which _hisU suit jacket helps support; even so, their bottoms reach past _hisU navel. -<<elseif $corpSpecInjection == 5>> +<<elseif $corp.SpecInjection == 5>> _HeU has gigantic, milk-swollen breasts almost spilling out of _hisU suit. -<<elseif $corpSpecImplants == 2>> +<<elseif $corp.SpecImplants == 2>> _HeU has enormous fake tits that ride inhumanly high on _hisU chest. -<<elseif $corpSpecInjection == 3>> +<<elseif $corp.SpecInjection == 3>> _HeU has huge tits and a nice broad butt which _hisU tight skirt hugs closely. -<<elseif $corpSpecImplants == 1>> +<<elseif $corp.SpecImplants == 1>> _HeU has nice fake bimbo tits and a silicone bubble butt. -<<elseif $corpSpecInjection == 2>> +<<elseif $corp.SpecInjection == 2>> _HeU's nice and curvy, with nice breasts and a lovely ass. -<<elseif $corpSpecInjection == 1>> +<<elseif $corp.SpecInjection == 1>> _HeU has cute little breasts and a petite rump. <</if>> -<<if $corpSpecCosmetics == 1>>_HisU face is flawless.<</if>> -<<if ($corpSpecRaces.length == 1)>> - <<set _corpSpecRace = $corpSpecRaces.random()>> - _HeU's <<print _corpSpecRace>>, of course<<if $corpSpecAccent == 1>>, and has a cute accent<</if>>. +<<if $corp.SpecCosmetics == 1>>_HisU face is flawless.<</if>> +<<if ($corp.SpecRaces.length == 1)>> + <<set _corpSpecRace = $corp.SpecRaces.random()>> + _HeU's <<print _corpSpecRace>>, of course<<if $corp.SpecAccent == 1>>, and has a cute accent<</if>>. <</if>> -<<if $corpSpecHormones == 1>> +<<if $corp.SpecHormones == 1>> _HisU voice is soft and feminine, and _heU bats _hisU eyes at you. -<<elseif $corpSpecHormones == 2>> +<<elseif $corp.SpecHormones == 2>> _HeU has a deep voice, and speaks assertively. <</if>> -<<if $corpSpecMuscle == 4>> +<<if $corp.SpecMuscle == 4>> _HisU hot body is perfectly toned under _hisU suit. -<<elseif $corpSpecMuscle == 5>> +<<elseif $corp.SpecMuscle == 5>> _HisU suit is specially tailored to flatter _hisU visible musculature. <</if>> -Of course, you know all about the corporation, but sales<<if $corpSpecAge == 3>>_womenU<<else>><<= _girlU>>s<</if>> here have standing orders to treat you like any other customer, so you can review the market properly. The slave turns to <<if $corpSpecAmputee != 1>>a multimedia presentation on<<else>>a rack of<</if>> your corporation's slaves. +Of course, you know all about the corporation, but sales<<if $corp.SpecAge == 3>>_womenU<<else>><<= _girlU>>s<</if>> here have standing orders to treat you like any other customer, so you can review the market properly. The slave turns to <<if $corp.SpecAmputee != 1>>a multimedia presentation on<<else>>a rack of<</if>> your corporation's slaves. <br><br> @@ -65,12 +65,12 @@ _HeU explains that the corporation captures many people, so it only retains and <br><br> _HisU presentation done, the -<<if $corpSpecDick == 1 && $corpSpecPussy == 1>>futanari<<elseif $corpSpecGender == 2>><<if $corpSpecBalls == -1>>clipped<<else>>shemale<</if>><</if>> -sales<<if $corpSpecAge == 3>>_womanU<<else>>_girlU<</if>> directs you to the inventory interface that will allow you to peruse the corporation's slaves, and moves over to stand next to it, ready to answer any questions. +<<if $corp.SpecDick == 1 && $corp.SpecPussy == 1>>futanari<<elseif $corp.SpecGender == 2>><<if $corp.SpecBalls == -1>>clipped<<else>>shemale<</if>><</if>> +sales<<if $corp.SpecAge == 3>>_womanU<<else>>_girlU<</if>> directs you to the inventory interface that will allow you to peruse the corporation's slaves, and moves over to stand next to it, ready to answer any questions. <<if $PC.dick != 0>> _HeU positions _himselfU facing away from you and hikes up _hisU skirt to bare _hisU - <<if $corpSpecInjection > 4>>gigantic ass<<elseif $corpSpecImplants > 0>>fake ass<<elseif $corpSpecInjection == 3>>big butt<<elseif $corpSpecInjection == 2>>cute butt<<else>>little behind<</if>> - and cocks _hisU hips<<if $corpSpecBalls == -1>>, keeping _hisU soft cock demurely out of sight<</if>>, if you feel like <<if $corpSpecGender == 2 && $corpSpecPussy != 1>>sodomizing<<else>>fucking<</if>> _himU + <<if $corp.SpecInjection > 4>>gigantic ass<<elseif $corp.SpecImplants > 0>>fake ass<<elseif $corp.SpecInjection == 3>>big butt<<elseif $corp.SpecInjection == 2>>cute butt<<else>>little behind<</if>> + and cocks _hisU hips<<if $corp.SpecBalls == -1>>, keeping _hisU soft cock demurely out of sight<</if>>, if you feel like <<if $corp.SpecGender == 2 && $corp.SpecPussy != 1>>sodomizing<<else>>fucking<</if>> _himU <<else>> _HeU gets down on _hisU knees right there, making _hisU mouth available if you feel like riding _hisU face <</if>> @@ -79,7 +79,7 @@ while you browse. <<link "Use _himU">> <<replace "#result">> <<if $PC.dick != 0>> - _HisU <<if $corpSpecGender == 2 && $corpSpecPussy != 1>>asshole is thoughtfully pre-lubed, and your cock slides easily up it<<else>>pussy is nice and wet, and your cock slides inside _himU easily<</if>> as you consider the slaves on offer. _HeU's well trained, and uses _hisU <<if $corpSpecGender == 2 && $corpSpecPussy != 1>>sphincter<<else>>womanly muscles<</if>> to please your member expertly as _heU ruts _himselfU gently back against you, doing almost all the work. When you orgasm, _heU retains the load carefully, keeping your cum inside _himU and away from _hisU nice clothes. + _HisU <<if $corp.SpecGender == 2 && $corp.SpecPussy != 1>>asshole is thoughtfully pre-lubed, and your cock slides easily up it<<else>>pussy is nice and wet, and your cock slides inside _himU easily<</if>> as you consider the slaves on offer. _HeU's well trained, and uses _hisU <<if $corp.SpecGender == 2 && $corp.SpecPussy != 1>>sphincter<<else>>womanly muscles<</if>> to please your member expertly as _heU ruts _himselfU gently back against you, doing almost all the work. When you orgasm, _heU retains the load carefully, keeping your cum inside _himU and away from _hisU nice clothes. <<else>> _HeU's very well trained, and does all the work. Once you move in and straddle _himU, _heU gets right down to it, or in this case, up to it. _HisU clever tongue runs gently along your labia to build anticipation before starting a delightful dance around and then atop your clitoris. You orgasm in no time at all, a climax which _heU carefully prolongs by kissing you full on the pussy in just the right way, only breaking the oral embrace when you've ridden it as far as you'll go. <</if>> @@ -92,7 +92,7 @@ while you browse. <<set _slaveCost = slaveCost($activeSlave)>> <<if $slavesSeen > $slaveMarketLimit>><<set _slaveCost += _slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1)>><</if>> -<<if $corpMarket == 1>> +<<if $corp.Market == 1>> Your own local franchise of your corporation allows you to enjoy a discount. <<set _slaveCost *= 0.9>> <</if>> @@ -104,7 +104,7 @@ The offered price is <<print cashFormat(_slaveCost)>>.<<if $slavesSeen > $slaveM <<buyingFromMarketControls>> <<link "End corporate slave sales here and return this sector to standard markets">> - <<set $corpMarket = 0>> + <<set $corp.Market = 0>> <<run App.Arcology.cellUpgrade($building, App.Arcology.Cell.Market, "Corporate Market", "Markets")>> <<goto "Main">> <</link>> diff --git a/src/Corporation/manageCorporation.tw b/src/Corporation/manageCorporation.tw index cf323237e68..21a37b48a91 100644 --- a/src/Corporation/manageCorporation.tw +++ b/src/Corporation/manageCorporation.tw @@ -93,7 +93,7 @@ <<run _buySlaveArray.push({ 'name': 'Fill' , 'count':_fillSlaveCount})>> <</if>> <<set _singleSlaveCost = App.Corporate.slaveMarketPurchaseValue(_div, 1)>> - <<if $corpCash > _singleSlaveCost>> + <<if $corp.Cash > _singleSlaveCost>> <div> The corporation can purchase slaves directly from the market for about <<=cashFormatColor(_singleSlaveCost)>> </div> @@ -101,7 +101,7 @@ <<set _sepObj.need = false>> <<for _slaveNum range _buySlaveArray.filter(num => _div.availableRoom > num.count)>> <<set _slaveSetCost = App.Corporate.slaveMarketPurchaseValue(_div, _slaveNum.count)>> - <<if $corpCash < _slaveSetCost>> + <<if $corp.Cash < _slaveSetCost>> <<continue>> <</if>> <<= Seperator(_sepObj) >> @@ -299,28 +299,28 @@ <h2>Shares</h2> You own <<print num($personalShares)>> shares while another <<print num($publicShares)>> shares are traded publicly. The going rate on the market for 1000 shares is currently @@.yellowgreen;<<print cashFormat(corpSharePrice())>>.@@ <br>The corporation can buyback 1000 shares for @@.red;<<print cashFormat(corpSharePrice(-1000))>>@@ or issue 1000 shares and net @@.yellowgreen;<<print cashFormat(corpSharePrice(1000))>>.@@ The corporation will prefer to round shares to the nearest 1000 and will issue or buy shares toward that goal first. -<<if $corpCash > corpSharePrice(-1000)>> +<<if $corp.Cash > corpSharePrice(-1000)>> <<if $publicShares <= $personalShares - 2000 && $publicShares > 0>> /*It won't buy back player shares if the corporation is entirely owned by the player*/ <<set _persExtraShares = $personalShares % 1000 || 1000>> <br>The corporation can buyback some of your shares. - <<= "[[Buyback "+ _persExtraShares + "|Manage Corporation][cashX(corpSharePrice(-"+_persExtraShares+"), 'stocksTraded'), $corpCash -= corpSharePrice(-"+_persExtraShares+"), $personalShares -= "+_persExtraShares+"]]">> + <<= "[[Buyback "+ _persExtraShares + "|Manage Corporation][cashX(corpSharePrice(-"+_persExtraShares+"), 'stocksTraded'), $corp.Cash -= corpSharePrice(-"+_persExtraShares+"), $personalShares -= "+_persExtraShares+"]]">> <</if>> <<if $publicShares >= 1000>> <<set _pubExtraShares = $publicShares % 1000 || 1000>> <br>The corporation can buyback some of the public shares. - <<= "[[Buyback "+ _pubExtraShares + "|Manage Corporation][$corpCash -= corpSharePrice(-"+_pubExtraShares+"), $publicShares -= "+_pubExtraShares+"]]">> + <<= "[[Buyback "+ _pubExtraShares + "|Manage Corporation][$corp.Cash -= corpSharePrice(-"+_pubExtraShares+"), $publicShares -= "+_pubExtraShares+"]]">> <</if>> <</if>> <<set _persLeftoverShares = 1000 - ($personalShares % 1000)>> <<if $cash > corpSharePrice(_persLeftoverShares)>> <br>The corporation can issue <<=_persLeftoverShares>> shares to you. - <<= "[[Issue " + _persLeftoverShares + "|Manage Corporation][cashX(forceNeg(corpSharePrice("+_persLeftoverShares+")), 'stocksTraded'), $corpCash += corpSharePrice("+_persLeftoverShares+"), $personalShares += "+_persLeftoverShares+"]]">> + <<= "[[Issue " + _persLeftoverShares + "|Manage Corporation][cashX(forceNeg(corpSharePrice("+_persLeftoverShares+")), 'stocksTraded'), $corp.Cash += corpSharePrice("+_persLeftoverShares+"), $personalShares += "+_persLeftoverShares+"]]">> <</if>> <<set _pubLeftoverShares = 1000 - ($publicShares % 1000)>> <<if $publicShares <= $personalShares - 2000>> <br>The corporation can issue <<=_pubLeftoverShares>> shares onto the stock market. - <<= "[[Issue " + _pubLeftoverShares + "|Manage Corporation][$corpCash += corpSharePrice("+_pubLeftoverShares+"), $publicShares += "+_pubLeftoverShares+"]]">> + <<= "[[Issue " + _pubLeftoverShares + "|Manage Corporation][$corp.Cash += corpSharePrice("+_pubLeftoverShares+"), $publicShares += "+_pubLeftoverShares+"]]">> <</if>> <<if $publicShares <= $personalShares - 3000>> <br>You can sell some of your shares on the stock market. [[Sell 1000|Manage Corporation][cashX(corpSharePrice(), "stocksTraded"), $personalShares -= 1000, $publicShares += 1000]] @@ -339,7 +339,7 @@ You own <<print num($personalShares)>> shares while another <<print num($publicS <<if _splitFeeValue < _splitFeeInitial>> //You negotiated lower fees due to your @@.springgreen;business acumen@@.// <</if>> -<<if $corpSpecTimer > 0>> +<<if $corp.SpecTimer > 0>> <br>//The corporation has restructured too recently.// <</if>> <ul> @@ -354,11 +354,11 @@ You own <<print num($personalShares)>> shares while another <<print num($publicS <li><<= _splitNumerator >>-for-<<= _splitDenom>> <<if _splitDenom > _splitNumerator>>inverse<</if>> stock split at @@.red;<<= cashFormat(_splitValue) >>@@ per share. Including market fees, this will cost the corporation a total of @@.red;<<= cashFormat(_splitTotal)>>@@, leaving the going rate for stock at @@.yellowgreen;<<= cashFormat(Math.floor(corpSharePrice(0, $personalShares * _splitMultiplier, $publicShares * _splitMultiplier))) >>@@ per 1000 shares. - <<if $corpSpecTimer == 0>> + <<if $corp.SpecTimer == 0>> <<if $publicShares % _splitDenom != 0 || $personalShares % _splitDenom != 0>> //The number of shares cannot be evenly split// - <<elseif $corpCash > _splitTotal>> - <<= "[[Split Shares|Manage Corporation][$corpCash -= " + _splitTotal + ", $publicShares *= " + _splitMultiplier + ", $personalShares *= " + _splitMultiplier + ", $corpSpecTimer="+_splitWeek+"]]" >> + <<elseif $corp.Cash > _splitTotal>> + <<= "[[Split Shares|Manage Corporation][$corp.Cash -= " + _splitTotal + ", $publicShares *= " + _splitMultiplier + ", $personalShares *= " + _splitMultiplier + ", $corp.SpecTimer="+_splitWeek+"]]" >> <<else>> //The corporation cannot afford the fees.// <</if>> @@ -368,765 +368,765 @@ You own <<print num($personalShares)>> shares while another <<print num($publicS </ul> <h2>Slave specialization</h2> -<<if $corpSpecToken > 0>> /*Spending tokens on new specializations*/ - <<if $corpSpecToken > 1>> - Your corporation has $corpSpecToken specializations left. +<<if $corp.SpecToken > 0>> /*Spending tokens on new specializations*/ + <<if $corp.SpecToken > 1>> + Your corporation has $corp.SpecToken specializations left. <<else>> Your corporation has one specialization left. <</if>> - <<if $corpSpecTimer > 0>> - You have recently changed specializations and the corporation needs <<if $corpSpecTimer > 1>>$corpSpecTimer more weeks<<else>>another week<</if>> before it can comply with another directive. + <<if $corp.SpecTimer > 0>> + You have recently changed specializations and the corporation needs <<if $corp.SpecTimer > 1>>$corp.SpecTimer more weeks<<else>>another week<</if>> before it can comply with another directive. <<else>> <br>Choosing to specialize your corporation uses a specialization. The corporation can be directed to focus on the following: - <<if $corpSpecRaces.length == 0 && ($corpDivExtra > 0 || $corpDivLegal > 0)>> /*This used to be $captureUpgradeRace, it is a general acquisition specialization*/ + <<if $corp.SpecRaces.length == 0 && ($corp.DivExtra > 0 || $corp.DivLegal > 0)>> /*This used to be $captureUpgradeRace, it is a general acquisition specialization*/ <br>Slaves who are not - <<if $arcologies[0].FSSubjugationistRace != "amerindian" || $arcologies[0].FSSubjugationist == "unset">>[[Amerindian|Manage Corporation][$corpSpecRaces = corpBlacklistRace("amerindian", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "asian" || $arcologies[0].FSSubjugationist == "unset">>[[Asian|Manage Corporation][$corpSpecRaces = corpBlacklistRace("asian", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "black" || $arcologies[0].FSSubjugationist == "unset">>[[Black|Manage Corporation][$corpSpecRaces = corpBlacklistRace("black", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "indo-aryan" || $arcologies[0].FSSubjugationist == "unset">>[[Indo-aryan|Manage Corporation][$corpSpecRaces = corpBlacklistRace("indo-aryan", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "latina" || $arcologies[0].FSSubjugationist == "unset">>[[Latina|Manage Corporation][$corpSpecRaces = corpBlacklistRace("latina", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "malay" || $arcologies[0].FSSubjugationist == "unset">>[[Malay|Manage Corporation][$corpSpecRaces = corpBlacklistRace("malay", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "middle eastern" || $arcologies[0].FSSubjugationist == "unset">>[[Middle Eastern|Manage Corporation][$corpSpecRaces = corpBlacklistRace("middle eastern", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "mixed race" || $arcologies[0].FSSubjugationist == "unset">>[[Mixed Race|Manage Corporation][$corpSpecRaces = corpBlacklistRace("mixed race", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "pacific islander" || $arcologies[0].FSSubjugationist == "unset">>[[Pacific Islander|Manage Corporation][$corpSpecRaces = corpBlacklistRace("pacific islander", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "semitic" || $arcologies[0].FSSubjugationist == "unset">>[[Semitic|Manage Corporation][$corpSpecRaces = corpBlacklistRace("semitic", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "southern european" || $arcologies[0].FSSubjugationist == "unset">>[[Southern European|Manage Corporation][$corpSpecRaces = corpBlacklistRace("southern european", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]] | <</if>> - <<if $arcologies[0].FSSubjugationistRace != "white" || $arcologies[0].FSSubjugationist == "unset">>[[White|Manage Corporation][$corpSpecRaces = corpBlacklistRace("white", 1), $corpSpecToken -= 1, $corpSpecTimer = 1]]<</if>> + <<if $arcologies[0].FSSubjugationistRace != "amerindian" || $arcologies[0].FSSubjugationist == "unset">>[[Amerindian|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("amerindian", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "asian" || $arcologies[0].FSSubjugationist == "unset">>[[Asian|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("asian", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "black" || $arcologies[0].FSSubjugationist == "unset">>[[Black|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("black", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "indo-aryan" || $arcologies[0].FSSubjugationist == "unset">>[[Indo-aryan|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("indo-aryan", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "latina" || $arcologies[0].FSSubjugationist == "unset">>[[Latina|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("latina", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "malay" || $arcologies[0].FSSubjugationist == "unset">>[[Malay|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("malay", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "middle eastern" || $arcologies[0].FSSubjugationist == "unset">>[[Middle Eastern|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("middle eastern", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "mixed race" || $arcologies[0].FSSubjugationist == "unset">>[[Mixed Race|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("mixed race", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "pacific islander" || $arcologies[0].FSSubjugationist == "unset">>[[Pacific Islander|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("pacific islander", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "semitic" || $arcologies[0].FSSubjugationist == "unset">>[[Semitic|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("semitic", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "southern european" || $arcologies[0].FSSubjugationist == "unset">>[[Southern European|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("southern european", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] | <</if>> + <<if $arcologies[0].FSSubjugationistRace != "white" || $arcologies[0].FSSubjugationist == "unset">>[[White|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("white", 1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]]<</if>> — //additional races can be excluded. 4 races per token.// - <<if $corpSpecToken >= 3>> + <<if $corp.SpecToken >= 3>> <br>Only slaves who are - <<if $arcologies[0].FSSupremacistRace != "amerindian" || $arcologies[0].FSSubjugationist == "unset">>[[Amerindian|Manage Corporation][$corpSpecRaces = corpBlacklistRace("amerindian", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "asian" || $arcologies[0].FSSubjugationist == "unset">>[[Asian|Manage Corporation][$corpSpecRaces = corpBlacklistRace("asian", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "black" || $arcologies[0].FSSubjugationist == "unset">>[[Black|Manage Corporation][$corpSpecRaces = corpBlacklistRace("black", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "indo-aryan" || $arcologies[0].FSSubjugationist == "unset">>[[Indo-aryan|Manage Corporation][$corpSpecRaces = corpBlacklistRace("indo-aryan", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "latina" || $arcologies[0].FSSubjugationist == "unset">>[[Latina|Manage Corporation][$corpSpecRaces = corpBlacklistRace("latina", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "malay" || $arcologies[0].FSSubjugationist == "unset">>[[Malay|Manage Corporation][$corpSpecRaces = corpBlacklistRace("malay", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "middle eastern" || $arcologies[0].FSSubjugationist == "unset">>[[Middle Eastern|Manage Corporation][$corpSpecRaces = corpBlacklistRace("middle eastern", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "mixed race" || $arcologies[0].FSSubjugationist == "unset">>[[Mixed Race|Manage Corporation][$corpSpecRaces = corpBlacklistRace("mixed race", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "pacific islander" || $arcologies[0].FSSubjugationist == "unset">>[[Pacific Islander|Manage Corporation][$corpSpecRaces = corpBlacklistRace("pacific islander", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "semitic" || $arcologies[0].FSSubjugationist == "unset">>[[Semitic|Manage Corporation][$corpSpecRaces = corpBlacklistRace("semitic", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "southern european" || $arcologies[0].FSSubjugationist == "unset">>[[Southern European|Manage Corporation][$corpSpecRaces = corpBlacklistRace("southern european", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]] | <</if>> - <<if $arcologies[0].FSSupremacistRace != "white" || $arcologies[0].FSSubjugationist == "unset">>[[White|Manage Corporation][$corpSpecRaces = corpBlacklistRace("white", 0), $corpSpecToken -= 3, $corpSpecTimer = 2]]<</if>> + <<if $arcologies[0].FSSupremacistRace != "amerindian" || $arcologies[0].FSSubjugationist == "unset">>[[Amerindian|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("amerindian", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "asian" || $arcologies[0].FSSubjugationist == "unset">>[[Asian|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("asian", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "black" || $arcologies[0].FSSubjugationist == "unset">>[[Black|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("black", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "indo-aryan" || $arcologies[0].FSSubjugationist == "unset">>[[Indo-aryan|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("indo-aryan", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "latina" || $arcologies[0].FSSubjugationist == "unset">>[[Latina|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("latina", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "malay" || $arcologies[0].FSSubjugationist == "unset">>[[Malay|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("malay", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "middle eastern" || $arcologies[0].FSSubjugationist == "unset">>[[Middle Eastern|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("middle eastern", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "mixed race" || $arcologies[0].FSSubjugationist == "unset">>[[Mixed Race|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("mixed race", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "pacific islander" || $arcologies[0].FSSubjugationist == "unset">>[[Pacific Islander|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("pacific islander", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "semitic" || $arcologies[0].FSSubjugationist == "unset">>[[Semitic|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("semitic", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "southern european" || $arcologies[0].FSSubjugationist == "unset">>[[Southern European|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("southern european", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]] | <</if>> + <<if $arcologies[0].FSSupremacistRace != "white" || $arcologies[0].FSSubjugationist == "unset">>[[White|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("white", 0), $corp.SpecToken -= 3, $corp.SpecTimer = 2]]<</if>> <<else>> <br>Only slaves of a particular race requires 3 tokens. <</if>> <</if>> - <<if $seeDicks != 0 && ndef $corpSpecGender && ($corpDivExtra > 0 || $corpDivLegal > 0)>> /*This used to be $captureUpgradeGender, it is a general acquisition specialization*/ - <br>Train only slaves with [[Pussies|Manage Corporation][$corpSpecGender = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Dicks|Manage Corporation][$corpSpecGender = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if $seeDicks != 0 && ndef $corp.SpecGender && ($corp.DivExtra > 0 || $corp.DivLegal > 0)>> /*This used to be $captureUpgradeGender, it is a general acquisition specialization*/ + <br>Train only slaves with [[Pussies|Manage Corporation][$corp.SpecGender = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Dicks|Manage Corporation][$corp.SpecGender = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecHeight && ($corpDivExtra > 0 || $corpDivLegal > 0)>> /*This is a general acquisition specialization*/ - <br>Slaves that are [[Short|Manage Corporation][$corpSpecHeight = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Tall|Manage Corporation][$corpSpecHeight = 4, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecHeight && ($corp.DivExtra > 0 || $corp.DivLegal > 0)>> /*This is a general acquisition specialization*/ + <br>Slaves that are [[Short|Manage Corporation][$corp.SpecHeight = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Tall|Manage Corporation][$corp.SpecHeight = 4, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecVirgin && ($corpDivExtra > 0 || $corpDivLegal > 0)>> /*This is a general acquisition specialization*/ - <br>Slaves that are [[Virgins|Manage Corporation][$corpSpecVirgin = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if ndef $corp.SpecVirgin && ($corp.DivExtra > 0 || $corp.DivLegal > 0)>> /*This is a general acquisition specialization*/ + <br>Slaves that are [[Virgins|Manage Corporation][$corp.SpecVirgin = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecIntelligence && $corpDivLegal > 0 >> /*This used to be $entrapmentUpgradeIntelligence, it is a legal enslavement specialization*/ - <br>Slaves who are [[Stupid|Manage Corporation][$corpSpecIntelligence = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Intelligent|Manage Corporation][$corpSpecIntelligence = 3, $corpSpecToken -= 1, $corpSpecTimer = 2]] --//Further specializations possible// + <<if ndef $corp.SpecIntelligence && $corp.DivLegal > 0 >> /*This used to be $entrapmentUpgradeIntelligence, it is a legal enslavement specialization*/ + <br>Slaves who are [[Stupid|Manage Corporation][$corp.SpecIntelligence = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Intelligent|Manage Corporation][$corp.SpecIntelligence = 3, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] --//Further specializations possible// <</if>> - <<if ndef $corpSpecAge && $corpDivExtra > 0>> /*This used to be $captureUpgradeAge, it is the extralegal enslavement specialization*/ - <br>Slaves who are [[Younger|Manage Corporation][$corpSpecAge = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Older|Manage Corporation][$corpSpecAge = 3, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if ndef $corp.SpecAge && $corp.DivExtra > 0>> /*This used to be $captureUpgradeAge, it is the extralegal enslavement specialization*/ + <br>Slaves who are [[Younger|Manage Corporation][$corp.SpecAge = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Older|Manage Corporation][$corp.SpecAge = 3, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecWeight && ($corpDivBreak > 0 || $corpDivSurgery > 0 || $corpDivTrain > 0)>> /*This used to be $generalUpgradeWeight, it is a general improvement specialization*/ - <br>Managing slaves' diets to achieve [[Thin Slaves|Manage Corporation][$corpSpecWeight = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Fat nor Thin Slaves|Manage Corporation][$corpSpecWeight = 3, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Fat Slaves|Manage Corporation][$corpSpecWeight = 5, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecWeight && ($corp.DivBreak > 0 || $corp.DivSurgery > 0 || $corp.DivTrain > 0)>> /*This used to be $generalUpgradeWeight, it is a general improvement specialization*/ + <br>Managing slaves' diets to achieve [[Thin Slaves|Manage Corporation][$corp.SpecWeight = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Fat nor Thin Slaves|Manage Corporation][$corp.SpecWeight = 3, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Fat Slaves|Manage Corporation][$corp.SpecWeight = 5, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecDevotion && ($corpDivBreak > 0 || $corpDivSurgery > 0 || $corpDivTrain > 0)>> /*This used to be $entrapmentUpgradeDevotionOne/Two, it is a general improvement specialization*/ - <br>Slaves who are [[Reluctant|Manage Corporation][$corpSpecDevotion = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Obedient|Manage Corporation][$corpSpecDevotion = 4, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecDevotion && ($corp.DivBreak > 0 || $corp.DivSurgery > 0 || $corp.DivTrain > 0)>> /*This used to be $entrapmentUpgradeDevotionOne/Two, it is a general improvement specialization*/ + <br>Slaves who are [[Reluctant|Manage Corporation][$corp.SpecDevotion = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Obedient|Manage Corporation][$corp.SpecDevotion = 4, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecAccent && ($corpDivBreak > 0 || $corpDivSurgery > 0 || $corpDivTrain > 0)>> /*This used to be $trainingUpgradeAccent, it is a general improvement specialization*/ - <br>Slaves are taught to [[Speak the Language|Manage Corporation][$corpSpecAccent = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Speak without Accent|Manage Corporation][$corpSpecAccent = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if ndef $corp.SpecAccent && ($corp.DivBreak > 0 || $corp.DivSurgery > 0 || $corp.DivTrain > 0)>> /*This used to be $trainingUpgradeAccent, it is a general improvement specialization*/ + <br>Slaves are taught to [[Speak the Language|Manage Corporation][$corp.SpecAccent = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Speak without Accent|Manage Corporation][$corp.SpecAccent = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecHormones && ($corpDivBreak > 0 || $corpDivSurgery > 0 || $corpDivTrain > 0)>> /*This used to be $drugUpgradeHormones, it is a general improvement specialization*/ - <br>Slaves are given hormones to [[Feminize|Manage Corporation][$corpSpecHormones = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Masculinize|Manage Corporation][$corpSpecHormones = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if ndef $corp.SpecHormones && ($corp.DivBreak > 0 || $corp.DivSurgery > 0 || $corp.DivTrain > 0)>> /*This used to be $drugUpgradeHormones, it is a general improvement specialization*/ + <br>Slaves are given hormones to [[Feminize|Manage Corporation][$corp.SpecHormones = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Masculinize|Manage Corporation][$corp.SpecHormones = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecInjection && ($corpDivBreak > 0 || $corpDivSurgery > 0 || $corpDivTrain > 0)>> /*This used to be $drugUpgradeInjectionOne, it is a general improvement specialization*/ - <br>Slave assets are made to be [[Petite|Manage Corporation][$corpSpecInjection = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Tasteful|Manage Corporation][$corpSpecInjection = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Huge|Manage Corporation][$corpSpecInjection = 3, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecInjection && ($corp.DivBreak > 0 || $corp.DivSurgery > 0 || $corp.DivTrain > 0)>> /*This used to be $drugUpgradeInjectionOne, it is a general improvement specialization*/ + <br>Slave assets are made to be [[Petite|Manage Corporation][$corp.SpecInjection = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Tasteful|Manage Corporation][$corp.SpecInjection = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Huge|Manage Corporation][$corp.SpecInjection = 3, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecCosmetics && ($corpDivBreak > 0 || $corpDivSurgery > 0 || $corpDivTrain > 0)>> /*This used to be $surgicalUpgradeCosmetics, it is a general improvement specialization*/ - <br>Straightforward cosmetic procedures are [[Applied|Manage Corporation][$corpSpecCosmetics = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Not Applied|Manage Corporation][$corpSpecCosmetics = 0, $corpSpecTimer = 2]] + <<if ndef $corp.SpecCosmetics && ($corp.DivBreak > 0 || $corp.DivSurgery > 0 || $corp.DivTrain > 0)>> /*This used to be $surgicalUpgradeCosmetics, it is a general improvement specialization*/ + <br>Straightforward cosmetic procedures are [[Applied|Manage Corporation][$corp.SpecCosmetics = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Not Applied|Manage Corporation][$corp.SpecCosmetics = 0, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecEducation && $corpDivTrain > 0>> /*This used to be $trainingUpgradeEducation, it is the training specialization*/ - <br>Slaves are given [[No Education|Manage Corporation][$corpSpecEducation == 0, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Basic Education|Manage Corporation][$corpSpecEducation = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecEducation && $corp.DivTrain > 0>> /*This used to be $trainingUpgradeEducation, it is the training specialization*/ + <br>Slaves are given [[No Education|Manage Corporation][$corp.SpecEducation == 0, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Basic Education|Manage Corporation][$corp.SpecEducation = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecImplants && $corpDivSurgery > 0>> /*This used to be $surgicalUpgradeImplants, it is the surgery specialization*/ - <br>Slave implants are [[Applied|Manage Corporation][$corpSpecImplants = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Not Applied|Manage Corporation][$corpSpecImplants = 0, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecImplants && $corp.DivSurgery > 0>> /*This used to be $surgicalUpgradeImplants, it is the surgery specialization*/ + <br>Slave implants are [[Applied|Manage Corporation][$corp.SpecImplants = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Not Applied|Manage Corporation][$corp.SpecImplants = 0, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecGenitalia && $corpDivSurgeryDev > 100>> /*This used to be $surgicalUpgradeGenitalia, it is the surgery specialization*/ - <br>Slaves get their genitalia reconfigured [[Add Pussy|Manage Corporation][$corpSpecPussy = 1, $corpSpecGenitalia = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Remove Pussy|Manage Corporation][$corpSpecPussy = -1, $corpSpecGenitalia = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Add Dick|Manage Corporation][$corpSpecDick = 1, $corpSpecGenitalia = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Remove Dick|Manage Corporation][$corpSpecDick = -1, $corpSpecGenitalia = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Add Balls|Manage Corporation][$corpSpecBalls = 1, $corpSpecGenitalia = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Remove Balls|Manage Corporation][$corpSpecBalls = -1, $corpSpecGenitalia = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecGenitalia && $corp.DivSurgeryDev > 100>> /*This used to be $surgicalUpgradeGenitalia, it is the surgery specialization*/ + <br>Slaves get their genitalia reconfigured [[Add Pussy|Manage Corporation][$corp.SpecPussy = 1, $corp.SpecGenitalia = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Remove Pussy|Manage Corporation][$corp.SpecPussy = -1, $corp.SpecGenitalia = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Add Dick|Manage Corporation][$corp.SpecDick = 1, $corp.SpecGenitalia = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Remove Dick|Manage Corporation][$corp.SpecDick = -1, $corp.SpecGenitalia = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Add Balls|Manage Corporation][$corp.SpecBalls = 1, $corp.SpecGenitalia = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Remove Balls|Manage Corporation][$corp.SpecBalls = -1, $corp.SpecGenitalia = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecTrust && $corpDivBreak > 0>> /*This used to be $generalUpgradeBreaking, it is the slave breaking specific specialization*/ - <br>Breaking slaves with [[Brutality|Manage Corporation][$corpSpecTrust = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Care|Manage Corporation][$corpSpecTrust = 4, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecTrust && $corp.DivBreak > 0>> /*This used to be $generalUpgradeBreaking, it is the slave breaking specific specialization*/ + <br>Breaking slaves with [[Brutality|Manage Corporation][$corp.SpecTrust = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Care|Manage Corporation][$corp.SpecTrust = 4, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecAmputee && $corpDivArcade > 0 && $corpDivSurgeryDev > 100>> /*This is the arcade specialization*/ - <br>Slave limbs are categorically [[Removed|Manage Corporation][$corpSpecAmputee = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if ndef $corp.SpecAmputee && $corp.DivArcade > 0 && $corp.DivSurgeryDev > 100>> /*This is the arcade specialization*/ + <br>Slave limbs are categorically [[Removed|Manage Corporation][$corp.SpecAmputee = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecMuscle && $corpDivMenial > 0>> /*This used to be $generalUpgradeMuscle, it is the Menial division's specialization*/ - <br>Slaves with muscles that are <<if $arcologies[0].FSPhysicalIdealist == "unset">> [[Weak|Manage Corporation][$corpSpecMuscle = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | <</if>>[[Soft|Manage Corporation][$corpSpecMuscle = 3, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Toned|Manage Corporation][$corpSpecMuscle = 4, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecMuscle && $corp.DivMenial > 0>> /*This used to be $generalUpgradeMuscle, it is the Menial division's specialization*/ + <br>Slaves with muscles that are <<if $arcologies[0].FSPhysicalIdealist == "unset">> [[Weak|Manage Corporation][$corp.SpecMuscle = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>>[[Soft|Manage Corporation][$corp.SpecMuscle = 3, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Toned|Manage Corporation][$corp.SpecMuscle = 4, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> - <<if ndef $corpSpecMilk && $corpDivDairy > 0>> /*This is the dairy specialization*/ - <br>Slaves are made to be lactating [[Naturally|Manage Corporation][$corpSpecMilk = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | [[Through Implant|Manage Corporation][$corpSpecMilk = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if ndef $corp.SpecMilk && $corp.DivDairy > 0>> /*This is the dairy specialization*/ + <br>Slaves are made to be lactating [[Naturally|Manage Corporation][$corp.SpecMilk = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | [[Through Implant|Manage Corporation][$corp.SpecMilk = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if ndef $corpSpecSexEd && $corpDivWhore > 0>> /*This used to be $trainingUpgradeSexEd, it is the escort division specialization*/ - <br>Slaves are sexually [[Clueless|Manage Corporation][$corpSpecSexEd = 0, $corpSpecToken -= 0, $corpSpecTimer = 2]] | [[Competent|Manage Corporation][$corpSpecSexEd = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] -- //Further specializations possible// + <<if ndef $corp.SpecSexEd && $corp.DivWhore > 0>> /*This used to be $trainingUpgradeSexEd, it is the escort division specialization*/ + <br>Slaves are sexually [[Clueless|Manage Corporation][$corp.SpecSexEd = 0, $corp.SpecToken -= 0, $corp.SpecTimer = 2]] | [[Competent|Manage Corporation][$corp.SpecSexEd = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] -- //Further specializations possible// <</if>> <</if>> <<else>> <br>Your corporation cannot pick a new specialization at this time. <</if>> -<<if $corpSpec > $corpSpecToken>> /*Modifying specializations*/ +<<if $corp.Spec > $corp.SpecToken>> /*Modifying specializations*/ <br><br>You have chosen the following specializations; <br>//You can choose to specialize further with additional tokens, specialize less, end the specialization or sometimes tweak them for free.// - <<if $corpSpecRaces.length == 12>> - <<set $corpSpecRaces = []>> + <<if $corp.SpecRaces.length == 12>> + <<set $corp.SpecRaces = []>> <</if>> - <<if $corpSpecRaces.length > 0>> + <<if $corp.SpecRaces.length > 0>> <br>The corporation enslaves people of the following race(s); - <<if $corpSpecRaces.includes("amerindian")>> + <<if $corp.SpecRaces.includes("amerindian")>> <br>Amerindian <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "amerindian")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("amerindian",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("amerindian",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("amerindian",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("amerindian",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Amerindian== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("amerindian",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("amerindian",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("amerindian",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("amerindian",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("asian")>> + <<if $corp.SpecRaces.includes("asian")>> <br>Asian <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "asian")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("asian",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("asian",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("asian",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("asian",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Asian== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("asian",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("asian",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("asian",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("asian",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("black")>> + <<if $corp.SpecRaces.includes("black")>> <br>Black <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "black")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("black",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("black",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("black",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("black",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Black== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("black",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("black",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("black",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("black",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("indo-aryan")>> + <<if $corp.SpecRaces.includes("indo-aryan")>> <br>Indo-Aryan <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "indo-aryan")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("indo-aryan",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("indo-aryan",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("indo-aryan",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("indo-aryan",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Indo-Aryan== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("indo-aryan",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("indo-aryan",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("indo-aryan",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("indo-aryan",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("latina")>> + <<if $corp.SpecRaces.includes("latina")>> <br>Latina <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "latina")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("latina",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("latina",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("latina",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("latina",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Latina== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("latina",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("latina",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("latina",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("latina",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("malay")>> + <<if $corp.SpecRaces.includes("malay")>> <br>Malay <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "malay")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("malay",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("malay",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("malay",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("malay",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Malay== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("malay",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("malay",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("malay",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("malay",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("middle eastern")>> + <<if $corp.SpecRaces.includes("middle eastern")>> <br>Middle Eastern <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "middle eastern")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("middle eastern",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("middle eastern",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("middle eastern",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("middle eastern",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Middle Eastern== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("middle eastern",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("middle eastern",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("middle eastern",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("middle eastern",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("mixed race")>> + <<if $corp.SpecRaces.includes("mixed race")>> <br>Mixed Race <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "mixed race")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("mixed race",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("mixed race",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("mixed race",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("mixed race",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Mixed Race== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("mixed race",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("mixed race",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("mixed race",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("mixed race",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("pacific islander")>> + <<if $corp.SpecRaces.includes("pacific islander")>> <br>Pacific Islander <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "pacific islander")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("pacific islander",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("pacific islander",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("pacific islander",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("pacific islander",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Pacific Islander== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("pacific islander",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("pacific islander",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("pacific islander",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("pacific islander",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("semitic")>> + <<if $corp.SpecRaces.includes("semitic")>> <br>Semitic <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "semitic")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("semitic",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("semitic",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("semitic",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("semitic",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Semitic== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("semitic",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("semitic",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("semitic",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("semitic",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("southern european")>> + <<if $corp.SpecRaces.includes("southern european")>> <br>Southern European <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace != "southern european")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("southern european",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("southern european",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("southern european",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("southern european",1)]] <</if>> <</if>> <</if>> <<else>> <br>==Southern European== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("southern european",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("southern european",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("southern european",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("southern european",0)]] <</if>> <</if>> <</if>> - <<if $corpSpecRaces.includes("white")>> + <<if $corp.SpecRaces.includes("white")>> <br>White <<if !($arcologies[0].FSSubjugationist != "unset" && $arcologies[0].FSSubjugationistRace == "white")>> - <<if $corpSpecRaces.length > 1 && $corpSpecTimer == 0>> - <<if ($corpSpecRaces.length == 4 || $corpSpecRaces.length == 8) && $corpSpecToken > 0>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("white",1), $corpSpecToken -= 1, $corpSpecTimer = 1]] - <<elseif ($corpSpecRaces.length != 4 || $corpSpecRaces.length != 8)>> - [[Blacklist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("white",1)]] + <<if $corp.SpecRaces.length > 1 && $corp.SpecTimer == 0>> + <<if ($corp.SpecRaces.length == 4 || $corp.SpecRaces.length == 8) && $corp.SpecToken > 0>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("white",1), $corp.SpecToken -= 1, $corp.SpecTimer = 1]] + <<elseif ($corp.SpecRaces.length != 4 || $corp.SpecRaces.length != 8)>> + [[Blacklist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("white",1)]] <</if>> <</if>> <</if>> <<else>> <br>==White== - <<if $corpSpecTimer == 0>> - <<if $corpSpecRaces.length == 3 || $corpSpecRaces.length == 7 || $corpSpecRaces.length == 11>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("white",0), $corpSpecToken += 1, $corpSpecTimer = 1]] + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecRaces.length == 3 || $corp.SpecRaces.length == 7 || $corp.SpecRaces.length == 11>> + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("white",0), $corp.SpecToken += 1, $corp.SpecTimer = 1]] <<else>> - [[Whitelist|Manage Corporation][$corpSpecRaces = corpBlacklistRace("white",0)]] + [[Whitelist|Manage Corporation][$corp.SpecRaces = corpBlacklistRace("white",0)]] <</if>> <</if>> <</if>> <</if>> - <<if $corpSpecGender == 1>> + <<if $corp.SpecGender == 1>> <br>The corporation trains slaves with pussies. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecGender>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecGender>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecGender == 2>> + <<elseif $corp.SpecGender == 2>> <br>The corporation trains slaves with dicks. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecGender>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecGender>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecHeight == 1>> + <<if $corp.SpecHeight == 1>> <br>The corporation is targeting tiny slaves. - <<if $corpSpecTimer == 0>> - [[Short Slaves|Manage Corporation][$corpSpecHeight = 2, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecHeight>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Short Slaves|Manage Corporation][$corp.SpecHeight = 2, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecHeight>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecHeight == 2>> + <<elseif $corp.SpecHeight == 2>> <br>The corporation is targeting short slaves. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && ($corpDivExtraDev + $corpDivLegalDev) > 50>> - [[Tiny Slaves|Manage Corporation][$corpSpecHeight = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && ($corp.DivExtraDev + $corp.DivLegalDev) > 50>> + [[Tiny Slaves|Manage Corporation][$corp.SpecHeight = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecHeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecHeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecHeight == 4>> + <<elseif $corp.SpecHeight == 4>> <br>The corporation is targeting tall slaves. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && ($corpDivExtraDev + $corpDivLegalDev) > 50>> - [[Giant Slaves|Manage Corporation][$corpSpecHeight = 5, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && ($corp.DivExtraDev + $corp.DivLegalDev) > 50>> + [[Giant Slaves|Manage Corporation][$corp.SpecHeight = 5, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecHeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecHeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecHeight == 5>> + <<elseif $corp.SpecHeight == 5>> <br>The corporation is targeting giant slaves. - <<if $corpSpecTimer == 0>> - [[Tall Slaves|Manage Corporation][$corpSpecHeight = 4, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecHeight>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Tall Slaves|Manage Corporation][$corp.SpecHeight = 4, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecHeight>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecVirgin == 1>> + <<if $corp.SpecVirgin == 1>> <br>The corporation is ensuring slaves remain virgins. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecVirgin>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecVirgin>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecTrust == 1>> + <<if $corp.SpecTrust == 1>> <br>The corporation is breaking slaves with extreme brutality. - <<if $corpSpecTimer == 0>> - [[Apply Less Brutality|Manage Corporation][$corpSpecTrust = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecTrust>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Apply Less Brutality|Manage Corporation][$corp.SpecTrust = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecTrust>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> /*Don't think this deserves the added cost of a token, unlike the 'utmost care' one*/ - <<elseif $corpSpecTrust == 2>> + <<elseif $corp.SpecTrust == 2>> <br>The corporation is breaking slaves with brutality. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && $arcologies[0].FSDegradationist > 20 && $corpDivBreakDev > 50>> - [[Apply Extreme Brutality|Manage Corporation][$corpSpecTrust = 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && $arcologies[0].FSDegradationist > 20 && $corp.DivBreakDev > 50>> + [[Apply Extreme Brutality|Manage Corporation][$corp.SpecTrust = 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecTrust>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecTrust>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecTrust == 4>> + <<elseif $corp.SpecTrust == 4>> <br>The corporation is breaking slaves with care. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && $arcologies[0].FSPaternalist > 20 && $corpDivBreakDev > 50>> - [[Use the Utmost Care|Manage Corporation][$corpSpecTrust = 5, $corpSpecToken += 1, $corpSpecTimer == 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && $arcologies[0].FSPaternalist > 20 && $corp.DivBreakDev > 50>> + [[Use the Utmost Care|Manage Corporation][$corp.SpecTrust = 5, $corp.SpecToken += 1, $corp.SpecTimer == 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecTrust>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecTrust>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecTrust == 5>> + <<elseif $corp.SpecTrust == 5>> <br>The corporation is breaking slaves with the utmost care. - <<if $corpSpecTimer == 0>> - [[Use Less Care|Manage Corporation][$corpSpecTrust = 4, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecTrust>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Use Less Care|Manage Corporation][$corp.SpecTrust = 4, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecTrust>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecWeight == 1>> + <<if $corp.SpecWeight == 1>> <br>The corporation makes slaves follow incredibly strict diets. - <<if $corpSpecTimer == 0>> - [[Apply Looser Diet|Manage Corporation][$corpSpecWeight = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Apply Looser Diet|Manage Corporation][$corp.SpecWeight = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecWeight == 2>> + <<elseif $corp.SpecWeight == 2>> <br>The corporation makes slaves diet. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && $arcologies[0].FSHedonisticDecadence == "unset">> - [[Apply Strict Diet|Manage Corporation][$corpSpecWeight = 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && $arcologies[0].FSHedonisticDecadence == "unset">> + [[Apply Strict Diet|Manage Corporation][$corp.SpecWeight = 1, $corp.SpecTimer = 2]] | <</if>> - [[Aim for Healthy Weight|Manage Corporation][$corpSpecWeight = 3, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + [[Aim for Healthy Weight|Manage Corporation][$corp.SpecWeight = 3, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecWeight == 3>> + <<elseif $corp.SpecWeight == 3>> <br>The corporation is aiming for slaves with a healthy weight. - <<if $corpSpecTimer == 0>> - [[Apply Diet|Manage Corporation][$corpSpecWeight = 2, $corpSpecTimer = 2]] | [[Plump up Slaves|Manage Corporation][$corpSpecWeight = 5, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Apply Diet|Manage Corporation][$corp.SpecWeight = 2, $corp.SpecTimer = 2]] | [[Plump up Slaves|Manage Corporation][$corp.SpecWeight = 5, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> /*Perhaps 'plump up' is not the right phrase*/ - <<elseif $corpSpecWeight == 5>> + <<elseif $corp.SpecWeight == 5>> <br>The corporation aims for plump slaves. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && $arcologies[0].FSPhysicalIdealist == "unset">> - [[Fatten Slaves|Manage Corporation][$corpSpecWeight = 6, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && $arcologies[0].FSPhysicalIdealist == "unset">> + [[Fatten Slaves|Manage Corporation][$corp.SpecWeight = 6, $corp.SpecTimer = 2]] | <</if>> - [[Aim for Healthy Weight|Manage Corporation][$corpSpecWeight = 3, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + [[Aim for Healthy Weight|Manage Corporation][$corp.SpecWeight = 3, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecWeight == 6>> + <<elseif $corp.SpecWeight == 6>> <br>The corporation aims for fat slaves. - <<if $corpSpecTimer == 0>> - [[Settle for Plump|Manage Corporation][$corpSpecWeight = 5, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Settle for Plump|Manage Corporation][$corp.SpecWeight = 5, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecMuscle == 1>> + <<if $corp.SpecMuscle == 1>> <br>The corporation aims to have frail slaves. - <<if $corpSpecTimer == 0>> - [[Aim for Weak|Manage Corporation][$corpSpecMuscle = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecMuscle>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Aim for Weak|Manage Corporation][$corp.SpecMuscle = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecMuscle>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecMuscle == 2>> /*Don't think this deserves the added cost of a token, unlike slaves getting ripped*/ + <<elseif $corp.SpecMuscle == 2>> /*Don't think this deserves the added cost of a token, unlike slaves getting ripped*/ <br>The corporation aims to have weak slaves. - <<if $corpSpecTimer == 0>> + <<if $corp.SpecTimer == 0>> <<if $arcologies[0].FSPhysicalIdealist == "unset">> - [[Aim for Frail|Manage Corporation][$corpSpecMuscle = 1, $corpSpecTimer = 2]] | + [[Aim for Frail|Manage Corporation][$corp.SpecMuscle = 1, $corp.SpecTimer = 2]] | <</if>> - [[Aim for Soft|Manage Corporation][$corpSpecMuscle = 3, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + [[Aim for Soft|Manage Corporation][$corp.SpecMuscle = 3, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecMuscle == 3>> + <<elseif $corp.SpecMuscle == 3>> <br>The corporation is aiming for slaves with soft muscles. - <<if $corpSpecTimer == 0>> + <<if $corp.SpecTimer == 0>> <<if $arcologies[0].FSPhysicalIdealist == "unset">> - [[Aim for Weak|Manage Corporation][$corpSpecMuscle = 2, $corpSpecTimer = 2]] | + [[Aim for Weak|Manage Corporation][$corp.SpecMuscle = 2, $corp.SpecTimer = 2]] | <</if>> - [[Aim for Toned|Manage Corporation][$corpSpecMuscle = 4, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + [[Aim for Toned|Manage Corporation][$corp.SpecMuscle = 4, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecMuscle == 4>> + <<elseif $corp.SpecMuscle == 4>> <br>The corporation aims for toned muscles. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && ($corpDivBreakDev + $corpDivSurgeryDev + $corpDivTrainDev > 100)>> - [[Aim for Ripped|Manage Corporation][$corpSpecMuscle = 5, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && ($corp.DivBreakDev + $corp.DivSurgeryDev + $corp.DivTrainDev > 100)>> + [[Aim for Ripped|Manage Corporation][$corp.SpecMuscle = 5, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - [[Aim for Soft|Manage Corporation][$corpSpecMuscle = 3, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + [[Aim for Soft|Manage Corporation][$corp.SpecMuscle = 3, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecMuscle == 5>> + <<elseif $corp.SpecMuscle == 5>> <br>The corporation aims for ripped slaves. - <<if $corpSpecTimer == 0>> - [[Aim for Toned|Manage Corporation][$corpSpecMuscle = 4, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecWeight>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Aim for Toned|Manage Corporation][$corp.SpecMuscle = 4, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecWeight>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecDevotion == 1>> + <<if $corp.SpecDevotion == 1>> <br>The corporation keeps slaves extremely defiant. - <<if $corpSpecTimer == 0>> - [[Less Defiant|Manage Corporation][$corpSpecDevotion = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecDevotion>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Less Defiant|Manage Corporation][$corp.SpecDevotion = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecDevotion>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> /*Don't think this deserves the added cost of a token, unlike the 'devoted' one*/ - <<elseif $corpSpecDevotion == 2>> + <<elseif $corp.SpecDevotion == 2>> <br>The corporation keeps slaves reluctant. - <<if $corpSpecTimer == 0>> - [[Make them Defiant|Manage Corporation][$corpSpecDevotion = 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecDevotion>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Make them Defiant|Manage Corporation][$corp.SpecDevotion = 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecDevotion>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecDevotion == 4>> + <<elseif $corp.SpecDevotion == 4>> <br>The corporation is fostering obedience. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && $corpDivTrainDev > 100>> - [[Foster Devotion|Manage Corporation][$corpSpecDevotion = 5, $corpSpecToken += 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && $corp.DivTrainDev > 100>> + [[Foster Devotion|Manage Corporation][$corp.SpecDevotion = 5, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecDevotion>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecDevotion>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecDevotion == 5>> + <<elseif $corp.SpecDevotion == 5>> <br>The corporation is fostering devotion. - <<if $corpSpecTimer == 0>> - [[Settle for Obedience|Manage Corporation][$corpSpecDevotion = 4, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecDevotion>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Settle for Obedience|Manage Corporation][$corp.SpecDevotion = 4, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecDevotion>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecIntelligence == 1>> + <<if $corp.SpecIntelligence == 1>> <br>The corporation keeps stupid slaves. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecIntelligence>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecIntelligence>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecIntelligence == 3>> + <<elseif $corp.SpecIntelligence == 3>> <br>The corporation keeps intelligent slaves. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecIntelligence>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecIntelligence>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecAge == 1>> + <<if $corp.SpecAge == 1>> <br>The corporation focuses on young slaves. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecAge>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecAge>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecAge == 3>> + <<elseif $corp.SpecAge == 3>> <br>The corporation focuses on older slaves. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecAge>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecAge>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecAccent == 1>> + <<if $corp.SpecAccent == 1>> <br>The corporation teaches slaves to speak the lingua franca. - <<if $corpSpecTimer == 0>> - [[Eliminate Accents|Manage Corporation][$corpSpecAccent = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecAccent>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Eliminate Accents|Manage Corporation][$corp.SpecAccent = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecAccent>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecAccent == 2>> + <<elseif $corp.SpecAccent == 2>> <br>The corporation teaches slaves to speak the lingua franca without an accent. - <<if $corpSpecTimer == 0>> - [[Just Teach Language|Manage Corporation][$corpSpecAccent = 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecAccent>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Just Teach Language|Manage Corporation][$corp.SpecAccent = 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecAccent>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecEducation == 0>> + <<if $corp.SpecEducation == 0>> <br>The corporation focuses on uneducated slaves. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0>> - [[Basic Education|Manage Corporation][$corpSpecEducation = 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0>> + [[Basic Education|Manage Corporation][$corp.SpecEducation = 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecEducation>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecEducation>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecEducation == 1>> + <<elseif $corp.SpecEducation == 1>> <br>The corporation makes sure all slaves have a basic education. - <<if $corpSpecTimer == 0>> - <<if $corpDivTrainDev > 200 && $corpSpecToken > 0>> - [[Advanced Education|Manage Corporation][$corpSpecEducation = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.DivTrainDev > 200 && $corp.SpecToken > 0>> + [[Advanced Education|Manage Corporation][$corp.SpecEducation = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - [[No Education|Manage Corporation][$corpSpecEducation = 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecEducation>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + [[No Education|Manage Corporation][$corp.SpecEducation = 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecEducation>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecEducation == 2>> + <<elseif $corp.SpecEducation == 2>> <br>The corporation makes sure all slaves have an advanced education. - <<if $corpSpecTimer == 0>> - [[Basic Education|Manage Corporation][$corpSpecEducation = 1, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecEducation>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Basic Education|Manage Corporation][$corp.SpecEducation = 1, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecEducation>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecCosmetics == 1>> + <<if $corp.SpecCosmetics == 1>> <br>The corporation applies straightforward cosmetic procedures. - <<if $corpSpecTimer == 0>> - <<link "No Focus">><<unset $corpSpecCosmetics>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "No Focus">><<unset $corp.SpecCosmetics>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecCosmetics == 0>> + <<elseif $corp.SpecCosmetics == 0>> <br>The corporation doesn't apply cosmetic procedures. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0>> - [[Applied|Manage Corporation][$corpSpecCosmetics = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0>> + [[Applied|Manage Corporation][$corp.SpecCosmetics = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecCosmetics>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecCosmetics>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecImplants == 1>> + <<if $corp.SpecImplants == 1>> <br>The corporation applies tasteful implants to all slaves. - <<if $corpSpecTimer == 0>> - <<if $corpDivSurgeryDev > 100 && $corpSpecToken > 0>> - [[Absurd Implants|Manage Corporation][$corpSpecImplants = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.DivSurgeryDev > 100 && $corp.SpecToken > 0>> + [[Absurd Implants|Manage Corporation][$corp.SpecImplants = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecImplants>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecImplants>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecImplants == 2>> + <<elseif $corp.SpecImplants == 2>> <br>The corporation applies absurd implants to all slaves. - <<if $corpSpecTimer == 0>> - [[Tasteful Implants|Manage Corporation][$corpSpecImplants = 1, $corpSpecToken += 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecImplants>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Tasteful Implants|Manage Corporation][$corp.SpecImplants = 1, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecImplants>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecImplants == 0>> + <<elseif $corp.SpecImplants == 0>> <br>The corporation keeps their slaves entirely implant free. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0>> - [[Tasteful Implants|Manage Corporation][$corpSpecImplants = 1, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0>> + [[Tasteful Implants|Manage Corporation][$corp.SpecImplants = 1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecImplants>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecImplants>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if ndef $corpSpecPussy && ndef $corpSpecDick && ndef $corpSpecBalls && $corpSpecGenitalia == 1>> - <<set ndef $corpSpecGenitalia, - $corpSpecToken += 1>> + <<if ndef $corp.SpecPussy && ndef $corp.SpecDick && ndef $corp.SpecBalls && $corp.SpecGenitalia == 1>> + <<set ndef $corp.SpecGenitalia, + $corp.SpecToken += 1>> <</if>> - <<if $corpSpecGenitalia == 1>> - <<if $corpSpecPussy == 1>> + <<if $corp.SpecGenitalia == 1>> + <<if $corp.SpecPussy == 1>> <br>The corporation adds a pussy to all slaves. - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecPussy>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecPussy>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecPussy == -1>> + <<elseif $corp.SpecPussy == -1>> <br>The corporation removes pussies from all slaves. - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecPussy>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecPussy>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <<else>> <br>The corporation has no plans for pussies. - <<if $corpSpecTimer == 0>> - [[Add Pussy|Manage Corporation][$corpSpecPussy = 1, $corpSpecTimer = 2]] | [[Remove Pussy|Manage Corporation][$corpSpecPussy = -1, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if $corp.SpecTimer == 0>> + [[Add Pussy|Manage Corporation][$corp.SpecPussy = 1, $corp.SpecTimer = 2]] | [[Remove Pussy|Manage Corporation][$corp.SpecPussy = -1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> <</if>> - <<if $corpSpecDick == 1>> + <<if $corp.SpecDick == 1>> <br>The corporation adds a dick to all slaves. - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecDick>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecDick>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecDick == -1>> + <<elseif $corp.SpecDick == -1>> <br>The corporation removes dicks from all slaves. - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecDick>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecDick>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <<else>> <br>The corporation has no plans for dicks. - <<if $corpSpecTimer == 0>> - [[Add Dick|Manage Corporation][$corpSpecDick = 1, $corpSpecTimer = 2]] | [[Remove Dick|Manage Corporation][$corpSpecDick = -1, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if $corp.SpecTimer == 0>> + [[Add Dick|Manage Corporation][$corp.SpecDick = 1, $corp.SpecTimer = 2]] | [[Remove Dick|Manage Corporation][$corp.SpecDick = -1, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> <</if>> - <<if $corpSpecBalls == 1>> + <<if $corp.SpecBalls == 1>> <br>The corporation adds balls to all slaves (penis required). - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecBalls>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecBalls>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecBalls == -1>> + <<elseif $corp.SpecBalls == -1>> <br>The corporation removes balls from all slaves. - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecBalls>><<set $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecBalls>><<set $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <<else>> <br>The corporation has no plans for balls. - <<if $corpSpecTimer == 0>> - [[Add Balls|Manage Corporation][$corpSpecBalls = 1, $corpSpecTimer = 2]] | [[Remove Balls|Manage Corporation][$corpSpecBalls = -1, $corpSpecTimer = 2]] + <<if $corp.SpecTimer == 0>> + [[Add Balls|Manage Corporation][$corp.SpecBalls = 1, $corp.SpecTimer = 2]] | [[Remove Balls|Manage Corporation][$corp.SpecBalls = -1, $corp.SpecTimer = 2]] <</if>> <</if>> <</if>> - <<if $corpSpecInjection == 1>> + <<if $corp.SpecInjection == 1>> <br>The corporation aims for petite assets. - <<if $corpSpecTimer == 0>> - [[Tasteful Size|Manage Corporation][$corpSpecInjection = 2, $corpSpecTimer = 2]] | [[Huge Size|Manage Corporation][$corpSpecInjection = 3, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecInjection>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Tasteful Size|Manage Corporation][$corp.SpecInjection = 2, $corp.SpecTimer = 2]] | [[Huge Size|Manage Corporation][$corp.SpecInjection = 3, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecInjection>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecInjection == 2>> + <<elseif $corp.SpecInjection == 2>> <br>The corporation aims for tasteful assets. - <<if $corpSpecTimer == 0>> - [[Small Size|Manage Corporation][$corpSpecInjection = 1, $corpSpecTimer = 2]] | [[Huge Size|Manage Corporation][$corpSpecInjection = 3, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecInjection>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Small Size|Manage Corporation][$corp.SpecInjection = 1, $corp.SpecTimer = 2]] | [[Huge Size|Manage Corporation][$corp.SpecInjection = 3, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecInjection>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecInjection == 3>> + <<elseif $corp.SpecInjection == 3>> <br>The corporation aims for huge assets. - <<if $corpSpecTimer == 0>> - [[Small Size|Manage Corporation][$corpSpecInjection = 1, $corpSpecTimer = 2]] | [[Tasteful Size|Manage Corporation][$corpSpecInjection = 2, $corpSpecTimer = 2]] | - <<if $corpDivSurgeryDev > 100 && $corpSpecToken > 0>> - [[Supermassive Size|Manage Corporation][$corpSpecInjection = 4, $corpSpecToken -= 1, $corpSpecTimer = 2]] + <<if $corp.SpecTimer == 0>> + [[Small Size|Manage Corporation][$corp.SpecInjection = 1, $corp.SpecTimer = 2]] | [[Tasteful Size|Manage Corporation][$corp.SpecInjection = 2, $corp.SpecTimer = 2]] | + <<if $corp.DivSurgeryDev > 100 && $corp.SpecToken > 0>> + [[Supermassive Size|Manage Corporation][$corp.SpecInjection = 4, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] <</if>> - <<if $corpDivDairyDev > 200 && $corpSpecToken > 0>> | - [[Pastoral Size|Manage Corporation][$corpSpecInjection = 5, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.DivDairyDev > 200 && $corp.SpecToken > 0>> | + [[Pastoral Size|Manage Corporation][$corp.SpecInjection = 5, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecInjection>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecInjection>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecInjection == 4>> + <<elseif $corp.SpecInjection == 4>> <br>The corporation aims for supermassive assets. - <<if $corpSpecTimer == 0>> - [[Huge Size|Manage Corporation][$corpSpecInjection = 3, $corpSpecToken += 1, $corpSpecTimer = 2]] | - <<if $corpDivDairyDev > 200>> - [[Pastoral Size|Manage Corporation][$corpSpecInjection = 5, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + [[Huge Size|Manage Corporation][$corp.SpecInjection = 3, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | + <<if $corp.DivDairyDev > 200>> + [[Pastoral Size|Manage Corporation][$corp.SpecInjection = 5, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecInjection>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecInjection>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecInjection == 5>> + <<elseif $corp.SpecInjection == 5>> <br>The corporation aims for pastoral assets. - <<if $corpSpecTimer == 0>> - [[Huge Size|Manage Corporation][$corpSpecInjection = 3, $corpSpecToken += 1, $corpSpecTimer = 2]] | - <<if $corpDivSurgeryDev > 50>> - [[Supermassive Size|Manage Corporation][$corpSpecInjection = 4, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + [[Huge Size|Manage Corporation][$corp.SpecInjection = 3, $corp.SpecToken += 1, $corp.SpecTimer = 2]] | + <<if $corp.DivSurgeryDev > 50>> + [[Supermassive Size|Manage Corporation][$corp.SpecInjection = 4, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecInjection>><<set $corpSpecToken += 2, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecInjection>><<set $corp.SpecToken += 2, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecHormones == 1>> + <<if $corp.SpecHormones == 1>> <br>The corporation feminizes slaves with hormones. - <<if $corpSpecTimer == 0>> - [[Masculinize|Manage Corporation][$corpSpecHormones = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecHormones>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Masculinize|Manage Corporation][$corp.SpecHormones = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecHormones>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecHormones == 2>> + <<elseif $corp.SpecHormones == 2>> <br>The corporation masculinize slaves with hormones. - <<if $corpSpecTimer == 0>> - [[Feminize|Manage Corporation][$corpSpecHormones = 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecHormones>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Feminize|Manage Corporation][$corp.SpecHormones = 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecHormones>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecAmputee == 1>> + <<if $corp.SpecAmputee == 1>> <br>The corporation removes all limbs from its slaves. - <<if $corpSpecTimer == 0>> - <<link "Stop">><<unset $corpSpecAmputee>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + <<link "Stop">><<unset $corp.SpecAmputee>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecMilk == 1>> + <<if $corp.SpecMilk == 1>> <br>The corporation makes sure all slaves are naturally lactating. - <<if $corpSpecTimer == 0>> - [[Lactation Implant|Manage Corporation][$corpSpecMilk = 2, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecMilk>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Lactation Implant|Manage Corporation][$corp.SpecMilk = 2, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecMilk>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecMilk == 2>> + <<elseif $corp.SpecMilk == 2>> <br>The corporation equips all slaves with lactation implants. - <<if $corpSpecTimer == 0>> - [[Natural Lactation|Manage Corporation][$corpSpecMilk = 1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecMilk>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Natural Lactation|Manage Corporation][$corp.SpecMilk = 1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecMilk>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> - <<if $corpSpecSexEd == 1>> + <<if $corp.SpecSexEd == 1>> <br>The corporation familiarizes slaves with sexual service. - <<if $corpSpecTimer == 0>> - <<if $corpSpecToken > 0 && $corpDivWhoreDev > 200>> - [[Advanced Training|Manage Corporation][$corpSpecSexEd = 2, $corpSpecToken -= 1, $corpSpecTimer = 2]] | + <<if $corp.SpecTimer == 0>> + <<if $corp.SpecToken > 0 && $corp.DivWhoreDev > 200>> + [[Advanced Training|Manage Corporation][$corp.SpecSexEd = 2, $corp.SpecToken -= 1, $corp.SpecTimer = 2]] | <</if>> - <<link "No Focus">><<unset $corpSpecSexEd>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<link "No Focus">><<unset $corp.SpecSexEd>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecSexEd == 2>> + <<elseif $corp.SpecSexEd == 2>> <br>The corporation teaches advanced sexual techniques to its slaves. - <<if $corpSpecTimer == 0>> - [[Basic Training|Manage Corporation][$corpSpecSexEd = 1, $corpSpecToken +=1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecSexEd>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Basic Training|Manage Corporation][$corp.SpecSexEd = 1, $corp.SpecToken +=1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecSexEd>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> - <<elseif $corpSpecSexEd == 0>> + <<elseif $corp.SpecSexEd == 0>> <br>The corporation teaches no sexual techniques to its slaves. - <<if $corpSpecTimer == 0>> - [[Basic Training|Manage Corporation][$corpSpecSexEd = 1, $corpSpecToken -=1, $corpSpecTimer = 2]] | <<link "No Focus">><<unset $corpSpecSexEd>><<set $corpSpecToken += 1, $corpSpecTimer = 2>><<goto "Manage Corporation">><</link>> + <<if $corp.SpecTimer == 0>> + [[Basic Training|Manage Corporation][$corp.SpecSexEd = 1, $corp.SpecToken -=1, $corp.SpecTimer = 2]] | <<link "No Focus">><<unset $corp.SpecSexEd>><<set $corp.SpecToken += 1, $corp.SpecTimer = 2>><<goto "Manage Corporation">><</link>> <</if>> <</if>> <</if>> /*End of activated specializations*/ diff --git a/src/arcologyBuilding/markets.js b/src/arcologyBuilding/markets.js index ac6c74bb9ed..427ef4983c3 100644 --- a/src/arcologyBuilding/markets.js +++ b/src/arcologyBuilding/markets.js @@ -113,13 +113,13 @@ App.Arcology.Cell.Market = class extends App.Arcology.Cell.BaseCell { } const corpCost = Math.trunc(10000 * V.upgradeMultiplierArcology); - if (V.corpMarket === 0 && V.corpIncorporated === 1) { + if (V.corp.Market === 0 && V.corp.Incorporated === 1) { fragment.append(this._makeUpgrade( "Create a flagship slave market for your corporation here", () => { this.type = "Corporate Market"; - V.corpMarket = 1; - V.corpCash -= corpCost; + V.corp.Market = 1; + V.corp.Cash -= corpCost; }, 0, `Costs ${cashFormat(corpCost)} of the corporation's money` )); } diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index 4ca3c240c98..a6b50a4a2a4 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -897,14 +897,14 @@ App.Update.globalVariables = function() { { App.Corporate.Backcompat(); /* Corporation variables added*/ - if (V.corpExpandToken > 1) { - V.corpExpandToken = 1; + if (V.corp.ExpandToken > 1) { + V.corp.ExpandToken = 1; } V.dividendTimer = V.dividendTimer || 13; /* Removing the old Corp from save*/ - if (V.corpValue) { - cashX(Math.min(Math.trunc((V.corpValue / (V.publicShares + V.personalShares)) * V.personalShares), 1000000), "stocksTraded"); + if (V.corp.Value) { + cashX(Math.min(Math.trunc((V.corp.Value / (V.publicShares + V.personalShares)) * V.personalShares), 1000000), "stocksTraded"); /* Paying the player for his old corporation, so they can get the new one started with haste. It should perhaps have a message going with it*/ if (typeof V.sectors !== "undefined") { for (let i = 0; i < V.sectors.length; i++) { diff --git a/src/gui/storyCaption.tw b/src/gui/storyCaption.tw index ad3ad382ad9..1789dc6fdb3 100644 --- a/src/gui/storyCaption.tw +++ b/src/gui/storyCaption.tw @@ -337,11 +337,11 @@ <<link [[Manage Personal Affairs]]>><</link>> </span> @@.cyan;[X]@@ <</if>> - <<if $corpAnnounced == 1 && _Pass != "Manage Corporation">> + <<if $corp.Announced == 1 && _Pass != "Manage Corporation">> <span id="manageCorporation"> <br> <<link [[Manage Corporation][$nextButton = "Back", $nextLink = _Pass]]>><</link>> </span> - <<if ($corpSpecToken > 0) && ($corpSpecTimer == 0)>>@@.yellow;[!]@@<</if>> + <<if ($corp.SpecToken > 0) && ($corp.SpecTimer == 0)>>@@.yellow;[!]@@<</if>> <</if>> <<if _Pass == "Main">> diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 7b76246a5d1..a36abd7abc2 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -98,7 +98,7 @@ You should have received a copy of the GNU General Public License along with thi <</if>> /*Undefining corporation variables*/ - <<unset $corpAssetsDev, $corpAssetsDevOld, $corpAssetsSlave, $corpAssetsSlaveOld, $corpCash, $corpDiv, $corpDivArcadeFromMarket, $corpDivArcadeSlaves, $corpDivBreakFromMarket, $corpDivBreakSlaves, $corpDivBreakSlaves2, $corpDivBreakToMarket, $corpDivBreakToMenial, $corpDivBreakToSurgery, $corpDivBreakToTrain, $corpDivDairyFromMarket, $corpDivDairySlaves, $corpDivExtraSlaves, $corpDivExtraToArcade, $corpDivExtraToBreak, $corpDivExtraToMarket, $corpDividend, $corpDivLegalSlaves, $corpDivLegalToMarket, $corpDivLegalToMenial, $corpDivLegalToSurgery, $corpDivLegalToTrain, $corpDivMenialFromMarket, $corpDivMenialSlaves, $corpDivSurgeryFromMarket, $corpDivSurgerySlaves, $corpDivSurgerySlaves2, $corpDivSurgeryToDairy, $corpDivSurgeryToMarket, $corpDivSurgeryToTrain, $corpDivTrainFromMarket, $corpDivTrainSlaves, $corpDivTrainSlaves2, $corpDivTrainToMarket, $corpDivTrainToWhore, $corpDivWhoreFromMarket, $corpDivWhoreSlaves, $corpOpCostOld, $corpOverheadOld, $corpProfitOld, $corpRev, $corpRevOld, $corpSpecAccent, $corpSpecAge, $corpSpecAmputee, $corpSpecBalls, $corpSpecDevotion, $corpSpecDick, $corpSpecEducation, $corpSpecGender, $corpSpecGenitalia, $corpSpecHeight, $corpSpecHormones, $corpSpecImplants, $corpSpecInjection, $corpSpecIntelligence, $corpSpecMilk, $corpSpecMuscle, $corpSpecPussy, $corpSpecSexEd, $corpSpecTrust, $corpSpecVirgin, $corpSpecWeight, $dividendTimer, $personalShares, $publicShares>> + <<unset $corp.AssetsDev, $corp.AssetsDevOld, $corp.AssetsSlave, $corp.AssetsSlaveOld, $corp.Cash, $corp.Div, $corp.DivArcadeFromMarket, $corp.DivArcadeSlaves, $corp.DivBreakFromMarket, $corp.DivBreakSlaves, $corp.DivBreakSlaves2, $corp.DivBreakToMarket, $corp.DivBreakToMenial, $corp.DivBreakToSurgery, $corp.DivBreakToTrain, $corp.DivDairyFromMarket, $corp.DivDairySlaves, $corp.DivExtraSlaves, $corp.DivExtraToArcade, $corp.DivExtraToBreak, $corp.DivExtraToMarket, $corp.Dividend, $corp.DivLegalSlaves, $corp.DivLegalToMarket, $corp.DivLegalToMenial, $corp.DivLegalToSurgery, $corp.DivLegalToTrain, $corp.DivMenialFromMarket, $corp.DivMenialSlaves, $corp.DivSurgeryFromMarket, $corp.DivSurgerySlaves, $corp.DivSurgerySlaves2, $corp.DivSurgeryToDairy, $corp.DivSurgeryToMarket, $corp.DivSurgeryToTrain, $corp.DivTrainFromMarket, $corp.DivTrainSlaves, $corp.DivTrainSlaves2, $corp.DivTrainToMarket, $corp.DivTrainToWhore, $corp.DivWhoreFromMarket, $corp.DivWhoreSlaves, $corp.OpCostOld, $corp.OverheadOld, $corp.ProfitOld, $corp.Rev, $corp.RevOld, $corp.SpecAccent, $corp.SpecAge, $corp.SpecAmputee, $corp.SpecBalls, $corp.SpecDevotion, $corp.SpecDick, $corp.SpecEducation, $corp.SpecGender, $corp.SpecGenitalia, $corp.SpecHeight, $corp.SpecHormones, $corp.SpecImplants, $corp.SpecInjection, $corp.SpecIntelligence, $corp.SpecMilk, $corp.SpecMuscle, $corp.SpecPussy, $corp.SpecSexEd, $corp.SpecTrust, $corp.SpecVirgin, $corp.SpecWeight, $dividendTimer, $personalShares, $publicShares>> <</if>> /* Porn star counts (prestige 1) and ID's (prestige 3) */ diff --git a/src/js/generateMarketSlave.js b/src/js/generateMarketSlave.js index c913c2818f3..962e07422a0 100644 --- a/src/js/generateMarketSlave.js +++ b/src/js/generateMarketSlave.js @@ -10,11 +10,11 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { switch (market) { case "corporate": - if (V.corpSpecAge === 1) { + if (V.corp.SpecAge === 1) { r += `Teenage slaves are strongly favored for training. `; V.activeSlaveOneTimeMinAge = V.minimumSlaveAge; V.activeSlaveOneTimeMaxAge = 19; - } else if (V.corpSpecAge === 3) { + } else if (V.corp.SpecAge === 3) { r += `Newly enslaved MILFs are strongly favored for training. `; if (V.pedo_mode === 1) { V.activeSlaveOneTimeMinAge = 24; @@ -27,13 +27,13 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { r += `Promising slaves are trained without special sorting based on age. `; } V.one_time_age_overrides_pedo_mode = 1; - if (V.corpSpecRaces.length > 0) { - V.fixedRace = jsEither(V.corpSpecRaces); + if (V.corp.SpecRaces.length > 0) { + V.fixedRace = jsEither(V.corp.SpecRaces); } - if (V.corpSpecGender === 1) { + if (V.corp.SpecGender === 1) { r += `Slaves without pussies are not trained. `; V.activeSlave = GenerateNewSlave("XX"); - } else if (V.corpSpecGender === 2) { + } else if (V.corp.SpecGender === 2) { r += `Slaves without dicks are not trained. `; V.activeSlave = GenerateNewSlave("XY"); } else { @@ -44,43 +44,43 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { V.activeSlave.devotion = jsRandom(-30, 0); V.activeSlave.trust = jsRandom(-45, -25); setHealth(V.activeSlave, jsRandom(25, 50), Math.max(normalRandInt(0, 4), 0), Math.max(normalRandInt(0, 4), 0), Math.max(normalRandInt(0, 0.5), 0), jsRandom(10, 40)); - if (V.corpSpecDevotion > 0) { - V.activeSlave.devotion = jsRandom(-120, -90) + V.corpSpecDevotion * 30; - if (V.corpSpecDevotion === 1) { + if (V.corp.SpecDevotion > 0) { + V.activeSlave.devotion = jsRandom(-120, -90) + V.corp.SpecDevotion * 30; + if (V.corp.SpecDevotion === 1) { r += `It does everything it can to make trainees furious. `; - } else if (V.corpSpecDevotion === 2) { + } else if (V.corp.SpecDevotion === 2) { r += `It makes no effort to tame trainees. `; - } else if (V.corpSpecDevotion === 4) { + } else if (V.corp.SpecDevotion === 4) { r += `It focuses on selecting trainees predisposed towards obedience. `; - } else if (V.corpSpecDevotion === 5) { + } else if (V.corp.SpecDevotion === 5) { r += `It focuses on selecting trainees predisposed towards devotion to their owner. `; } } else { r += `It does not select trainees based on their initial feelings about slavery. `; } - if (V.corpSpecIntelligence === 3) { + if (V.corp.SpecIntelligence === 3) { r += `Intelligent slaves have a high priority for training. `; V.activeSlave.intelligence = Intelligence.random({limitIntelligence: [30, 100]}); - } else if (V.corpSpecIntelligence === 1) { + } else if (V.corp.SpecIntelligence === 1) { r += `Stupid slaves have a high priority for training. `; V.activeSlave.intelligence = Intelligence.random({limitIntelligence: [-100, -30]}); } else { r += `Slaves' intelligence is not given special consideration. `; } - if (V.corpSpecRaces.length === 0 || V.corpSpecRaces.length === 12) { + if (V.corp.SpecRaces.length === 0 || V.corp.SpecRaces.length === 12) { r += `There is no racial element to trainee selection. `; - } else if (V.corpSpecRaces.length === 1) { - r += `The corporation specializes in ${V.corpSpecRaces[0]} slaves. `; + } else if (V.corp.SpecRaces.length === 1) { + r += `The corporation specializes in ${V.corp.SpecRaces[0]} slaves. `; } else { r += `The corporation selects slaves based on race. `; /* getting into the specifics of which races exactly is a hellhole I'd rather not jump into*/ } - if (V.corpSpecTrust > 0) { - V.activeSlave.trust = jsRandom(-105, -85) + V.corpSpecTrust * 20; - if (V.corpSpecTrust === 1) { + if (V.corp.SpecTrust > 0) { + V.activeSlave.trust = jsRandom(-105, -85) + V.corp.SpecTrust * 20; + if (V.corp.SpecTrust === 1) { r += `The corporation applies extremely brutal slave breaking techniques, uncontrollable sobbing and bloodcurdling screams are heard around the clock. `; - } else if (V.corpSpecTrust === 2) { + } else if (V.corp.SpecTrust === 2) { r += `The corporation applies brutal slave breaking techniques. `; - } else if (V.corpSpecTrust === 4) { + } else if (V.corp.SpecTrust === 4) { r += `The corporation applies caring slave breaking techniques. `; } else { r += `The corporation applies surprisingly caring slave breaking techniques that sometimes convince refugees and similar downtrodden people that slavery is a step up for them. `; @@ -88,34 +88,34 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { } else { r += `The corporation applies standard slave breaking techniques. `; } - if (V.corpSpecHeight > 0) { - V.activeSlave.height = Math.trunc(Height.random(V.activeSlave, {limitMult: [V.corpSpecHeight - 4, V.corpSpecHeight - 2]})); - if (V.corpSpecHeight === 1) { + if (V.corp.SpecHeight > 0) { + V.activeSlave.height = Math.trunc(Height.random(V.activeSlave, {limitMult: [V.corp.SpecHeight - 4, V.corp.SpecHeight - 2]})); + if (V.corp.SpecHeight === 1) { r += `The corporation specifically targets very short slaves. `; - } else if (V.corpSpecHeight === 2) { + } else if (V.corp.SpecHeight === 2) { r += `The corporation targets short slaves. `; - } else if (V.corpSpecHeight === 4) { + } else if (V.corp.SpecHeight === 4) { r += `The corporation targets tall slaves. `; - } else if (V.corpSpecHeight === 5) { + } else if (V.corp.SpecHeight === 5) { r += `The corporation specifically targets incredibly tall slaves. `; } } - if (V.corpSpecVirgin === 1) { + if (V.corp.SpecVirgin === 1) { r += `The corporation ensures its slaves are virgins. `; V.activeSlave.anus = 0; if (V.activeSlave.vagina > 0) { V.activeSlave.vagina = 0; } } - if (V.corpSpecWeight > 0) { - V.activeSlave.weight = jsRandom(-85 + V.corpSpecWeight * 20, -65 + V.corpSpecWeight * 30); - if (V.corpSpecWeight === 1) { + if (V.corp.SpecWeight > 0) { + V.activeSlave.weight = jsRandom(-85 + V.corp.SpecWeight * 20, -65 + V.corp.SpecWeight * 30); + if (V.corp.SpecWeight === 1) { r += `Trainees are practically starved through a rigorous diet. `; - } else if (V.corpSpecWeight === 2) { + } else if (V.corp.SpecWeight === 2) { r += `Trainees are put on a diet to get them nice and thin. `; - } else if (V.corpSpecWeight === 3) { + } else if (V.corp.SpecWeight === 3) { r += `Thin trainees are fattened up; fat trainees are slimmed down. `; - } else if (V.corpSpecWeight === 5) { + } else if (V.corp.SpecWeight === 5) { r += `Trainees are fattened until they're nice and curvy. `; } else { r += `Trainees are fed as much as they can stomach. `; @@ -123,64 +123,64 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { } else { r += `Only the unhealthiest trainees are fed special diets. `; } - if (V.corpSpecMuscle > 0) { - V.activeSlave.muscles = jsRandom(-85, -65) + V.corpSpecMuscle * 25; - if (V.corpSpecMuscle === 1) { + if (V.corp.SpecMuscle > 0) { + V.activeSlave.muscles = jsRandom(-85, -65) + V.corp.SpecMuscle * 25; + if (V.corp.SpecMuscle === 1) { r += `Trainees are kept physically inactive and frail. `; - } else if (V.corpSpecMuscle === 2) { + } else if (V.corp.SpecMuscle === 2) { r += `Trainees are kept physically weak. `; - } else if (V.corpSpecMuscle === 3) { + } else if (V.corp.SpecMuscle === 3) { r += `Trainees' muscles are kept soft. `; - } else if (V.corpSpecMuscle === 4) { + } else if (V.corp.SpecMuscle === 4) { r += `Trainees are brought up to a good state of physical fitness. `; - } else if (V.corpSpecMuscle === 5) { + } else if (V.corp.SpecMuscle === 5) { r += `Trainees are subjected to punishing workout routines and only sold when ripped. `; } } else { r += `Trainees are not subjected to any special workout routine. `; } - if (V.corpSpecAccent === 1) { + if (V.corp.SpecAccent === 1) { r += `The corporation teaches its trainees the lingua franca but allows them to retain distinctive accents. `; V.activeSlave.accent = Math.clamp(V.activeSlave.accent, 0, 1); - } else if (V.corpSpecAccent === 2) { + } else if (V.corp.SpecAccent === 2) { r += `The corporation teaches its trainees to speak the lingua franca without accent. `; V.activeSlave.accent = 0; } else { r += `The corporation does not expend any special effort teaching language. `; } - if (V.corpSpecEducation > 0) { - V.activeSlave.intelligenceImplant = 15 * V.corpSpecEducation; - V.activeSlave.skill.whoring = Math.clamp(V.activeSlave.skill.whoring, 15 * V.corpSpecEducation, 100); - V.activeSlave.skill.entertainment = Math.clamp(V.activeSlave.skill.entertainment, 15 * V.corpSpecEducation, 100); - if (V.corpSpecEducation === 1) { + if (V.corp.SpecEducation > 0) { + V.activeSlave.intelligenceImplant = 15 * V.corp.SpecEducation; + V.activeSlave.skill.whoring = Math.clamp(V.activeSlave.skill.whoring, 15 * V.corp.SpecEducation, 100); + V.activeSlave.skill.entertainment = Math.clamp(V.activeSlave.skill.entertainment, 15 * V.corp.SpecEducation, 100); + if (V.corp.SpecEducation === 1) { r += `Its slave students receive basic slave educations. `; - } else if (V.corpSpecEducation === 2) { + } else if (V.corp.SpecEducation === 2) { r += `Its slave students receive advanced slave educations. `; } } else { r += `Its slaves are not given special educational attention. `; } - if (V.corpSpecSexEd > 0) { - V.activeSlave.skill.oral = Math.clamp(V.activeSlave.skill.oral, 15 * V.corpSpecSexEd, 100); + if (V.corp.SpecSexEd > 0) { + V.activeSlave.skill.oral = Math.clamp(V.activeSlave.skill.oral, 15 * V.corp.SpecSexEd, 100); if (V.activeSlave.anus > 0) { - V.activeSlave.skill.anal = Math.clamp(V.activeSlave.skill.anal, 15 * V.corpSpecSexEd, 100); + V.activeSlave.skill.anal = Math.clamp(V.activeSlave.skill.anal, 15 * V.corp.SpecSexEd, 100); } else if (V.activeSlave.anus === 0) { V.activeSlave.skill.anal = Math.clamp(V.activeSlave.skill.anal, 15, 100); } if (V.activeSlave.vagina > 0) { - V.activeSlave.skill.vaginal = Math.clamp(V.activeSlave.skill.vaginal, 15 * V.corpSpecSexEd, 100); + V.activeSlave.skill.vaginal = Math.clamp(V.activeSlave.skill.vaginal, 15 * V.corp.SpecSexEd, 100); } else if (V.activeSlave.vagina === 0) { V.activeSlave.skill.vaginal = Math.clamp(V.activeSlave.skill.vaginal, 15, 100); } - if (V.corpSpecSexEd === 1) { + if (V.corp.SpecSexEd === 1) { r += `Trainees spend many hours learning sexual competence. `; - } else if (V.corpSpecSexEd === 2) { + } else if (V.corp.SpecSexEd === 2) { r += `Trainees spend days learning sexual skills. `; } } else { r += `No special sexual training is applied. `; } - if (V.corpSpecCosmetics === 1) { + if (V.corp.SpecCosmetics === 1) { r += `The corporation uses subtle cosmetic surgery to improve its slaves for sale. `; if ((V.activeSlave.anus > 3)) { V.activeSlave.anus = 3; @@ -222,37 +222,37 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { } else { r += `The corporation does not use cosmetic surgery to improve its slaves for sale. `; } - if (V.corpSpecPussy === 1) { + if (V.corp.SpecPussy === 1) { r += `The corporation adds pussies where needed. `; V.activeSlave.vagina = 0; V.activeSlave.ovaries = 1; - } else if (V.corpSpecPussy === -1) { + } else if (V.corp.SpecPussy === -1) { r += `The corporation removes pussies where possible. `; V.activeSlave.vagina = -1; V.activeSlave.ovaries = 0; } - if (V.corpSpecDick === 1) { + if (V.corp.SpecDick === 1) { r += `The corporation adds dicks where needed. `; V.activeSlave.dick = 2; V.activeSlave.prostate = 1; - } else if (V.corpSpecDick === -1) { + } else if (V.corp.SpecDick === -1) { r += `The corporation removes dicks where possible. `; V.activeSlave.dick = 0; V.activeSlave.prostate = 0; } - if (V.corpSpecBalls === 1 && V.activeSlave.dick > 0) { + if (V.corp.SpecBalls === 1 && V.activeSlave.dick > 0) { r += `The corporation adds balls where needed. `; V.activeSlave.balls = 2; V.activeSlave.scrotum = 2; - } else if (V.corpSpecBalls === -1) { + } else if (V.corp.SpecBalls === -1) { r += `The corporation removes balls where possible. `; V.activeSlave.balls = 0; V.activeSlave.scrotum = 0; } - if (typeof V.corpSpecPussy === "undefined" && typeof V.corpSpecDick === "undefined" && typeof V.corpSpecBalls === "undefined") { + if (typeof V.corp.SpecPussy === "undefined" && typeof V.corp.SpecDick === "undefined" && typeof V.corp.SpecBalls === "undefined") { r += `The corporation does not reconfigure slave genitalia. `; } - if (V.corpSpecHormones === 1) { + if (V.corp.SpecHormones === 1) { r += `It applies almost universal female hormone therapy. `; if ((V.activeSlave.dick > 0)) { V.activeSlave.dick = Math.clamp(V.activeSlave.dick-1, 1, 6); @@ -299,7 +299,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { V.activeSlave.devotion += jsRandom(5, 10); V.activeSlave.trust += jsRandom(5, 10); V.activeSlave.attrXY = Math.clamp(V.activeSlave.attrXY+jsRandom(5, 10), 0, 100); - } else if (V.corpSpecHormones === 2) { + } else if (V.corp.SpecHormones === 2) { r += `It applies almost universal male hormone therapy. `; if ((V.activeSlave.dick > 0)) { V.activeSlave.dick = Math.clamp(V.activeSlave.dick+1, 1, 6); @@ -345,8 +345,8 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { } else { r += `It does not use hormones on a systematic level. `; } - if (V.corpSpecInjection > 0) { - if (V.corpSpecInjection === 1) { + if (V.corp.SpecInjection > 0) { + if (V.corp.SpecInjection === 1) { r += `If anything, hormones are used to reduce asset sizes. `; V.activeSlave.lips = jsRandom(0, 20); V.activeSlave.butt = jsRandom(1, 2); @@ -358,7 +358,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { if (V.activeSlave.balls > 0) { V.activeSlave.balls = jsRandom(1, 2); } - } else if (V.corpSpecInjection === 2) { + } else if (V.corp.SpecInjection === 2) { r += `Growth hormones are used to correct flat chests and butts. `; V.activeSlave.lips = jsRandom(25, 45); V.activeSlave.butt = jsRandom(3, 4); @@ -370,7 +370,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { if (V.activeSlave.balls > 0) { V.activeSlave.balls = jsRandom(3, 4); } - } else if (V.corpSpecInjection === 3) { + } else if (V.corp.SpecInjection === 3) { r += `Growth hormones are used throughout slave training to ensure expansion. `; V.activeSlave.lips = jsRandom(35, 55); V.activeSlave.butt = jsRandom(4, 5); @@ -382,7 +382,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { if (V.activeSlave.balls > 0) { V.activeSlave.balls = jsRandom(4, 5); } - } else if (V.corpSpecInjection === 4) { + } else if (V.corp.SpecInjection === 4) { r += `Advanced growth hormones are applied on a grand scale. `; V.activeSlave.lips = jsRandom(55, 85); V.activeSlave.butt = jsRandom(6, 8); @@ -394,7 +394,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { if (V.activeSlave.balls > 0) { V.activeSlave.balls = jsRandom(5, 6); } - } else if (V.corpSpecInjection === 5) { + } else if (V.corp.SpecInjection === 5) { r += `Advanced growth hormones are applied with total focus on increasing slaves' productiveness. `; V.activeSlave.lips = jsRandom(35, 65); V.activeSlave.butt = jsRandom(4, 6); @@ -410,7 +410,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { } else { r += `Growth hormones are not applied. `; } - if (V.corpSpecImplants === 1) { + if (V.corp.SpecImplants === 1) { r += `Slaves are given tasteful breast, butt, and lip implants. `; V.activeSlave.buttImplant = 1; V.activeSlave.butt = Math.clamp(V.activeSlave.butt+V.activeSlave.buttImplant, 0, 10); @@ -420,7 +420,7 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { V.activeSlave.boobsImplantType = "normal"; V.activeSlave.lipsImplant = 20; V.activeSlave.lips = Math.clamp(V.activeSlave.lips+V.activeSlave.lipsImplant, 0, 55); - } else if (V.corpSpecImplants === 2) { + } else if (V.corp.SpecImplants === 2) { r += `Slaves are given absurd breast, butt, and lip implants. `; V.activeSlave.buttImplant = 4; V.activeSlave.buttImplantType = "fillable"; @@ -433,16 +433,16 @@ window.generateMarketSlave = function(market = "kidnappers", numArcology = 1) { } else { r += `Slaves are not given breast, butt, or lip implants. `; } - if (V.corpSpecAmputee === 1) { + if (V.corp.SpecAmputee === 1) { r += `The corporation removes all limbs from its slaves. `; removeLimbs(V.activeSlave, "all"); } - if (V.corpSpecMilk === 1) { + if (V.corp.SpecMilk === 1) { r += `The corporation provides naturally lactating slaves `; V.activeSlave.lactation = 1; V.activeSlave.lactationDuration = 2; V.activeSlave.lactationAdaptation = 15; - } else if (V.corpSpecMilk === 2) { + } else if (V.corp.SpecMilk === 2) { r += `The corporation provides slaves with chemically induced lactation. `; V.activeSlave.lactation = 2; V.activeSlave.lactationDuration = 2; diff --git a/src/pregmod/widgets/economyWidgets.tw b/src/pregmod/widgets/economyWidgets.tw index 1ab7655c988..a4a245ef28e 100644 --- a/src/pregmod/widgets/economyWidgets.tw +++ b/src/pregmod/widgets/economyWidgets.tw @@ -468,14 +468,14 @@ <<if !Number.isInteger(Number.parseFloat(eval(parse('_Num' + $args[0]))))>> /* Checks if _Numasset is string */ /* Buy all */ <<if ["all", "max"].includes(State.temporary[$args[1]].toLowerCase())>> - <<set State.temporary[$args[1]] = Math.floor($corpCash/(State.variables[$args[0]+"AssetPrice"] * 500))>> + <<set State.temporary[$args[1]] = Math.floor($corp.Cash/(State.variables[$args[0]+"AssetPrice"] * 500))>> <<replace `'#'+$args[0]+'AssetsPurchasing'`>> - Bought <<print num(Math.floor($corpCash/(State.variables[$args[0]+"AssetPrice"] * 500)))>> units for <<print cashFormat(Math.floor($corpCash/(State.variables[$args[0]+"AssetPrice"] * 500))*500*State.variables[$args[0]+"AssetPrice"])>> + Bought <<print num(Math.floor($corp.Cash/(State.variables[$args[0]+"AssetPrice"] * 500)))>> units for <<print cashFormat(Math.floor($corp.Cash/(State.variables[$args[0]+"AssetPrice"] * 500))*500*State.variables[$args[0]+"AssetPrice"])>> <</replace>> <<set State.variables[$args[0]+"Assets"] += (eval(parse('_Num' + $args[0]))) * 500>> - <<set $corpCash -= (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"]>> + <<set $corp.Cash -= (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace '#cashOnHand'>> - <<print cashFormat($corpCash)>> + <<print cashFormat($corp.Cash)>> <</replace>> <<replace `'#'+$args[0]+'AssetsDisp'`>> <<print cashFormat(State.variables[$args[0]+"AssetPrice"] * State.variables[$args[0]+"Assets"])>> (<<print num(Math.floor(State.variables[$args[0]+"Assets"]/500))>> unit<<if State.variables[$args[0]+"Assets"]/500 > 1>>s<</if>>) @@ -491,36 +491,36 @@ /* Buy % */ <<elseif State.temporary[$args[1]].toString().includes("%")>> <<set _DesPerc = State.temporary[$args[1]]>> - <<set State.temporary[$args[1]] = Math.floor((Math.clamp((Number.parseFloat(State.temporary[$args[1]])/100),0,1)*$corpCash)/(State.variables[$args[0]+"AssetPrice"] * 500))>> + <<set State.temporary[$args[1]] = Math.floor((Math.clamp((Number.parseFloat(State.temporary[$args[1]])/100),0,1)*$corp.Cash)/(State.variables[$args[0]+"AssetPrice"] * 500))>> <<replace `'#'+$args[0]+'AssetsPurchasing'`>> - Purchased <<print num(State.temporary[$args[1]])>> units (<<print num((State.temporary[$args[1]]*(State.variables[$args[0]+"AssetPrice"] * 50000)/$corpCash).toFixed(2))>>% of cash, desired was _DesPerc) + Purchased <<print num(State.temporary[$args[1]])>> units (<<print num((State.temporary[$args[1]]*(State.variables[$args[0]+"AssetPrice"] * 50000)/$corp.Cash).toFixed(2))>>% of cash, desired was _DesPerc) <</replace>> <<set State.variables[$args[0]+"Assets"] += (eval(parse('_Num' + $args[0]))) * 500>> - <<set $corpCash -= (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"]>> + <<set $corp.Cash -= (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace '#cashOnHand'>> - <<print cashFormat($corpCash)>> + <<print cashFormat($corp.Cash)>> <</replace>> <<replace `'#'+$args[0]+'AssetsDisp'`>> <<print cashFormat(State.variables[$args[0]+"AssetPrice"] * State.variables[$args[0]+"Assets"])>> (<<print num(Math.floor(State.variables[$args[0]+"Assets"]/500))>> unit<<if State.variables[$args[0]+"Assets"]/500 > 1>>s<</if>>) <</replace>> <<replace `'#'+'controls'+$args[0]`>><<CorpDevBuySell $args[0] $args[1]>><</replace>><<script>>setReplaceTextboxMaxLength(State.temporary["textboxMLArg"], 10);<</script>> /* Successful buy */ - <<elseif (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"] < $corpCash>> + <<elseif (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"] < $corp.Cash>> <<set State.variables[$args[0]+"Assets"] += (eval(parse('_Num' + $args[0]))) * 500>> - <<set $corpCash -= (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"]>> + <<set $corp.Cash -= (eval(parse('_Num' + $args[0]))) * 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace '#cashOnHand'>> - <<print cashFormat($corpCash)>> + <<print cashFormat($corp.Cash)>> <</replace>> <<replace `'#'+$args[0]+'AssetsDisp'`>> <<print cashFormat(State.variables[$args[0]+"AssetPrice"] * State.variables[$args[0]+"Assets"])>> (<<print num(Math.floor(State.variables[$args[0]+"Assets"]/500))>> unit<<if State.variables[$args[0]+"Assets"]/500 > 1>>s<</if>>) <</replace>> <<replace `'#'+$args[0]+'AssetsPurchasing'`>><</replace>> /* Unsuccessful buy but have enough cash for more than 1 unit */ - <<elseif $corpCash > 500 * State.variables[$args[0]+"AssetPrice"]>> + <<elseif $corp.Cash > 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace `'#'+$args[0]+'AssetsPurchasing'`>> - The corp can only buy <<print num(Math.floor($corpCash/(State.variables[$args[0]+"AssetPrice"] * 500)))>> more unit<<if Math.floor($corpCash/(State.variables[$args[0]+"AssetPrice"] * 500)) > 1 >>s<</if>> of $args[0] assets. + The corp can only buy <<print num(Math.floor($corp.Cash/(State.variables[$args[0]+"AssetPrice"] * 500)))>> more unit<<if Math.floor($corp.Cash/(State.variables[$args[0]+"AssetPrice"] * 500)) > 1 >>s<</if>> of $args[0] assets. <</replace>> - <<set State.temporary[$args[1]] = Math.floor($corpCash/(State.variables[$args[0]+"AssetPrice"] * 500))>> + <<set State.temporary[$args[1]] = Math.floor($corp.Cash/(State.variables[$args[0]+"AssetPrice"] * 500))>> <<replace `'#'+'controls'+$args[0]`>><<CorpDevBuySell $args[0] $args[1]>><</replace>><<script>>setReplaceTextboxMaxLength(State.temporary["textboxMLArg"], 10);<</script>> /* Unsuccessful buy */ <<else>> @@ -536,9 +536,9 @@ <</replace>> <<set State.temporary[$args[1]] = Math.ceil((State.variables[$args[0]+"Assets"]-500)/500)>> <<set State.variables[$args[0]+"Assets"] -= eval(parse('_Num' + $args[0])) * 500>> - <<set $corpCash += eval(parse('_Num' + $args[0])) * 500 * State.variables[$args[0]+"AssetPrice"]>> + <<set $corp.Cash += eval(parse('_Num' + $args[0])) * 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace '#cashOnHand'>> - <<print cashFormat($corpCash)>> + <<print cashFormat($corp.Cash)>> <</replace>> <<replace `'#'+$args[0]+'AssetsDisp'`>> <<print cashFormat(State.variables[$args[0]+"AssetPrice"] * State.variables[$args[0]+"Assets"])>> (<<if Math.ceil(State.variables[$args[0]+"Assets"]/500) < 1>> < 1 <<else>><<print num(Math.ceil(State.variables[$args[0]+"Assets"]/500))>> <</if>>unit<<if State.variables[$args[0]+"Assets"]/500 > 1>>s<</if>>) @@ -559,9 +559,9 @@ Sold <<print num(State.temporary[$args[1]])>> units (<<print num((State.temporary[$args[1]]*100/((State.variables[$args[0]+"Assets"]-500)/500)).toFixed(2))>>% of $args[0] assets, desired was _DesPerc) <</replace>> <<set State.variables[$args[0]+"Assets"] -= eval(parse('_Num' + $args[0])) * 500>> - <<set $corpCash += eval(parse('_Num' + $args[0])) * 500 * State.variables[$args[0]+"AssetPrice"]>> + <<set $corp.Cash += eval(parse('_Num' + $args[0])) * 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace '#cashOnHand'>> - <<print cashFormat($corpCash)>> + <<print cashFormat($corp.Cash)>> <</replace>> <<replace `'#'+$args[0]+'AssetsDisp'`>> <<print cashFormat(State.variables[$args[0]+"AssetPrice"] * State.variables[$args[0]+"Assets"])>> (<<if Math.ceil(State.variables[$args[0]+"Assets"]/500) < 1>> < 1 <<else>><<print num(Math.ceil(State.variables[$args[0]+"Assets"]/500))>> <</if>>unit<<if State.variables[$args[0]+"Assets"]/500 > 1>>s<</if>>) @@ -570,9 +570,9 @@ /* Successful sell */ <<elseif State.variables[$args[0]+"Assets"] > 500 && eval(parse('_Num' + $args[0])) * 500 < State.variables[$args[0]+"Assets"]>> <<set State.variables[$args[0]+"Assets"] -= eval(parse('_Num' + $args[0])) * 500>> - <<set $corpCash += eval(parse('_Num' + $args[0])) * 500 * State.variables[$args[0]+"AssetPrice"]>> + <<set $corp.Cash += eval(parse('_Num' + $args[0])) * 500 * State.variables[$args[0]+"AssetPrice"]>> <<replace '#cashOnHand'>> - <<print cashFormat($corpCash)>> + <<print cashFormat($corp.Cash)>> <</replace>> <<replace `'#'+$args[0]+'AssetsDisp'`>> <<print cashFormat(State.variables[$args[0]+"AssetPrice"] * State.variables[$args[0]+"Assets"])>> (<<if (State.variables[$args[0]+"Assets"]/500) < 1>> < 1 <<else>><<print num(Math.ceil(State.variables[$args[0]+"Assets"]/500))>> <</if>>unit<<if State.variables[$args[0]+"Assets"]/500 > 1>>s<</if>>) diff --git a/src/uncategorized/bulkSlaveGenerate.tw b/src/uncategorized/bulkSlaveGenerate.tw index 94900663ec0..496e71fccfa 100644 --- a/src/uncategorized/bulkSlaveGenerate.tw +++ b/src/uncategorized/bulkSlaveGenerate.tw @@ -57,7 +57,7 @@ <</if>> <<case "corporate">> - <<if $corpMarket == 1>> + <<if $corp.Market == 1>> <<set $discount = 350>> <</if>> diff --git a/src/uncategorized/buySlaves.tw b/src/uncategorized/buySlaves.tw index f00bb014657..525e3bd33b5 100644 --- a/src/uncategorized/buySlaves.tw +++ b/src/uncategorized/buySlaves.tw @@ -27,7 +27,7 @@ <h2>Sex Slave Purchase Options</h2> <div> - <<if $corpIncorporated != 0>> + <<if $corp.Incorporated != 0>> [[Corporate Market][$slavesSeen += 1]] | <<if $cash > _minimumFive>> [[(x5)|Bulk Slave Generate][$slaveMarket = "corporate", $introType = "bulk", $numSlaves = 5]] | @@ -35,7 +35,7 @@ <<if $cash > _minimumTen>> [[(x10)|Bulk Slave Generate][$slaveMarket = "corporate", $introType = "bulk", $numSlaves = 10]] | <</if>> - <<if $corpMarket == 1>>//Slaves from your corporation purchased at a discounted rate.//<<else>>//Slaves from your corporation//<</if>> + <<if $corp.Market == 1>>//Slaves from your corporation purchased at a discounted rate.//<<else>>//Slaves from your corporation//<</if>> <</if>> </div> diff --git a/src/uncategorized/economics.tw b/src/uncategorized/economics.tw index 513b2d7f14a..6823bb3a86e 100644 --- a/src/uncategorized/economics.tw +++ b/src/uncategorized/economics.tw @@ -27,7 +27,7 @@ <<include "FS Developments">> <</if>> -<<if $corpIncorporated == 1>> +<<if $corp.Incorporated == 1>> <br><br> <<include "Corporation Developments">> <</if>> @@ -61,7 +61,7 @@ <<if $FSAnnounced > 0>> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Societies')">Society Development</button> <</if>> - <<if $corpIncorporated == 1>> + <<if $corp.Incorporated == 1>> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Corporation')">Corporation Developments</button> <</if>> <<if $secExpEnabled == 1>> @@ -95,7 +95,7 @@ </div> <</if>> -<<if $corpIncorporated == 1>> +<<if $corp.Incorporated == 1>> <div id="Corporation" class="tabcontent"> <div class="content"> <<include "Corporation Developments">> diff --git a/src/uncategorized/neighborsDevelopment.tw b/src/uncategorized/neighborsDevelopment.tw index 0a756d9fa99..5cda01efec2 100644 --- a/src/uncategorized/neighborsDevelopment.tw +++ b/src/uncategorized/neighborsDevelopment.tw @@ -9,7 +9,7 @@ <</for>> <<set $averageProsperity = $averageProsperity/$arcologies.length>> -<<if $corpIncorporated == 1>> +<<if $corp.Incorporated == 1>> <<set _corpBonus = Math.trunc(1000 * Math.pow(App.Corporate.value, 0.1))>> <</if>> @@ -717,8 +717,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSSupremacist != "unset">> - <<if $corpIncorporated == 1>> - <<if !$corpSpecRaces.includes($arcologies[$i].FSSupremacistRace)>> + <<if $corp.Incorporated == 1>> + <<if !$corp.SpecRaces.includes($arcologies[$i].FSSupremacistRace)>> It's a @@.lightgreen;good market@@ for your corporation's racially inferior slaves, improving sales and helping social progress. <<set $arcologies[$i].FSSupremacist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -777,8 +777,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSSubjugationist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecRaces.includes($arcologies[$i].FSSubjugationistRace)>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecRaces.includes($arcologies[$i].FSSubjugationistRace)>> It's a @@.lightgreen;good market@@ for your corporation's $arcologies[$i].FSSubjugationistRace slaves, improving sales and helping social progress. <<set $arcologies[$i].FSSubjugationist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -812,16 +812,16 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSRepopulationFocus != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecMilk > 0>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecMilk > 0>> It's a @@.lightgreen;good market@@ for your corporation's milky cows, improving sales and helping social progress. <<set $arcologies[$i].FSRepopulationFocus += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecAge == 1>> + <<elseif $corp.SpecAge == 1>> It's a @@.lightgreen;good market@@ for your corporation's youthful captures, improving sales and helping social progress. <<set $arcologies[$i].FSRepopulationFocus += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecInjection == 5>> + <<elseif $corp.SpecInjection == 5>> It's a @@.lightgreen;good market@@ for your corporation's milky cows, improving sales and helping social progress. <<set $arcologies[$i].FSRepopulationFocus += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -854,16 +854,16 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSRestart != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecBalls == -1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecBalls == -1>> It's an @@.lightgreen;excellent market@@ for your corporation's neutered slavegirls, improving sales and helping social progress. <<set $arcologies[$i].FSRestart += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecSexEd == 2>> + <<elseif $corp.SpecSexEd == 2>> It's a @@.lightgreen;good market@@ for your corporation's well trained toys, improving sales and helping social progress. <<set $arcologies[$i].FSRestart += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecIntelligence == 3>> + <<elseif $corp.SpecIntelligence == 3>> It's a @@.lightgreen;good market@@ for your corporation's smarter captures, improving sales and helping social progress. <<set $arcologies[$i].FSRestart += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -898,22 +898,22 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSGenderRadicalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecHormones > 0>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecHormones > 0>> It's a @@.lightgreen;good market@@ for your corporation's hormonally treated slaves, improving sales and helping social progress. <<set $arcologies[$i].FSGenderRadicalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> <</if>> - <<if $corpSpecPussy == 1 && $corpSpecDick == 1>> + <<if $corp.SpecPussy == 1 && $corp.SpecDick == 1>> It's a @@.lightgreen;good market@@ for your corporation's beautiful futanari, improving sales and helping social progress. <<set $arcologies[$i].FSGenderRadicalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecBalls == -1>> + <<elseif $corp.SpecBalls == -1>> It's a @@.lightgreen;good market@@ for your corporation's clipped buttsluts, improving sales and helping social progress. <<set $arcologies[$i].FSGenderRadicalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> <</if>> - <<if ($corpSpecGender == 2) || ($seeDicks == 100)>> + <<if ($corp.SpecGender == 2) || ($seeDicks == 100)>> It's a @@.lightgreen;good market@@ for your corporation's feminized slaves, improving sales and helping social progress. <<set $arcologies[$i].FSGenderRadicalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -945,8 +945,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSGenderFundamentalist != "unset">> - <<if $corpIncorporated == 1>> - <<if ($corpSpecGender == 1) || ($seeDicks == 0)>> + <<if $corp.Incorporated == 1>> + <<if ($corp.SpecGender == 1) || ($seeDicks == 0)>> It's a @@.lightgreen;good market@@ for your corporation's enslaved females, improving sales and helping social progress. <<set $arcologies[$i].FSGenderFundamentalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -980,17 +980,17 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSPaternalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecTrust > 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecTrust > 3>> It's a @@.lightgreen;good market@@ for your corporation's well-treated companions, improving sales and helping social progress. <<set $arcologies[$i].FSPaternalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> <</if>> - <<if $corpSpecCosmetics == 1>> + <<if $corp.SpecCosmetics == 1>> It's a @@.lightgreen;good market@@ for your corporation's meticulously beautified ladies, improving sales and helping social progress. <<set $arcologies[$i].FSPaternalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecEducation > 0>> + <<elseif $corp.SpecEducation > 0>> It's a @@.lightgreen;good market@@ for your corporation's educated ladies, improving sales and helping social progress. <<set $arcologies[$i].FSPaternalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1022,17 +1022,17 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSDegradationist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecTrust < 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecTrust < 3>> It's a @@.lightgreen;good market@@ for your corporation's thoroughly terrified slaves, improving sales and helping social progress. <<set $arcologies[$i].FSDegradationist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> <</if>> - <<if $corpSpecIntelligence == 1>> + <<if $corp.SpecIntelligence == 1>> It's a @@.lightgreen;good market@@ for your corporation's idiotic sluts, improving sales and helping social progress. <<set $arcologies[$i].FSDegradationist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecAmputee == 1>> + <<elseif $corp.SpecAmputee == 1>> It's a @@.lightgreen;good market@@ for your corporation's human sex toys, improving sales and helping social progress. <<set $arcologies[$i].FSDegradationist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1066,12 +1066,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSIntellectualDependency != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecIntelligence == 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecIntelligence == 1>> It's an @@.lightgreen;excellent market@@ for your corporation's idiotic sluts, improving sales and helping social progress. <<set $arcologies[$i].FSIntellectualDependency += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecEducation == 0>> + <<elseif $corp.SpecEducation == 0>> It's a @@.lightgreen;good market@@ for your corporation's uneducated slaves, improving sales and helping social progress. <<set $arcologies[$i].FSIntellectualDependency += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1104,26 +1104,26 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSSlaveProfessionalism != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecIntelligence == 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecIntelligence == 3>> It's an @@.lightgreen;excellent market@@ for your corporation's smarter captures, improving sales and helping social progress. <<set $arcologies[$i].FSSlaveProfessionalism += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> <</if>> - <<if $corpSpecEducation > 1>> + <<if $corp.SpecEducation > 1>> It's a @@.lightgreen;good market@@ for your corporation's well educated ladies, improving sales and helping social progress. <<set $arcologies[$i].FSSlaveProfessionalism += 2>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecEducation > 0>> + <<elseif $corp.SpecEducation > 0>> It's a @@.lightgreen;good market@@ for your corporation's educated ladies, improving sales and helping social progress. <<set $arcologies[$i].FSSlaveProfessionalism += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> <</if>> - <<if $corpSpecSexEd == 2>> + <<if $corp.SpecSexEd == 2>> It's a @@.lightgreen;good market@@ for your corporation's well trained toys, improving sales and helping social progress. <<set $arcologies[$i].FSSlaveProfessionalism += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecAccent == 2>> + <<elseif $corp.SpecAccent == 2>> It's a @@.lightgreen;good market@@ for your corporation's linguistically perfect slaves, improving sales and helping social progress. <<set $arcologies[$i].FSSlaveProfessionalism += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1157,9 +1157,9 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSBodyPurist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecImplants == 0>> - <<if $corpSpecAmputee != 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecImplants == 0>> + <<if $corp.SpecAmputee != 1>> It's a @@.lightgreen;good market@@ for your corporation's implant-free slaves, improving sales and helping social progress. <<set $arcologies[$i].FSBodyPurist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1193,12 +1193,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSTransformationFetishist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecImplants == 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecImplants == 1>> It's a @@.lightgreen;good market@@ for your corporation's implanted slaves, improving sales and helping social progress. <<set $arcologies[$i].FSTransformationFetishist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecImplants == 2>> + <<elseif $corp.SpecImplants == 2>> It's an @@.lightgreen;excellent market@@ for your corporation's absurdly implanted slaves, improving sales and helping social progress. <<set $arcologies[$i].FSTransformationFetishist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> @@ -1239,8 +1239,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSYouthPreferentialist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecAge == 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecAge == 1>> It's a @@.lightgreen;good market@@ for your corporation's young slaves, improving sales and helping social progress. <<set $arcologies[$i].FSYouthPreferentialist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1272,8 +1272,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSMaturityPreferentialist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecAge == 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecAge == 3>> It's a @@.lightgreen;good market@@ for your corporation's enslaved MILFs, improving sales and helping social progress. <<set $arcologies[$i].FSMaturityPreferentialist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1307,12 +1307,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSPetiteAdmiration != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecHeight == 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecHeight == 1>> It's an @@.lightgreen;excellent market@@ for your corporation's minuscule slaves, improving sales and helping social progress. <<set $arcologies[$i].FSPetiteAdmiration += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecHeight == 2>> + <<elseif $corp.SpecHeight == 2>> It's a @@.lightgreen;good market@@ for your corporation's shorter captures, improving sales and helping social progress. <<set $arcologies[$i].FSPetiteAdmiration += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1344,12 +1344,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSStatuesqueGlorification != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecHeight == 5>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecHeight == 5>> It's an @@.lightgreen;excellent market@@ for your corporation's gigantic slaves, improving sales and helping social progress. <<set $arcologies[$i].FSStatuesqueGlorification += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecHeight == 4>> + <<elseif $corp.SpecHeight == 4>> It's a @@.lightgreen;good market@@ for your corporation's taller captures, improving sales and helping social progress. <<set $arcologies[$i].FSStatuesqueGlorification += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1384,9 +1384,9 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSSlimnessEnthusiast != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecInjection < 2>> - <<if $corpSpecWeight < 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecInjection < 2>> + <<if $corp.SpecWeight < 3>> It's a @@.lightgreen;good market@@ for your corporation's trim slaves, improving sales and helping social progress. <<set $arcologies[$i].FSSlimnessEnthusiast += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1420,16 +1420,16 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSAssetExpansionist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSPecInjection == 4>> + <<if $corp.Incorporated == 1>> + <<if $corp.SPecInjection == 4>> It's an @@.lightgreen;excellent market@@ for your corporation's world-class tits and ass, improving sales and helping social progress. <<set $arcologies[$i].FSAssetExpansionist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecInjection == 5>> + <<elseif $corp.SpecInjection == 5>> It's a @@.lightgreen;good market@@ for your corporation's hugely endowed cows, improving sales and helping social progress. <<set $arcologies[$i].FSAssetExpansionist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSPecInjection == 3>> + <<elseif $corp.SPecInjection == 3>> It's a @@.lightgreen;good market@@ for your corporation's stacked slaves, improving sales and helping social progress. <<set $arcologies[$i].FSAssetExpansionist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1460,12 +1460,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSPastoralist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecInjection == 5>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecInjection == 5>> It's an @@.lightgreen;excellent market@@ for your corporation's world-class milk producers, improving sales and helping social progress. <<set $arcologies[$i].FSPastoralist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecMilk > 0>> + <<elseif $corp.SpecMilk > 0>> It's an @@.lightgreen;excellent market@@ for your corporation's world-class milk producers, improving sales and helping social progress. <<set $arcologies[$i].FSPastoralist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> @@ -1497,16 +1497,16 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSCummunism != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecInjection == 5>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecInjection == 5>> It's an @@.lightgreen;excellent market@@ for your corporation's world-class cum producers, improving sales and helping social progress. <<set $arcologies[$i].FSCummunism += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecHormones == 2>> + <<elseif $corp.SpecHormones == 2>> It's a @@.lightgreen;good market@@ for your corporation's masculinized slaves, improving sales and helping social progress. <<set $arcologies[$i].FSCummunism += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecDick == 1 && $corpSpecBalls == 1>> + <<elseif $corp.SpecDick == 1 && $corp.SpecBalls == 1>> It's a @@.lightgreen;good market@@ for your corporation's slaves standard dicks and balls, improving sales and helping social progress. <<set $arcologies[$i].FSCummunism += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1540,16 +1540,16 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSPhysicalIdealist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecMuscle == 5 >> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecMuscle == 5 >> It's an @@.lightgreen;excellent market@@ for your corporation's ripped chicks, improving sales and helping social progress. <<set $arcologies[$i].FSPhysicalIdealist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecMuscle == 4>> + <<elseif $corp.SpecMuscle == 4>> It's a @@.lightgreen;good market@@ for your corporation's toned ladies, improving sales and helping social progress. <<set $arcologies[$i].FSPhysicalIdealist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> - <<elseif $corpSpecHeight > 3>> + <<elseif $corp.SpecHeight > 3>> It's a @@.lightgreen;good market@@ for your corporation's tall ladies, improving sales and helping social progress. <<set $arcologies[$i].FSPhysicalIdealist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1582,12 +1582,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSHedonisticDecadence != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecTrust > 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecTrust > 3>> It's an @@.lightgreen;excellent market@@ for your corporation's well kept, happy slaves, improving sales and helping social progress. <<set $arcologies[$i].FSHedonisticDecadence += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecSexEd == 2>> + <<elseif $corp.SpecSexEd == 2>> It's a @@.lightgreen;good market@@ for your corporation's skilled slaves, improving sales and helping social progress. <<set $arcologies[$i].FSHedonisticDecadence += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1618,8 +1618,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSIncestFetishist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecAge == 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecAge == 3>> It's a @@.lightgreen;good market@@ for your corporation's motherly slaves, especially those that look like peoples mothers, improving sales and helping social progress. <<set $arcologies[$i].FSIncestFetishist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1650,12 +1650,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSChattelReligionist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecSexEd == 2>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecSexEd == 2>> It's an @@.lightgreen;excellent market@@ for your corporation's holy sex slaves, improving sales and helping social progress. <<set $arcologies[$i].FSChattelReligionist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecSexEd == 1>> + <<elseif $corp.SpecSexEd == 1>> It's a @@.lightgreen;good market@@ for your corporation's aspiring sexual acolytes, improving sales and helping social progress. <<set $arcologies[$i].FSChattelReligionist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1701,8 +1701,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSRomanRevivalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecEducation > 0>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecEducation > 0>> It's a @@.lightgreen;good market@@ for your corporation's properly educated slaves, improving sales and helping social progress. <<set $arcologies[$i].FSRomanRevivalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1746,8 +1746,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSAztecRevivalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecAccent == 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecAccent == 1>> It's a @@.lightgreen;good market@@ for your corporation's lovely mix of slave accents, improving sales and helping social progress. <<set $arcologies[$i].FSAztecRevivalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1791,8 +1791,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSEgyptianRevivalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecAccent == 1>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecAccent == 1>> It's a @@.lightgreen;good market@@ for your corporation's lovely mix of slave accents, improving sales and helping social progress. <<set $arcologies[$i].FSEgyptianRevivalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1836,8 +1836,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSEdoRevivalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecAccent == 2>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecAccent == 2>> It's a @@.lightgreen;good market@@ for your corporation's linguistically perfect slaves, improving sales and helping social progress. <<set $arcologies[$i].FSEdoRevivalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1881,12 +1881,12 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSArabianRevivalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecDevotion == 5>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecDevotion == 5>> It's an @@.lightgreen;excellent market@@ for your corporation's harem-ready devotees, improving sales and helping social progress. <<set $arcologies[$i].FSArabianRevivalist += 2>> <<run App.Corporate.earnRevenue(_corpBonus*2, 'foreign')>> - <<elseif $corpSpecDevotion == 4>> + <<elseif $corp.SpecDevotion == 4>> It's a @@.lightgreen;good market@@ for your corporation's properly broken girls, improving sales and helping social progress. <<set $arcologies[$i].FSArabianRevivalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> @@ -1930,8 +1930,8 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh <</if>> <</if>> <<if $arcologies[$i].FSChineseRevivalist != "unset">> - <<if $corpIncorporated == 1>> - <<if $corpSpecIntelligence == 3>> + <<if $corp.Incorporated == 1>> + <<if $corp.SpecIntelligence == 3>> It's a @@.lightgreen;good market@@ for your corporation's intelligent Head Girl prospects, improving sales and helping social progress. <<set $arcologies[$i].FSChineseRevivalist += 1>> <<run App.Corporate.earnRevenue(_corpBonus, 'foreign')>> diff --git a/src/uncategorized/nonRandomEvent.tw b/src/uncategorized/nonRandomEvent.tw index 03e15d6c1b6..f63a1c14b1e 100644 --- a/src/uncategorized/nonRandomEvent.tw +++ b/src/uncategorized/nonRandomEvent.tw @@ -139,13 +139,13 @@ <<elseif !$assistant.market && $assistant.power > 1>> <<set $Event = "market assistant">> <<goto "Assistant Events">> -<<elseif (_effectiveWeek > 70) && ($corpIncorporated > 0) && ($rivalOwnerEnslaved > 0) && ($mercenaries >= 3) && ($mercenariesHelpCorp == 0) && ($corpDivExtra > 0)>> +<<elseif (_effectiveWeek > 70) && ($corp.Incorporated > 0) && ($rivalOwnerEnslaved > 0) && ($mercenaries >= 3) && ($mercenariesHelpCorp == 0) && ($corp.DivExtra > 0)>> <<goto "P Mercs Help Corp">> <<elseif _effectiveWeek > 75 && (def $peacekeepers) && $peacekeepers.strength < 50 && $rivalOwner == 0 && $peacekeepersFate != 1>> <<goto "P peacekeepers independence">> <<elseif (def $peacekeepers) && $peacekeepers.strength >= 50 && $peacekeepers.influenceAnnounced == 0>> <<goto "P peacekeepers influence">> -<<elseif ($cash > 120000) && ($rep > 4000) && ($corpAnnounced == 0)>> +<<elseif ($cash > 120000) && ($rep > 4000) && ($corp.Announced == 0)>> <<goto "P Corp Announcement">> <<elseif ($rivalOwner > 0)>> <<if $hostageAnnounced == 0 && $rivalSet != 0>> diff --git a/src/uncategorized/pCorpAnnouncement.tw b/src/uncategorized/pCorpAnnouncement.tw index 44d16806606..32156b57606 100644 --- a/src/uncategorized/pCorpAnnouncement.tw +++ b/src/uncategorized/pCorpAnnouncement.tw @@ -3,7 +3,7 @@ <<set $nextButton = "Continue">> <<set $nextLink = "Random Nonindividual Event">> -<<set $corpAnnounced = 1>> +<<set $corp.Announced = 1>> <<set $fcnn.push("...and Free Cities have definitely shaken up the stock market in recent...")>> You never understood the power of money until accumulating so much of it yourself. If you were to try to explain it to someone without that power, you would emphasize the access it buys you. You can speak to anyone, about anything; propose anything, to anyone. And recently, you have begun to encounter the trouble of being too powerful. diff --git a/src/uncategorized/randomNonindividualEvent.tw b/src/uncategorized/randomNonindividualEvent.tw index 2b07f23227b..400e969e0a1 100644 --- a/src/uncategorized/randomNonindividualEvent.tw +++ b/src/uncategorized/randomNonindividualEvent.tw @@ -1360,7 +1360,7 @@ <<set $events.push("RE shipping container")>> <</if>> - <<if $corpCash > 50000>> + <<if $corp.Cash > 50000>> <<set $events.push("REM merger")>> <</if>> -- GitLab