From a7b1fda66b071ff2bd2d8720b4aaf14f2fd9e131 Mon Sep 17 00:00:00 2001 From: Blank <blank@national.shitposting.agency> Date: Tue, 14 May 2019 15:14:05 -0700 Subject: [PATCH] ITT fixes --- src/pregmod/reMaleArcologyOwner.tw | 2 +- src/uncategorized/BackwardsCompatibility.tw | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pregmod/reMaleArcologyOwner.tw b/src/pregmod/reMaleArcologyOwner.tw index c1522f5c6a2..54a6ecb9b77 100644 --- a/src/pregmod/reMaleArcologyOwner.tw +++ b/src/pregmod/reMaleArcologyOwner.tw @@ -26,7 +26,7 @@ He strikes a fine balance in conversation with you, firm enough to not overpower <<set $trinkets.push($desc)>> <</replace>> <</link>> -<<if ($PC.preg >= 28 && $PC.pregMood = 2) || $PC.boobsBonus >= 2 || $PC.butt >= 2>> +<<if ($PC.preg >= 28 && $PC.pregMood == 2) || $PC.boobsBonus >= 2 || $PC.butt >= 2>> <br><<link "Convince him to make the first move">> <<replace "#result">> <<set _randomForeignFS = random(1,100)>> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index e9526a8d4db..098efc3c77f 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -3518,9 +3518,14 @@ Updating gene pool records: <<set _Slave.eyes = -4>> <</if>> - <<if ndef _Slave.custom>> - <<set _Slave.custom = {tattoo: _Slave.customTat}>> /* should be the only thing needed */ - <</if>> + <<if ndef _Slave.custom>> <<set _Slave.custom = {}>> <</if>> + <<set _Slave.custom.tattoo = _Slave.customTat || "">> + <<set _Slave.custom.label = _Slave.custom.label || "">> + <<set _Slave.custom.desc = _Slave.custom.desc || "">> + <<set _Slave.custom.title = _Slave.custom.title || "">> + <<set _Slave.custom.titleLisp = _Slave.custom.titleLisp || "">> + <<set _Slave.custom.hairVector = _Slave.custom.hairVector || 0>> + <<set _Slave.custom.image = slave.custom.image || null>> <<run App.Entity.Utils.GenePoolRecordCleanup(_Slave)>> <<set $genePool[_bci] = _Slave>> -- GitLab