mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
Update all fuel recipes
This commit is contained in:
parent
a8fc75bc78
commit
4bed5f7c10
14 changed files with 173 additions and 10 deletions
10
API.txt
10
API.txt
|
@ -30,6 +30,9 @@ Groups (mostly) used for crafting recipes
|
||||||
quartz_block=1
|
quartz_block=1
|
||||||
Quartz Block and variants (chiseled, pillar, etc.) (only full blocks)
|
Quartz Block and variants (chiseled, pillar, etc.) (only full blocks)
|
||||||
|
|
||||||
|
stonebrick=1
|
||||||
|
Stone Bricks and related nodes (only full blocks)
|
||||||
|
|
||||||
tree=1
|
tree=1
|
||||||
Oak Wood, Birch Wood, etc. (tree trunks)
|
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)
|
Oak Wood Planks, Birch Wood Planks, etc. (only full blocks)
|
||||||
|
|
||||||
wood_slab=1
|
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=1
|
||||||
Coal of any kind (coal lump)
|
Coal of any kind (coal lump)
|
||||||
|
|
||||||
|
boat=1
|
||||||
|
Boat
|
||||||
|
|
||||||
Other groups
|
Other groups
|
||||||
water=1
|
water=1
|
||||||
|
|
|
@ -148,6 +148,7 @@ minetest.register_craftitem("boat:boat", {
|
||||||
description = "Boat",
|
description = "Boat",
|
||||||
inventory_image = "boat_inventory.png",
|
inventory_image = "boat_inventory.png",
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
|
groups = { boat = 1, },
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if pointed_thing.type ~= "node" then
|
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
|
local time_to_load= os.clock() - init
|
||||||
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
||||||
|
|
|
@ -181,3 +181,10 @@ minetest.register_craft({
|
||||||
{"group:wood", "group:wood"}
|
{"group:wood", "group:wood"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "crafting:workbench",
|
||||||
|
burntime = 15,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
|
@ -1028,12 +1028,48 @@ minetest.register_craft({
|
||||||
burntime = 15,
|
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({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "group:sapling",
|
recipe = "group:sapling",
|
||||||
burntime = 5,
|
burntime = 5,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "default:stick",
|
||||||
|
burntime = 5,
|
||||||
|
})
|
||||||
|
|
||||||
--
|
--
|
||||||
--Temporary
|
--Temporary
|
||||||
--
|
--
|
||||||
|
|
|
@ -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 ---
|
--- Door in Iron ---
|
||||||
doors:register_door("doors:door_steel", {
|
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 ----
|
--- Iron Trapdoor ----
|
||||||
local me
|
local me
|
||||||
local meta
|
local meta
|
||||||
|
|
|
@ -50,6 +50,11 @@ minetest.register_craft({
|
||||||
{"default:stick", ""}
|
{"default:stick", ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "farming:hoe_wood",
|
||||||
|
burntime = 10,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_tool("farming:hoe_stone", {
|
minetest.register_tool("farming:hoe_stone", {
|
||||||
description = "Stone Hoe",
|
description = "Stone Hoe",
|
||||||
|
|
|
@ -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 meta2
|
||||||
local state2 = 0
|
local state2 = 0
|
||||||
|
|
|
@ -151,3 +151,10 @@ minetest.register_craft({
|
||||||
{'group:wood'},
|
{'group:wood'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = 'mesecons_button:button_wood_off',
|
||||||
|
burntime = 5,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,12 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "mesecons_noteblock:noteblock",
|
||||||
|
burntime = 15
|
||||||
|
})
|
||||||
|
|
||||||
mesecon.noteblock_play = function (pos, param2)
|
mesecon.noteblock_play = function (pos, param2)
|
||||||
local soundname
|
local soundname
|
||||||
if param2==8 then
|
if param2==8 then
|
||||||
|
|
|
@ -122,3 +122,9 @@ mesecon:register_pressure_plate(
|
||||||
"default_stone.png",
|
"default_stone.png",
|
||||||
"default_stone.png",
|
"default_stone.png",
|
||||||
{{"default:stone", "default:stone"}})
|
{{"default:stone", "default:stone"}})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "mesecons_pressureplates:pressure_plate_wood_off",
|
||||||
|
burntime = 15
|
||||||
|
})
|
||||||
|
|
|
@ -176,3 +176,14 @@ minetest.register_abm(
|
||||||
end,
|
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
|
||||||
|
})
|
||||||
|
|
|
@ -236,7 +236,7 @@ function stairs.register_stair_and_slab(subname, recipeitem, groups, images, des
|
||||||
end
|
end
|
||||||
|
|
||||||
stairs.register_stair("wood", "default:wood",
|
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"},
|
{"default_wood.png"},
|
||||||
"Oak Wood Stairs",
|
"Oak Wood Stairs",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
@ -247,7 +247,7 @@ stairs.register_slab("wood", "default:wood",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair("junglewood", "default:junglewood",
|
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"},
|
{"default_junglewood.png"},
|
||||||
"Jungle Wood Stairs",
|
"Jungle Wood Stairs",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
@ -258,7 +258,7 @@ stairs.register_slab("junglewood", "default:junglewood",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair("acaciawood", "default:acaciawood",
|
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"},
|
{"default_acaciawood.png"},
|
||||||
"Acacia Wood Stairs",
|
"Acacia Wood Stairs",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
@ -270,7 +270,7 @@ stairs.register_slab("acaciawood", "default:acaciawood",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair("sprucewood", "default:sprucewood",
|
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"},
|
{"default_sprucewood.png"},
|
||||||
"Spruce Wood Stairs",
|
"Spruce Wood Stairs",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
@ -281,7 +281,7 @@ stairs.register_slab("sprucewood", "default:sprucewood",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair("birchwood", "default:birchwood",
|
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"},
|
{"default_planks_birch.png"},
|
||||||
"Birch Wood Stairs",
|
"Birch Wood Stairs",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
@ -292,7 +292,7 @@ stairs.register_slab("birchwood", "default:birchwood",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair("darkwood", "default:darkwood",
|
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"},
|
{"default_planks_big_oak.png"},
|
||||||
"Dark Oak Wood Stairs",
|
"Dark Oak Wood Stairs",
|
||||||
default.node_sound_wood_defaults())
|
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
|
local time_to_load= os.clock() - init
|
||||||
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
||||||
|
|
|
@ -129,3 +129,8 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "throwing:bow",
|
||||||
|
burntime = 15,
|
||||||
|
})
|
||||||
|
|
|
@ -73,3 +73,14 @@ for _, row in ipairs(wool.dyes) do
|
||||||
end
|
end
|
||||||
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,
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue