Default: Make burntimes more rational and consistent
authorezhh <owlecho@live.com>
Sat, 25 Nov 2017 22:49:32 +0000 (22:49 +0000)
committersfan5 <sfan5@live.de>
Tue, 5 Dec 2017 20:24:02 +0000 (21:24 +0100)
mods/default/crafting.lua

index dce630da845c83f594e3545facd713ce15797c01..2d11d26ceaddf50e1652a51fc11219fa70ecf84b 100644 (file)
@@ -853,7 +853,7 @@ minetest.register_craft({
 -- Fuels
 --
 
--- Support use of group:tree
+-- Support use of group:tree, includes default:tree which has the same burn time
 minetest.register_craft({
        type = "fuel",
        recipe = "group:tree",
@@ -876,12 +876,6 @@ minetest.register_craft({
        burntime = 26,
 })
 
-minetest.register_craft({
-       type = "fuel",
-       recipe = "default:tree",
-       burntime = 30,
-})
-
 minetest.register_craft({
        type = "fuel",
        recipe = "default:acacia_tree",
@@ -895,7 +889,7 @@ minetest.register_craft({
 })
 
 
--- Support use of group:wood
+-- Support use of group:wood, includes default:wood which has the same burn time
 minetest.register_craft({
        type = "fuel",
        recipe = "group:wood",
@@ -914,12 +908,6 @@ minetest.register_craft({
        burntime = 6,
 })
 
-minetest.register_craft({
-       type = "fuel",
-       recipe = "default:wood",
-       burntime = 7,
-})
-
 minetest.register_craft({
        type = "fuel",
        recipe = "default:acacia_wood",
@@ -933,53 +921,47 @@ minetest.register_craft({
 })
 
 
--- Support use of group:sapling
+-- Support use of group:sapling, includes default:sapling which has the same burn time
 minetest.register_craft({
        type = "fuel",
        recipe = "group:sapling",
-       burntime = 10,
+       burntime = 5,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "default:bush_sapling",
-       burntime = 6,
+       burntime = 3,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "default:acacia_bush_sapling",
-       burntime = 7,
+       burntime = 4,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "default:aspen_sapling",
-       burntime = 8,
+       burntime = 4,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "default:pine_sapling",
-       burntime = 9,
-})
-
-minetest.register_craft({
-       type = "fuel",
-       recipe = "default:sapling",
-       burntime = 10,
+       burntime = 5,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "default:acacia_sapling",
-       burntime = 11,
+       burntime = 6,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "default:junglesapling",
-       burntime = 12,
+       burntime = 6,
 })
 
 
@@ -1029,13 +1011,13 @@ minetest.register_craft({
 minetest.register_craft({
        type = "fuel",
        recipe = "default:junglegrass",
-       burntime = 2,
+       burntime = 3,
 })
 
 minetest.register_craft({
        type = "fuel",
        recipe = "group:leaves",
-       burntime = 1,
+       burntime = 4,
 })
 
 minetest.register_craft({
@@ -1047,7 +1029,7 @@ minetest.register_craft({
 minetest.register_craft({
        type = "fuel",
        recipe = "default:papyrus",
-       burntime = 1,
+       burntime = 3,
 })
 
 minetest.register_craft({
@@ -1059,7 +1041,7 @@ minetest.register_craft({
 minetest.register_craft({
        type = "fuel",
        recipe = "default:ladder_wood",
-       burntime = 2,
+       burntime = 7,
 })
 
 minetest.register_craft({
@@ -1092,12 +1074,6 @@ minetest.register_craft({
        burntime = 30,
 })
 
-minetest.register_craft({
-       type = "fuel",
-       recipe = "default:apple",
-       burntime = 3,
-})
-
 minetest.register_craft({
        type = "fuel",
        recipe = "default:coal_lump",