Decrease the cost of gunpowder for trails
authorDS-Minetest <vorunbekannt75@web.de>
Sun, 1 Jan 2017 23:41:04 +0000 (00:41 +0100)
committerrubenwardy <rubenwardy@gmail.com>
Sun, 1 Jan 2017 23:41:04 +0000 (23:41 +0000)
The cost of TNT remains the same

mods/tnt/init.lua

index f9bc307c50b1f72600f629d5b99cc4a4cd829997..711aad94fec93ecfb2f621ae192d473f64074b05 100644 (file)
@@ -498,7 +498,7 @@ minetest.register_node("tnt:gunpowder_burning", {
 })
 
 minetest.register_craft({
-       output = "tnt:gunpowder",
+       output = "tnt:gunpowder 5",
        type = "shapeless",
        recipe = {"default:coal_lump", "default:gravel"}
 })
@@ -507,9 +507,9 @@ if enable_tnt then
        minetest.register_craft({
                output = "tnt:tnt",
                recipe = {
-                       {"",           "group:wood",    ""},
-                       {"group:wood", "tnt:gunpowder", "group:wood"},
-                       {"",           "group:wood",    ""}
+                       {"group:wood",    "tnt:gunpowder", "group:wood"},
+                       {"tnt:gunpowder", "tnt:gunpowder", "tnt:gunpowder"},
+                       {"group:wood",    "tnt:gunpowder", "group:wood"}
                }
        })