Add Ivy
This commit is contained in:
parent
065481973a
commit
cd64a3610a
70
crafts.lua
70
crafts.lua
@ -7,6 +7,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
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"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:candle",
|
||||
recipe = {
|
||||
@ -28,36 +37,6 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:painting",
|
||||
recipe = {
|
||||
{"default:sign_wall", "dye:blue"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:moonbrick",
|
||||
recipe = {
|
||||
{"default:brick", "default:stone"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:flint_steel",
|
||||
recipe = {
|
||||
{"default:obsidian_shard", "default:steel_ingot"}
|
||||
}
|
||||
})
|
||||
|
||||
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"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:cabinet",
|
||||
recipe = {
|
||||
@ -126,6 +105,13 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:flint_steel",
|
||||
recipe = {
|
||||
{"default:obsidian_shard", "default:steel_ingot"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:frame",
|
||||
recipe = {
|
||||
@ -148,6 +134,14 @@ minetest.register_craftitem("xdecor:hammer", {
|
||||
inventory_image = "xdecor_hammer.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:ivy 2",
|
||||
recipe = {
|
||||
{"group:leaves", "group:stick"},
|
||||
{"group:stick", "group:leaves"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:japanese_door",
|
||||
recipe = {
|
||||
@ -184,6 +178,13 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:moonbrick",
|
||||
recipe = {
|
||||
{"default:brick", "default:stone"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:multishelf",
|
||||
recipe = {
|
||||
@ -193,6 +194,13 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:painting",
|
||||
recipe = {
|
||||
{"default:sign_wall", "dye:blue"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:plant_pot",
|
||||
recipe = {
|
||||
@ -203,7 +211,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:rope 2",
|
||||
output = "xdecor:rope",
|
||||
recipe = {
|
||||
{"farming:string"},
|
||||
{"farming:string"},
|
||||
|
15
nodes.lua
15
nodes.lua
@ -276,6 +276,21 @@ minetest.register_tool("xdecor:flint_steel", {
|
||||
end
|
||||
})
|
||||
|
||||
xdecor.register("ivy", {
|
||||
description = "Ivy",
|
||||
drawtype = "signlike",
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
groups = {dig_immediate=3, flammable=2, plant=1},
|
||||
paramtype2 = "wallmounted",
|
||||
selection_box = { type="wallmounted" },
|
||||
legacy_wallmounted = true,
|
||||
tiles = {"xdecor_ivy.png"},
|
||||
inventory_image = "xdecor_ivy.png",
|
||||
wield_image = "xdecor_ivy.png",
|
||||
sounds = xdecor.leaves
|
||||
})
|
||||
|
||||
xdecor.register("lantern", {
|
||||
description = "Lantern",
|
||||
light_source = 12,
|
||||
|
BIN
textures/xdecor_ivy.png
Normal file
BIN
textures/xdecor_ivy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 242 B |
Loading…
Reference in New Issue
Block a user