perfect diamagnetism adjustments

This commit is contained in:
landgreen
2020-03-06 06:10:07 -08:00
parent a3c00f2627
commit 1fa80ecc79
4 changed files with 24 additions and 26 deletions

View File

@@ -999,24 +999,6 @@ const b = {
b.modLaserFieldDrain = 0.002;
}
},
{
name: "perfect diamagnetism",
description: "you <strong>don't</strong> lose <strong class='color-f'>energy</strong> when <strong>blocking</strong><br>with <strong>nano-scale manufacturing</strong>",
maxCount: 1,
count: 0,
allowed() {
return mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing"
},
requires: "nano-scale manufacturing",
effect() {
b.modFieldEfficiency = 0
mech.fieldShieldingScale = b.modFieldEfficiency;
},
remove() {
b.modFieldEfficiency = 1;
if (mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing") mech.fieldShieldingScale = b.modFieldEfficiency;
}
},
{
name: "plasma jet",
description: "increase <strong>plasma torch's</strong> range by <strong>33%</strong>",
@@ -1067,6 +1049,24 @@ const b = {
mech.fieldShieldingScale = 1;
}
},
{
name: "perfect diamagnetism",
description: "you <strong>don't</strong> lose <strong class='color-f'>energy</strong> when <strong>blocking</strong><br>with <strong>nano-scale manufacturing</strong>",
maxCount: 1,
count: 0,
allowed() {
return mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing"
},
requires: "nano-scale manufacturing",
effect() {
b.modFieldEfficiency = 0
mech.fieldShieldingScale = b.modFieldEfficiency;
},
remove() {
b.modFieldEfficiency = 1;
if (mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing") mech.fieldShieldingScale = b.modFieldEfficiency;
}
},
{
name: "mycelium manufacturing",
description: "<strong>nano-scale manufacturing</strong> is repurposed<br>excess <strong class='color-f'>energy</strong> used to grow <strong style='letter-spacing: 2px;'>spores</strong>",