From d5f4433f9a7b83a59196d768772a4d571c27ec56 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Sat, 18 May 2019 05:03:27 -0400 Subject: [PATCH] Better checks + brands don't disappear --- src/uncategorized/nextWeek.tw | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw index bbfd96a8467..bda2940c2aa 100644 --- a/src/uncategorized/nextWeek.tw +++ b/src/uncategorized/nextWeek.tw @@ -187,19 +187,12 @@ <<if $slaves[_i].amp == 1>> <<set $slaves[_i].missingArms = 3, $slaves[_i].missingLegs = 3>> <</if>> - <<if $slaves[_i].missingArms == 3>> + /* I don't trust these */ + <<if $slaves[_i].missingArms == 3 && $slaves[_i].amp == 1>> <<set $slaves[_i].armsTat = 0, $slaves[_i].nails = 0>> - <<if (["hands", "left hand", "left lower arm", "left upper arm", "left wrist", "lower arms", "right hand", "right lower arm", "right upper arm", "right wrist", "upper arms", "wrists"].includes($slaves[_i].brandLocation))>> - <<set $slaves[_i].brand = 0>> - <<set $slaves[_i].brandLocation = 0>> - <</if>> <</if>> - <<if $slaves[_i].missingLegs == 3>> + <<if $slaves[_i].missingLegs == 3 && $slaves[_i].amp == 1>> <<set $slaves[_i].heels = 0, $slaves[_i].shoes = "none", $slaves[_i].legAccessory = "none", $slaves[_i].legsTat = 0, $slaves[_i].heightImplant = 0>> - <<if (["ankles", "calves", "feet", "left ankle", "left calf", "left foot", "left thigh", "right ankle", "right calf", "right foot", "right thigh", "thighs"].includes($slaves[_i].brandLocation))>> - <<set $slaves[_i].brand = 0>> - <<set $slaves[_i].brandLocation = 0>> - <</if>> <</if>> /% Fix some possible floating point rounding errors, and bring precision to one decimal place. %/ <<run SlaveStatClamp($slaves[_i])>> -- GitLab