nano-scale disable field

power up boss no longer slows down after each time you kill it

holding down the field button will stop nano-scale field from converting energy into bullets
  energy costs have been increased a bit
  nano scale can now use mod - supercapacitor
This commit is contained in:
landgreen
2020-11-19 09:59:27 -08:00
parent 15de636715
commit 4c040b073a
5 changed files with 23 additions and 18 deletions

View File

@@ -938,7 +938,7 @@ const mod = {
maxCount: 1,
count: 0,
allowed() {
return (mod.isEnergyRecovery || mod.isPiezo || mod.energySiphon > 0 || mod.isRailEnergyGain || mod.isWormholeEnergy || mod.iceEnergy > 0) && mech.fieldUpgrades[mech.fieldMode].name !== "nano-scale manufacturing"
return mod.isEnergyRecovery || mod.isPiezo || mod.energySiphon > 0 || mod.isRailEnergyGain || mod.isWormholeEnergy || mod.iceEnergy > 0
},
requires: "a source of overfilled energy",
effect() {
@@ -3073,9 +3073,9 @@ const mod = {
isNonRefundable: true,
isCustomHide: true,
allowed() {
return true
return !mod.isEnergyNoAmmo
},
requires: "",
requires: "not exciton lattice",
effect() {
for (let i = 0; i < 6; i++) {
powerUps.spawn(mech.pos.x, mech.pos.y, "ammo");