beds added,ladder recipes fixed
248
beds.lua
|
@ -74,8 +74,254 @@ beds.register_bed("wood_plus:fancy_acacia_bed", {
|
|||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"", "", "group:stick"},
|
||||
{"", "", "wood_plus:acacia_stick"},
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:acacia_wood", "default:acacia_wood", "default:acacia_wood"},
|
||||
},
|
||||
})
|
||||
|
||||
beds.register_bed("wood_plus:aspen_bed", {
|
||||
description = "Simple Aspen Bed",
|
||||
inventory_image = "wood_plus_aspen_bed.png",
|
||||
wield_image = "wood_plus_aspen_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"beds_bed_top_bottom.png^[transformR90",
|
||||
"default_aspen_wood.png",
|
||||
"wood_plus_aspen_bed_side_bottom_r.png",
|
||||
"wood_plus_aspen_bed_side_bottom_r.png^[transformfx",
|
||||
"beds_transparent.png",
|
||||
"wood_plus_aspen_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"beds_bed_top_top.png^[transformR90",
|
||||
"default_aspen_wood.png",
|
||||
"wood_plus_aspen_bed_side_top_r.png",
|
||||
"wood_plus_aspen_bed_side_top_r.png^[transformfx",
|
||||
"wood_plus_aspen_bed_side_top.png",
|
||||
"beds_transparent.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:aspen_wood", "default:aspen_wood", "default:aspen_wood"}
|
||||
},
|
||||
})
|
||||
|
||||
beds.register_bed("wood_plus:fancy_aspen_bed", {
|
||||
description = "Fancy Aspen Bed",
|
||||
inventory_image = "wood_plus_fancy_aspen_bed.png",
|
||||
wield_image = "wood_plus_fancy_aspen_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"wood_plus_aspen_bed_top1.png",
|
||||
"default_aspen_wood.png",
|
||||
"wood_plus_aspen_bed_side1.png",
|
||||
"wood_plus_aspen_bed_side1.png^[transformFX",
|
||||
"default_aspen_wood.png",
|
||||
"wood_plus_aspen_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"wood_plus_aspen_bed_top2.png",
|
||||
"default_aspen_wood.png",
|
||||
"wood_plus_aspen_bed_side2.png",
|
||||
"wood_plus_aspen_bed_side2.png^[transformFX",
|
||||
"wood_plus_aspen_bed_head.png",
|
||||
"default_aspen_wood.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {
|
||||
{-0.5, -0.5, -0.5, -0.375, -0.065, -0.4375},
|
||||
{0.375, -0.5, -0.5, 0.5, -0.065, -0.4375},
|
||||
{-0.5, -0.375, -0.5, 0.5, -0.125, -0.4375},
|
||||
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
|
||||
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
|
||||
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5},
|
||||
},
|
||||
top = {
|
||||
{-0.5, -0.5, 0.4375, -0.375, 0.1875, 0.5},
|
||||
{0.375, -0.5, 0.4375, 0.5, 0.1875, 0.5},
|
||||
{-0.5, 0, 0.4375, 0.5, 0.125, 0.5},
|
||||
{-0.5, -0.375, 0.4375, 0.5, -0.125, 0.5},
|
||||
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
|
||||
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
|
||||
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375},
|
||||
}
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"", "", "wood_plus:aspen_stick"},
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:aspen_wood", "default:aspen_wood", "default:aspen_wood"},
|
||||
},
|
||||
})
|
||||
|
||||
beds.register_bed("wood_plus:jungle_bed", {
|
||||
description = "Simple Jungle Bed",
|
||||
inventory_image = "wood_plus_jungle_bed.png",
|
||||
wield_image = "wood_plus_jungle_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"beds_bed_top_bottom.png^[transformR90",
|
||||
"default_junglewood.png",
|
||||
"wood_plus_jungle_bed_side_bottom_r.png",
|
||||
"wood_plus_jungle_bed_side_bottom_r.png^[transformfx",
|
||||
"beds_transparent.png",
|
||||
"wood_plus_jungle_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"beds_bed_top_top.png^[transformR90",
|
||||
"default_junglewood.png",
|
||||
"wood_plus_jungle_bed_side_top_r.png",
|
||||
"wood_plus_jungle_bed_side_top_r.png^[transformfx",
|
||||
"wood_plus_jungle_bed_side_top.png",
|
||||
"beds_transparent.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:junglewood", "default:junglewood", "default:junglewood"}
|
||||
},
|
||||
})
|
||||
|
||||
beds.register_bed("wood_plus:fancy_jungle_bed", {
|
||||
description = "Fancy Jungle Bed",
|
||||
inventory_image = "wood_plus_fancy_jungle_bed.png",
|
||||
wield_image = "wood_plus_fancy_jungle_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"wood_plus_jungle_bed_top1.png",
|
||||
"default_junglewood.png",
|
||||
"wood_plus_jungle_bed_side1.png",
|
||||
"wood_plus_jungle_bed_side1.png^[transformFX",
|
||||
"default_junglewood.png",
|
||||
"wood_plus_jungle_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"wood_plus_jungle_bed_top2.png",
|
||||
"default_junglewood.png",
|
||||
"wood_plus_jungle_bed_side2.png",
|
||||
"wood_plus_jungle_bed_side2.png^[transformFX",
|
||||
"wood_plus_jungle_bed_head.png",
|
||||
"default_junglewood.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {
|
||||
{-0.5, -0.5, -0.5, -0.375, -0.065, -0.4375},
|
||||
{0.375, -0.5, -0.5, 0.5, -0.065, -0.4375},
|
||||
{-0.5, -0.375, -0.5, 0.5, -0.125, -0.4375},
|
||||
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
|
||||
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
|
||||
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5},
|
||||
},
|
||||
top = {
|
||||
{-0.5, -0.5, 0.4375, -0.375, 0.1875, 0.5},
|
||||
{0.375, -0.5, 0.4375, 0.5, 0.1875, 0.5},
|
||||
{-0.5, 0, 0.4375, 0.5, 0.125, 0.5},
|
||||
{-0.5, -0.375, 0.4375, 0.5, -0.125, 0.5},
|
||||
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
|
||||
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
|
||||
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375},
|
||||
}
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"", "", "wood_plus:jungle_stick"},
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:junglewood", "default:junglewood", "default:junglewood"},
|
||||
},
|
||||
})
|
||||
|
||||
beds.register_bed("wood_plus:pine_bed", {
|
||||
description = "Simple Pine Bed",
|
||||
inventory_image = "wood_plus_pine_bed.png",
|
||||
wield_image = "wood_plus_pine_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"beds_bed_top_bottom.png^[transformR90",
|
||||
"default_pine_wood.png",
|
||||
"wood_plus_pine_bed_side_bottom_r.png",
|
||||
"wood_plus_pine_bed_side_bottom_r.png^[transformfx",
|
||||
"beds_transparent.png",
|
||||
"wood_plus_pine_bed_side_bottom.png"
|
||||
},
|
||||
top = {
|
||||
"beds_bed_top_top.png^[transformR90",
|
||||
"default_pine_wood.png",
|
||||
"wood_plus_pine_bed_side_top_r.png",
|
||||
"wood_plus_pine_bed_side_top_r.png^[transformfx",
|
||||
"wood_plus_pine_bed_side_top.png",
|
||||
"beds_transparent.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:pine_wood", "default:pine_wood", "default:pine_wood"}
|
||||
},
|
||||
})
|
||||
|
||||
beds.register_bed("wood_plus:fancy_pine_bed", {
|
||||
description = "Fancy Pine Bed",
|
||||
inventory_image = "wood_plus_fancy_pine_bed.png",
|
||||
wield_image = "wood_plus_fancy_pine_bed.png",
|
||||
tiles = {
|
||||
bottom = {
|
||||
"wood_plus_pine_bed_top1.png",
|
||||
"default_pine_wood.png",
|
||||
"wood_plus_pine_bed_side1.png",
|
||||
"wood_plus_pine_bed_side1.png^[transformFX",
|
||||
"default_pine_wood.png",
|
||||
"wood_plus_pine_bed_foot.png",
|
||||
},
|
||||
top = {
|
||||
"wood_plus_pine_bed_top2.png",
|
||||
"default_pine_wood.png",
|
||||
"wood_plus_pine_bed_side2.png",
|
||||
"wood_plus_pine_bed_side2.png^[transformFX",
|
||||
"wood_plus_pine_bed_head.png",
|
||||
"default_pine_wood.png",
|
||||
}
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {
|
||||
{-0.5, -0.5, -0.5, -0.375, -0.065, -0.4375},
|
||||
{0.375, -0.5, -0.5, 0.5, -0.065, -0.4375},
|
||||
{-0.5, -0.375, -0.5, 0.5, -0.125, -0.4375},
|
||||
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
|
||||
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
|
||||
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5},
|
||||
},
|
||||
top = {
|
||||
{-0.5, -0.5, 0.4375, -0.375, 0.1875, 0.5},
|
||||
{0.375, -0.5, 0.4375, 0.5, 0.1875, 0.5},
|
||||
{-0.5, 0, 0.4375, 0.5, 0.125, 0.5},
|
||||
{-0.5, -0.375, 0.4375, 0.5, -0.125, 0.5},
|
||||
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
|
||||
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
|
||||
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375},
|
||||
}
|
||||
},
|
||||
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
||||
recipe = {
|
||||
{"", "", "wood_plus:pine_stick"},
|
||||
{"wool:red", "wool:red", "wool:white"},
|
||||
{"default:pine_wood", "default:pine_wood", "default:pine_wood"},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
minetest.register_craftitem("wood_plus:acacia_stick", {
|
||||
description = "Acacia Stick",
|
||||
inventory_image = "wood_plus_acacia_stick.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:aspen_stick", {
|
||||
description = "Aspen Stick",
|
||||
inventory_image = "wood_plus_aspen_stick.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:pine_stick", {
|
||||
description = "Pine Stick",
|
||||
inventory_image = "wood_plus_pine_stick.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:jungle_stick", {
|
||||
description = "Jungle Stick",
|
||||
inventory_image = "wood_plus_jungle_stick.png",
|
||||
})
|
48
crafts.lua
|
@ -38,62 +38,48 @@ minetest.register_craft({
|
|||
|
||||
-- Extra ladders
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:ladder_wood",
|
||||
recipe = {
|
||||
{"default:stick", "" , "default:stick"},
|
||||
{"default:stick","default:stick", "default:stick"},
|
||||
{"default:stick", "" , "default:stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "wood_plus:acacia_ladder",
|
||||
recipe = {
|
||||
{"wood_plus:acacia_stick", "wood_plus:acacia_stick", "wood_plus:acacia_stick"},
|
||||
{"wood_plus:acacia_stick"," ", "wood_plus:acacia_stick"},
|
||||
{"wood_plus:acacia_stick", "wood_plus:acacia_stick", "wood_plus:acacia_stick"}
|
||||
{"wood_plus:acacia_stick", "wood_plus:acacia_stick", "wood_plus:acacia_stick"},
|
||||
{"wood_plus:acacia_stick", " ", "wood_plus:acacia_stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "wood_plus:aspen_ladder",
|
||||
recipe = {
|
||||
{"wood_plus:aspen_stick", "wood_plus:aspen_stick", "wood_plus:aspen_stick"},
|
||||
{"wood_plus:aspen_stick", " ", "wood_plus:aspen_stick"},
|
||||
{"wood_plus:aspen_stick", "wood_plus:aspen_stick", "wood_plus:aspen_stick"}
|
||||
{"wood_plus:aspen_stick", "wood_plus:aspen_stick", "wood_plus:aspen_stick"},
|
||||
{"wood_plus:aspen_stick", " ", "wood_plus:aspen_stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "wood_plus:pine_ladder",
|
||||
recipe = {
|
||||
{"wood_plus:pine_stick", "wood_plus:pine_stick", "wood_plus:pine_stick"},
|
||||
{"wood_plus:pine_stick", " ", "wood_plus:pine_stick"},
|
||||
{"wood_plus:pine_stick", "wood_plus:pine_stick", "wood_plus:pine_stick"}
|
||||
{"wood_plus:pine_stick", "wood_plus:pine_stick", "wood_plus:pine_stick"},
|
||||
{"wood_plus:pine_stick", " ", "wood_plus:pine_stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "wood_plus:jungle_ladder",
|
||||
recipe = {
|
||||
{"wood_plus:jungle_stick", "wood_plus:jungle_stick", "wood_plus:jungle_stick"},
|
||||
{"wood_plus:jungle_stick", " ", "wood_plus:jungle_stick"},
|
||||
{"wood_plus:jungle_stick", "wood_plus:jungle_stick", "wood_plus:jungle_stick"}
|
||||
{"wood_plus:jungle_stick", "wood_plus:jungle_stick", "wood_plus:jungle_stick"},
|
||||
{"wood_plus:jungle_stick", " ", "wood_plus:jungle_stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:acacia_stick", {
|
||||
description = "Acacia Stick",
|
||||
inventory_image = "wood_plus_acacia_stick.png",
|
||||
groups = {stick = 1, flammable = 2},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:aspen_stick", {
|
||||
description = "Aspen Stick",
|
||||
inventory_image = "wood_plus_aspen_stick.png",
|
||||
groups = {stick = 1, flammable = 2},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:pine_stick", {
|
||||
description = "Pine Stick",
|
||||
inventory_image = "wood_plus_pine_stick.png",
|
||||
groups = {stick = 1, flammable = 2},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("wood_plus:jungle_stick", {
|
||||
description = "Jungle Stick",
|
||||
inventory_image = "wood_plus_jungle_stick.png",
|
||||
groups = {stick = 1, flammable = 2},
|
||||
})
|
||||
|
|
2
init.lua
|
@ -4,5 +4,7 @@ dofile(minetest.get_modpath("wood_plus") .. "/trapdoors.lua")
|
|||
dofile(minetest.get_modpath("wood_plus") .. "/doors.lua")
|
||||
dofile(minetest.get_modpath("wood_plus") .. "/signs.lua")
|
||||
dofile(minetest.get_modpath("wood_plus") .. "/beds.lua")
|
||||
dofile(minetest.get_modpath("wood_plus") .. "/craftitems.lua")
|
||||
dofile(minetest.get_modpath("wood_plus") .. "/crafts.lua")
|
||||
|
||||
|
||||
|
|
After Width: | Height: | Size: 498 B |
After Width: | Height: | Size: 352 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 261 B |
After Width: | Height: | Size: 283 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 389 B |
After Width: | Height: | Size: 560 B |
After Width: | Height: | Size: 613 B |
After Width: | Height: | Size: 515 B |
After Width: | Height: | Size: 498 B |
After Width: | Height: | Size: 496 B |
After Width: | Height: | Size: 477 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 325 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 275 B |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 399 B |
After Width: | Height: | Size: 379 B |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 492 B |
After Width: | Height: | Size: 357 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 280 B |
After Width: | Height: | Size: 403 B |
After Width: | Height: | Size: 397 B |
After Width: | Height: | Size: 424 B |
After Width: | Height: | Size: 412 B |
After Width: | Height: | Size: 561 B |
After Width: | Height: | Size: 661 B |