From 5512fee71ccfa1f5f144b93edb8b9340836d9d77 Mon Sep 17 00:00:00 2001 From: moss <146470829+electric-moss@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:08:25 +0200 Subject: [PATCH] say goodbye to daily stains and dirty surfaces --- kitchen_gun.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 kitchen_gun.js diff --git a/kitchen_gun.js b/kitchen_gun.js new file mode 100644 index 0000000..7d08edc --- /dev/null +++ b/kitchen_gun.js @@ -0,0 +1,13 @@ +var kitchengunbang = new Audio('https://github.com/electric-moss/electric-moss.github.io/raw/main/BANG.mp3') + +addTool("kitchen_gun", { + func: function(placed) { toolData.blend.func(placed); }, + whileOn: function() { console.log("BANG!!!"); }, + onClick: function(x,y) { + console.log(x,y) + kitchengunbang.play(); + }, + //shape:"plus_round", + spin: false, + img:"https://raw.githubusercontent.com/electric-moss/electric-moss.github.io/main/crosshair.png" +}) \ No newline at end of file