Jump to content

Console commands: Difference between revisions

From n-gon Wiki
No edit summary
No edit summary
Line 9: Line 9:
*<code>tech.giveTech("name")</code>: Gives you tech.
*<code>tech.giveTech("name")</code>: Gives you tech.
*<code>tech.damage *= x</code>: Multiplies your damage.
*<code>tech.damage *= x</code>: Multiplies your damage.
*m.
*<code>m.immuneCycle = Infinity</code>: Makes you invulnerable.
*<code>m.health = x</code>: Sets your health.
*<code>m.maxHealth = x</code>: Sets your max health.
*<code>m.energy = x</code>: Sets your energy.
*<code>m.maxEnergy = x</code>: Sets your max energy.
*<code>lore.unlockTesting()</code>: Unlocks testing mode
*<code>simulation.enableConstructMode()</code>: Unlocks construct mode.
*<code>powerUps.spawn(m.pos.x, m.pos.y, "name")</code>: Spawn a power up of your choice.

Revision as of 13:59, 21 January 2025

Console Commands are all the commands that you can input into your browser's Javascript console. You can see all of them after taking the Console Commands Power-up, that is found in the secret passage of intial.

List of Commands

  • power.Up.instructions.effect(): This shows the list of Console Commands.
  • b.giveGuns("name"): Gives guns.
  • m.setField("name"): Sets your field.
  • tech.giveTech("name"): Gives you tech.
  • tech.damage *= x: Multiplies your damage.
  • m.immuneCycle = Infinity: Makes you invulnerable.
  • m.health = x: Sets your health.
  • m.maxHealth = x: Sets your max health.
  • m.energy = x: Sets your energy.
  • m.maxEnergy = x: Sets your max energy.
  • lore.unlockTesting(): Unlocks testing mode
  • simulation.enableConstructMode(): Unlocks construct mode.
  • powerUps.spawn(m.pos.x, m.pos.y, "name"): Spawn a power up of your choice.