From 7b726430c8fbb0643e505e55e432afd968329559 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 13 Feb 2017 14:33:16 +0100 Subject: [PATCH] Fuels: Bookshelf, chest, wooden slab, saplings --- mods/mcl_books/init.lua | 2 +- mods/mcl_chests/init.lua | 6 ++++++ mods/mcl_core/crafting.lua | 6 ++++++ mods/mcl_core/nodes.lua | 12 ++++++------ mods/stairs/init.lua | 3 ++- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/mods/mcl_books/init.lua b/mods/mcl_books/init.lua index 20b9a03d67..7783b5f717 100644 --- a/mods/mcl_books/init.lua +++ b/mods/mcl_books/init.lua @@ -170,7 +170,7 @@ minetest.register_craft({ minetest.register_craft({ type = "fuel", - recipe = "mcl_core:bookshelf", + recipe = "mcl_books:bookshelf", burntime = 15, }) diff --git a/mods/mcl_chests/init.lua b/mods/mcl_chests/init.lua index 7ed0d14b3b..83b3b7a261 100644 --- a/mods/mcl_chests/init.lua +++ b/mods/mcl_chests/init.lua @@ -262,6 +262,12 @@ minetest.register_craft({ } }) +minetest.register_craft({ + type = 'fuel', + recipe = 'mcl_chests:chest', + burntime = 15 +}) + minetest.register_node("mcl_chests:ender_chest", { description = "Ender Chest", tiles = {"mcl_chests_ender_chest_top.png", "mcl_chests_ender_chest_bottom.png", diff --git a/mods/mcl_core/crafting.lua b/mods/mcl_core/crafting.lua index 73976b143a..5470da700b 100644 --- a/mods/mcl_core/crafting.lua +++ b/mods/mcl_core/crafting.lua @@ -882,6 +882,12 @@ minetest.register_craft({ burntime = 15, }) +minetest.register_craft({ + type = "fuel", + recipe = "group:sapling", + burntime = 5, +}) + minetest.register_craft({ type = "fuel", recipe = "mcl_core:pick_wood", diff --git a/mods/mcl_core/nodes.lua b/mods/mcl_core/nodes.lua index 8f215f7e15..d96e43c0a7 100644 --- a/mods/mcl_core/nodes.lua +++ b/mods/mcl_core/nodes.lua @@ -537,7 +537,7 @@ minetest.register_node("mcl_core:sapling", { fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, stack_max = 64, - groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, + groups = {sapling=1,snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, sounds = mcl_sounds.node_sound_defaults(), }) @@ -592,7 +592,7 @@ minetest.register_node("mcl_core:darksapling", { fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, stack_max = 64, - groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, + groups = {sapling=1,snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, sounds = mcl_sounds.node_sound_defaults(), }) @@ -677,7 +677,7 @@ minetest.register_node("mcl_core:junglesapling", { fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, stack_max = 64, - groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, + groups = {sapling=1,snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, sounds = mcl_sounds.node_sound_defaults(), }) @@ -737,7 +737,7 @@ minetest.register_node("mcl_core:acaciasapling", { fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, stack_max = 64, - groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, + groups = {sapling=1,snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, sounds = mcl_sounds.node_sound_defaults(), }) @@ -802,7 +802,7 @@ minetest.register_node("mcl_core:sprucesapling", { fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, stack_max = 64, - groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, + groups = {sapling=1,snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, sounds = mcl_sounds.node_sound_defaults(), }) @@ -860,7 +860,7 @@ minetest.register_node("mcl_core:birchsapling", { fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, stack_max = 64, - groups = {snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, + groups = {sapling=1,snappy=2,dig_immediate=3,attached_node=1,dig_by_water=1,deco_block=1}, sounds = mcl_sounds.node_sound_defaults(), }) diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index a85c1f589d..46b971f73f 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -399,5 +399,6 @@ minetest.register_craft({ minetest.register_craft({ type = "fuel", recipe = "group:wood_slab", - burntime = 15, + -- Original burn time: 7.5 (PC edition) + burntime = 8, })