xdecor-libre/crafts.lua

373 lines
8.2 KiB
Lua
Raw Normal View History

2015-07-02 16:26:19 +03:00
minetest.register_craft({
output = "xdecor:baricade",
recipe = {
{"group:stick", "", "group:stick"},
{"", "default:steel_ingot", ""},
2015-07-02 16:26:19 +03:00
{"group:stick", "", "group:stick"}
}
})
2015-07-04 14:20:00 +03:00
minetest.register_craft({
output = "xdecor:barrel",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"default:iron_lump", "", "default:iron_lump"},
{"group:wood", "group:wood", "group:wood"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:candle",
recipe = {
{"default:torch"}
}
})
minetest.register_craft({
output = "xdecor:cabinet",
2015-06-25 18:25:36 +03:00
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"doors:trapdoor", "", "doors:trapdoor"},
{"group:wood", "group:wood", "group:wood"}
2015-06-25 18:25:36 +03:00
}
})
minetest.register_craft({
output = "xdecor:cabinet_half 2",
2015-06-25 18:25:36 +03:00
recipe = {
{"xdecor:cabinet"}
2015-06-25 18:25:36 +03:00
}
})
minetest.register_craft({
output = "xdecor:cushion 2",
2015-06-25 18:25:36 +03:00
recipe = {
{"wool:red", "wool:red"}
2015-06-25 18:25:36 +03:00
}
})
minetest.register_craft({
output = "xdecor:cardboard_box",
recipe = {
{"default:paper", "default:paper", "default:paper"},
{"default:paper", "default:paper", "default:paper"}
}
})
minetest.register_craft({
output = "xdecor:cauldron",
recipe = {
{"default:iron_lump", "", "default:iron_lump"},
{"default:iron_lump", "default:water_source", "default:iron_lump"},
{"default:iron_lump", "default:iron_lump", "default:iron_lump"}
}
})
if minetest.get_modpath("bucket") then
minetest.register_craft({
output = "xdecor:cauldron",
recipe = {
{"default:iron_lump", "", "default:iron_lump"},
{"default:iron_lump", "bucket:bucket_water", "default:iron_lump"},
{"default:iron_lump", "default:iron_lump", "default:iron_lump"}
},
replacements = {
{"bucket:bucket_water", "bucket:bucket_empty"}
}
})
end
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:chair",
recipe = {
{"group:stick", "", ""},
{"group:stick", "group:stick", "group:stick"},
{"group:stick", "", "group:stick"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:chandelier",
recipe = {
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
{"default:torch", "default:torch", "default:torch"}
}
})
minetest.register_craft({
output = "xdecor:coalstone_tile 8",
recipe = {
{"default:coalblock", "default:stone"},
{"default:stone", "default:coalblock"}
}
})
minetest.register_craft({
output = "xdecor:cobweb",
recipe = {
{"farming:cotton", "", "farming:cotton"},
{"", "farming:cotton", ""},
{"farming:cotton", "", "farming:cotton"}
}
})
2015-06-11 01:09:37 +03:00
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:empty_shelf",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"", "", ""},
{"group:wood", "group:wood", "group:wood"}
}
})
2015-07-05 17:40:33 +03:00
minetest.register_craft({
output = "xdecor:enderchest",
recipe = {
{"", "default:obsidian", ""},
{"default:obsidian", "default:chest", "default:obsidian"},
{"", "default:obsidian", ""}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:fence_wrought_iron 2",
recipe = {
{"default:iron_lump", "default:iron_lump", "default:iron_lump"},
{"default:iron_lump", "default:iron_lump", "default:iron_lump"}
}
})
2015-07-04 14:20:00 +03:00
minetest.register_craft({
output = "xdecor:flint_steel",
recipe = {
{"default:obsidian_shard", "default:steel_ingot"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:frame",
recipe = {
{"group:stick", "group:stick", "group:stick"},
{"group:stick", "default:paper", "group:stick"},
{"group:stick", "group:stick", "group:stick"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:hammer",
recipe = {
{"default:steel_ingot","group:stick","default:steel_ingot"},
{"", "group:stick", ""},
{"", "group:stick", ""}
2015-06-25 18:25:36 +03:00
}
})
minetest.register_craftitem("xdecor:hammer", {
description = "Hammer",
2015-06-25 18:25:36 +03:00
inventory_image = "xdecor_hammer.png"
})
2015-07-02 16:26:19 +03:00
2015-07-05 02:38:12 +03:00
minetest.register_craft({
output = "xdecor:hive",
recipe = {
{"group:stick", "group:stick", "group:stick"},
2015-07-05 02:38:12 +03:00
{"default:paper", "default:paper", "default:paper"},
{"group:stick", "group:stick", "group:stick"}
2015-07-05 02:38:12 +03:00
}
})
minetest.register_craftitem("xdecor:honey", {
description = "Honey",
inventory_image = "xdecor_honey.png",
on_use = minetest.item_eat(2)
})
2015-07-04 14:20:00 +03:00
minetest.register_craft({
output = "xdecor:ivy 2",
recipe = {
2015-07-05 02:38:12 +03:00
{"group:leaves"},
{"group:leaves"}
2015-07-04 14:20:00 +03:00
}
})
2015-07-02 16:26:19 +03:00
minetest.register_craft({
output = "xdecor:japanese_door",
recipe = {
{"group:wood", "group:wood"},
{"default:paper", "default:paper"},
{"group:wood", "group:wood"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:lantern",
recipe = {
{"default:iron_lump"},
{"default:torch"},
{"default:iron_lump"}
}
})
2015-07-02 16:26:19 +03:00
minetest.register_craft({
output = "xdecor:mailbox",
recipe = {
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"dye:red", "default:paper", "dye:red"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:metal_cabinet",
recipe = {
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"default:paper", "default:paper", "default:paper"},
2015-06-25 18:25:36 +03:00
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}
}
})
2015-07-04 14:20:00 +03:00
minetest.register_craft({
output = "xdecor:moonbrick",
recipe = {
{"default:brick", "default:stone"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:multishelf",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:vessel", "group:book", "group:vessel"},
{"group:wood", "group:wood", "group:wood"}
}
})
2015-07-04 14:20:00 +03:00
minetest.register_craft({
output = "xdecor:painting",
recipe = {
{"default:sign_wall", "dye:blue"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:plant_pot",
recipe = {
{"default:clay_lump", "", "default:clay_lump"},
{"default:clay_lump", "default:dirt", "default:clay_lump"},
{"default:clay_lump", "default:clay_lump", "default:clay_lump"}
}
})
minetest.register_craft({
2015-07-04 14:20:00 +03:00
output = "xdecor:rope",
2015-06-25 18:25:36 +03:00
recipe = {
{"farming:string"},
{"farming:string"},
{"farming:string"}
}
})
2015-06-11 01:09:37 +03:00
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:stereo",
recipe = {
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:stone_tile 2",
recipe = {
{"default:cobble", "default:cobble"},
{"default:cobble", "default:cobble"}
}
})
2015-06-11 01:09:37 +03:00
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:stone_rune 4",
recipe = {
{"default:stone", "default:stone", "default:stone"},
{"default:stone", "", "default:stone"},
{"default:stone", "default:stone", "default:stone"}
}
})
2015-07-02 16:26:19 +03:00
minetest.register_craft({
output = "xdecor:stonepath 16",
recipe = {
{"stairs:slab_stone", "", "stairs:slab_stone"},
{"", "stairs:slab_stone", ""},
{"stairs:slab_stone", "", "stairs:slab_stone"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:table",
recipe = {
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
{"", "group:stick", ""},
{"", "group:stick", ""}
}
})
2015-07-02 16:26:19 +03:00
minetest.register_craft({
output = "xdecor:tatami",
recipe = {
{"farming:wheat", "farming:wheat", "farming:wheat"}
}
})
2015-07-05 17:40:33 +03:00
minetest.register_craft({
output = "xdecor:trash_can",
recipe = {
{"group:wood", "", "group:wood"},
{"group:wood", "", "group:wood"},
{"group:wood", "group:wood", "group:wood"}
}
})
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:tv",
recipe = {
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:glass", "default:steel_ingot"},
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}
}
})
minetest.register_craft({
output = "xdecor:worktable",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"group:wood", "group:wood", "group:wood"}
}
})
2015-06-12 13:37:35 +03:00
2015-06-25 18:25:36 +03:00
minetest.register_craft({
output = "xdecor:woodframed_glass",
recipe = {
{"group:stick", "group:stick", "group:stick"},
{"group:stick", "default:glass", "group:stick"},
{"group:stick", "group:stick", "group:stick"}
}
})
minetest.register_craft({
output = "xdecor:wood_tile 2",
recipe = {
{"group:wood", "group:wood"},
{"group:wood", "group:wood"}
}
})
2015-07-02 16:26:19 +03:00
minetest.register_craft({
output = "xdecor:woodglass_door",
recipe = {
{"default:glass", "default:glass"},
{"group:wood", "group:wood"},
{"group:wood", "group:wood"}
}
})