pilot wave is a bit slower

spammable methods of energy generation no longer work while immune to damage
  rail-gun, flip-flop, dynamo-bots, ice-IX, energy siphon

pilot wave follows the mouse a bit slower
  (I think this is actually a buff, because blocks stay in the field better)
a newly clicked pilot wave now begins at the player, not the mouse
  (this is just because it looks cool)

tech: many worlds, now only spawns 1 tech
  (use to spawn a heal, ammo, research too)
This commit is contained in:
landgreen
2021-05-14 05:16:47 -07:00
parent 39c9b08b2e
commit 33ed7dddfa
8 changed files with 35 additions and 39 deletions

View File

@@ -791,7 +791,7 @@ const simulation = {
if (!(simulation.cycle % 60) && !m.isBodiesAsleep) { //once a second
//energy overfill
if (m.energy > m.maxEnergy) m.energy = m.maxEnergy + (m.energy - m.maxEnergy) * tech.overfillDrain //every second energy above max energy loses 25%
if (tech.isFlipFlopEnergy) {
if (tech.isFlipFlopEnergy && m.immuneCycle < m.cycle) {
if (tech.isFlipFlopOn) {
m.energy += 0.22;
} else {