tool that unburns things

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

View File

@ -6,4 +6,14 @@ elements.igniter = {
},
category: "tools",
excludeRandom: true,
};
};
elements.extinguisher = {
color: "#bad1e3",
tool: function(pixel) {
if(pixel.burnStart) { delete pixel.burnStart }
pixel.burning = false;
},
category: "tools",
excludeRandom: true,
};