tool that burns things

This commit is contained in:
Lily-129 2022-02-11 21:13:11 -05:00 committed by GitHub
parent 5c64800a59
commit 1ede070758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

9
mods/igniter.js Normal file
View File

@ -0,0 +1,9 @@
elements.igniter = {
color: elements.fire.color,
tool: function(pixel) {
pixel.burnStart = pixelTicks;
pixel.burning = true;
},
category: "tools",
excludeRandom: true,
};