diff options
author | runs <runs@runs-PC.runs.es> | 2020-05-11 22:10:43 +0200 |
---|---|---|
committer | runs <runs@runs-PC.runs.es> | 2020-05-11 22:10:43 +0200 |
commit | 6a868e526ed1228196efebd2e56f917e90dd34ce (patch) | |
tree | 2ae2bd71216e59489092cbd628f78017d0c745d6 | |
parent | 0983c2b14baf88a07b3b22953ed5f2bddc16fb09 (diff) | |
download | fireworkz-6a868e526ed1228196efebd2e56f917e90dd34ce.tar.gz fireworkz-6a868e526ed1228196efebd2e56f917e90dd34ce.tar.bz2 fireworkz-6a868e526ed1228196efebd2e56f917e90dd34ce.zip |
fixes
-rw-r--r-- | init.lua | 15 | ||||
-rw-r--r-- | mod.conf | 2 |
2 files changed, 13 insertions, 4 deletions
@@ -237,7 +237,7 @@ for _, i in pairs(variant_list) do sunlight_propagates = true, walkable = false, is_ground_content = false, - groups = {choppy = 3, explody = 1}, + groups = {choppy = 3, explody = 1, firework = 1}, on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) local wielded_item = clicker:get_wielded_item() @@ -415,6 +415,15 @@ if minetest.get_modpath("mesecons") ~= nil then end end end, - }} -}) + }} + }) + minetest.register_craft({ + output = "fireworkz:launcher", + type = "shaped", + recipe = { + {"", "tnt:gunpowder", ""}, + {"", "default:mese", ""}, + {"", "default:steelblock", ""} + }, + }) end @@ -1,3 +1,3 @@ name = fireworkz -depends = default +depends = default, tnt optional_depends = mesecons |