0
0
Fork 0

Update all fuel recipes

This commit is contained in:
Wuzzy 2017-01-10 06:43:07 +01:00
parent a8fc75bc78
commit 4bed5f7c10
14 changed files with 173 additions and 10 deletions

10
API.txt
View File

@ -30,6 +30,9 @@ Groups (mostly) used for crafting recipes
quartz_block=1
Quartz Block and variants (chiseled, pillar, etc.) (only full blocks)
stonebrick=1
Stone Bricks and related nodes (only full blocks)
tree=1
Oak Wood, Birch Wood, etc. (tree trunks)
@ -37,11 +40,16 @@ Groups (mostly) used for crafting recipes
Oak Wood Planks, Birch Wood Planks, etc. (only full blocks)
wood_slab=1
Slabs made out of wooden planks
Slabs made out of a kind of wooden planks
wood_stiars=1
Stairs made out of a kind of wooden planks
coal=1
Coal of any kind (coal lump)
boat=1
Boat
Other groups
water=1

View File

@ -148,6 +148,7 @@ minetest.register_craftitem("boat:boat", {
description = "Boat",
inventory_image = "boat_inventory.png",
liquids_pointable = true,
groups = { boat = 1, },
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.type ~= "node" then
@ -174,5 +175,11 @@ minetest.register_craft({
},
})
minetest.register_craft({
type = "fuel",
recipe = "group:boat",
burntime = 20,
})
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))

View File

@ -181,3 +181,10 @@ minetest.register_craft({
{"group:wood", "group:wood"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "crafting:workbench",
burntime = 15,
})

View File

@ -1028,12 +1028,48 @@ minetest.register_craft({
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "default:fishing_rod",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "default:pick_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "default:shovel_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "default:sword_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "default:axe_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "group:sapling",
burntime = 5,
})
minetest.register_craft({
type = "fuel",
recipe = "default:stick",
burntime = 5,
})
--
--Temporary
--

View File

@ -408,6 +408,36 @@ minetest.register_craft({
}
})
minetest.register_craft({
type = "fuel",
recipe = "doors:door_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "doors:door_jungle",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "doors:door_dark_oak",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "doors:door_birch",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "doors:door_acacia",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "doors:door_spruce",
burntime = 10,
})
--- Door in Iron ---
doors:register_door("doors:door_steel", {
@ -556,6 +586,12 @@ minetest.register_craft({
}
})
minetest.register_craft({
type = "fuel",
recipe = "doors:trapdoor",
burntime = 15,
})
--- Iron Trapdoor ----
local me
local meta

View File

@ -50,6 +50,11 @@ minetest.register_craft({
{"default:stick", ""}
}
})
minetest.register_craft({
type = "fuel",
recipe = "farming:hoe_wood",
burntime = 10,
})
minetest.register_tool("farming:hoe_stone", {
description = "Stone Hoe",

View File

@ -568,8 +568,16 @@ minetest.register_craft({
}
})
minetest.register_craft({
type = "fuel",
recipe = "fences:fence_wood",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "fences:fencegate",
burntime = 15,
})
local meta2
local state2 = 0

View File

@ -151,3 +151,10 @@ minetest.register_craft({
{'group:wood'},
}
})
minetest.register_craft({
type = "fuel",
recipe = 'mesecons_button:button_wood_off',
burntime = 5,
})

View File

@ -32,6 +32,12 @@ minetest.register_craft({
}
})
minetest.register_craft({
type = "fuel",
recipe = "mesecons_noteblock:noteblock",
burntime = 15
})
mesecon.noteblock_play = function (pos, param2)
local soundname
if param2==8 then

View File

@ -122,3 +122,9 @@ mesecon:register_pressure_plate(
"default_stone.png",
"default_stone.png",
{{"default:stone", "default:stone"}})
minetest.register_craft({
type = "fuel",
recipe = "mesecons_pressureplates:pressure_plate_wood_off",
burntime = 15
})

View File

@ -176,3 +176,14 @@ minetest.register_abm(
end,
})
minetest.register_craft({
type = "fuel",
recipe = "mesecons_solarpanel:solar_panel_off",
burntime = 15
})
minetest.register_craft({
type = "fuel",
recipe = "mesecons_solarpanel:solar_panel_inverted_off",
burntime = 15
})

View File

@ -236,7 +236,7 @@ function stairs.register_stair_and_slab(subname, recipeitem, groups, images, des
end
stairs.register_stair("wood", "default:wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_stairs=1},
{"default_wood.png"},
"Oak Wood Stairs",
default.node_sound_wood_defaults())
@ -247,7 +247,7 @@ stairs.register_slab("wood", "default:wood",
default.node_sound_wood_defaults())
stairs.register_stair("junglewood", "default:junglewood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_stairs=1},
{"default_junglewood.png"},
"Jungle Wood Stairs",
default.node_sound_wood_defaults())
@ -258,7 +258,7 @@ stairs.register_slab("junglewood", "default:junglewood",
default.node_sound_wood_defaults())
stairs.register_stair("acaciawood", "default:acaciawood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_stairs=1},
{"default_acaciawood.png"},
"Acacia Wood Stairs",
default.node_sound_wood_defaults())
@ -270,7 +270,7 @@ stairs.register_slab("acaciawood", "default:acaciawood",
default.node_sound_wood_defaults())
stairs.register_stair("sprucewood", "default:sprucewood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_stairs=1},
{"default_sprucewood.png"},
"Spruce Wood Stairs",
default.node_sound_wood_defaults())
@ -281,7 +281,7 @@ stairs.register_slab("sprucewood", "default:sprucewood",
default.node_sound_wood_defaults())
stairs.register_stair("birchwood", "default:birchwood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_stairs=1},
{"default_planks_birch.png"},
"Birch Wood Stairs",
default.node_sound_wood_defaults())
@ -292,7 +292,7 @@ stairs.register_slab("birchwood", "default:birchwood",
default.node_sound_wood_defaults())
stairs.register_stair("darkwood", "default:darkwood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_stairs=1},
{"default_planks_big_oak.png"},
"Dark Oak Wood Stairs",
default.node_sound_wood_defaults())
@ -393,7 +393,17 @@ minetest.register_craft({
}
})
-- Fuel
minetest.register_craft({
type = "fuel",
recipe = "group:wood_stairs",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "group:wood_slab",
burntime = 15,
})
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))

View File

@ -129,3 +129,8 @@ minetest.register_craft({
}
})
minetest.register_craft({
type = "fuel",
recipe = "throwing:bow",
burntime = 15,
})

View File

@ -73,3 +73,14 @@ for _, row in ipairs(wool.dyes) do
end
end
minetest.register_craft({
type = "fuel",
recipe = "group:wool",
burntime = 5,
})
minetest.register_craft({
type = "fuel",
recipe = "group:carpet",
-- Original value: 3.35
burntime = 3,
})