From e29eb6439855852aecbc903bb054276b389240db Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 4 Jan 2017 11:49:05 +0100 Subject: [PATCH] Use cooktime of 10 everywhere --- mods/3d_armor/3d_armor/init.lua | 4 ++++ mods/default/crafting.lua | 17 ++++++++++++++++- mods/farming/hoes.lua | 2 ++ mods/hardened_clay/init.lua | 1 + mods/mobs/item.lua | 2 +- mods/redstone/mesecons_materials/init.lua | 2 +- 6 files changed, 25 insertions(+), 3 deletions(-) diff --git a/mods/3d_armor/3d_armor/init.lua b/mods/3d_armor/3d_armor/init.lua index 31e7cc93ad..b8a345004d 100644 --- a/mods/3d_armor/3d_armor/init.lua +++ b/mods/3d_armor/3d_armor/init.lua @@ -200,21 +200,25 @@ for k, v in pairs(craft_ingreds) do type = "cooking", output = c, recipe = "3d_armor:helmet_"..k, + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = c, recipe = "3d_armor:chestplate_"..k, + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = c, recipe = "3d_armor:leggings_"..k, + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = c, recipe = "3d_armor:boots_"..k, + cooktime = 10, }) end end diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 94e4a92b9b..1b3c1a2855 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -411,48 +411,56 @@ minetest.register_craft({ type = "cooking", output = "default:gold_nugget", recipe = "default:sword_gold", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:gold_nugget", recipe = "default:axe_gold", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:gold_nugget", recipe = "default:shovel_gold", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:gold_nugget", recipe = "default:pick_gold", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:iron_nugget", recipe = "default:sword_steel", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:iron_nugget", recipe = "default:axe_steel", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:iron_nugget", recipe = "default:shovel_steel", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:iron_nugget", recipe = "default:pick_steel", + cooktime = 10, }) minetest.register_craft({ @@ -663,49 +671,56 @@ minetest.register_craft({ type = "cooking", output = "default:glass", recipe = "group:sand", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:stone", recipe = "default:cobble", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:steel_ingot", recipe = "default:stone_with_iron", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:gold_ingot", recipe = "default:stone_with_gold", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:clay_brick", recipe = "default:clay_lump", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:fish", recipe = "default:fish_raw", - cooktime = 2, + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:charcoal_lump", recipe = "group:tree", + cooktime = 10, }) minetest.register_craft({ type = "cooking", output = "default:sponge", recipe = "default:sponge_wet", + cooktime = 10, }) -- diff --git a/mods/farming/hoes.lua b/mods/farming/hoes.lua index 8f2577fb23..f15d1ea77e 100644 --- a/mods/farming/hoes.lua +++ b/mods/farming/hoes.lua @@ -85,6 +85,7 @@ minetest.register_craft({ type = "cooking", output = "default:iron_nugget", recipe = "farming:hoe_steel", + cooktime = 10, }) minetest.register_tool("farming:hoe_gold", { @@ -113,6 +114,7 @@ minetest.register_craft({ type = "cooking", output = "default:gold_nugget", recipe = "farming:hoe_gold", + cooktime = 10, }) minetest.register_tool("farming:hoe_diamond", { diff --git a/mods/hardened_clay/init.lua b/mods/hardened_clay/init.lua index 348fabd5f7..e7b5a51209 100644 --- a/mods/hardened_clay/init.lua +++ b/mods/hardened_clay/init.lua @@ -32,6 +32,7 @@ minetest.register_craft({ type = "cooking", output = "hardened_clay:hardened_clay", recipe = "default:clay", + cooktime = 10, }) diff --git a/mods/mobs/item.lua b/mods/mobs/item.lua index 3a0d92c3c6..4eaf6b2c0c 100644 --- a/mods/mobs/item.lua +++ b/mods/mobs/item.lua @@ -130,6 +130,6 @@ minetest.register_craft({ type = "cooking", output = "mobs:meat_cooked_sheep", recipe = "mobs:meat_raw_sheep", - cooktime = 25, + cooktime = 10, }) diff --git a/mods/redstone/mesecons_materials/init.lua b/mods/redstone/mesecons_materials/init.lua index c270e5c79f..30f15930ed 100644 --- a/mods/redstone/mesecons_materials/init.lua +++ b/mods/redstone/mesecons_materials/init.lua @@ -9,6 +9,6 @@ minetest.register_craft({ output = '"mesecons_materials:glue" 2', type = "cooking", recipe = "default:sapling", - cooktime = 2 + cooktime = 10, })