added option for community maps

This commit is contained in:
landgreen
2020-04-05 05:16:09 -07:00
parent 7dbb74a3ad
commit 8bcc038b81
6 changed files with 47 additions and 26 deletions

View File

@@ -71,6 +71,8 @@ const b = {
isModAlphaRadiation: null,
modEnergyRegen: null,
isModVacuumShield: null,
modRenormalization: null,
modGrenadeFragments: null,
modOnHealthChange() { //used with acid mod
if (b.isModAcidDmg && mech.health > 0.8) {
b.modAcidDmg = 0.7
@@ -1334,6 +1336,22 @@ const b = {
b.isModIceField = false;
}
},
{
name: "renormalization",
description: "<strong>phase decoherence field</strong> has <strong>3x visibility</strong><br>and <strong>1/3</strong> <strong class='color-f'>energy</strong> drain when <strong>firing</strong>",
maxCount: 1,
count: 0,
allowed() {
return mech.fieldUpgrades[mech.fieldMode].name === "phase decoherence field"
},
requires: "phase decoherence field",
effect() {
b.modRenormalization = 3;
},
remove() {
b.modRenormalization = 1;
}
},
{
name: "quantum dissipation",
description: "<strong>phase decoherence field</strong> uses <strong class='color-f'>energy</strong> to <br><strong class='color-d'>damage</strong> unshielded <strong>mobs</strong> that you <strong>overlap</strong>",