Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
This commit is contained in:
parent
95945c0306
commit
a0c893ca0b
1124 changed files with 64294 additions and 763 deletions
25
mods/simple_furniture/init.lua
Normal file
25
mods/simple_furniture/init.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
-- simple_furniture/init.lua
|
||||
|
||||
-- Loads The LUA Files For The Mod
|
||||
|
||||
local path = minetest.get_modpath("simple_furniture")
|
||||
|
||||
dofile(path .. "/sf_benches.lua")
|
||||
dofile(path .. "/sf_chairs.lua")
|
||||
|
||||
dofile(path .. "/sf_end_tables.lua")
|
||||
dofile(path .. "/sf_dining_tables.lua")
|
||||
|
||||
dofile(path .. "/sf_cabinets.lua")
|
||||
|
||||
dofile(path .. "/sf_crafting.lua")
|
||||
|
||||
-- These Are For When Cropocalypse And/Or Dynamic Trees Are Installed
|
||||
-- Checks If Cropocalypse Is Installed
|
||||
if minetest.get_modpath("cropocalypse") then
|
||||
dofile(path .. "/sf_cropocalypse.lua")
|
||||
end
|
||||
-- Checks If Dynamic Trees Is Installed
|
||||
if minetest.get_modpath("dynamic_trees") then
|
||||
dofile(path .. "/sf_dynamic_trees.lua")
|
||||
end
|
20
mods/simple_furniture/license.txt
Normal file
20
mods/simple_furniture/license.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2023 Tarruvi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||
software and associated documentation files (the “Software”), to deal in the Software
|
||||
without restriction, including without limitation the rights to use, copy, modify,
|
||||
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies
|
||||
or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
||||
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
||||
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
8
mods/simple_furniture/mod.conf
Normal file
8
mods/simple_furniture/mod.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
name = simple_furniture
|
||||
description = Minetest Game mod: simple_furniture
|
||||
depends = default, farming, stairs
|
||||
optional_depends = cropocalypse, dynamic_trees
|
||||
|
||||
release = 17095
|
||||
author = Tarruvi
|
||||
title = Simple Furniture
|
650
mods/simple_furniture/sf_benches.lua
Normal file
650
mods/simple_furniture/sf_benches.lua
Normal file
|
@ -0,0 +1,650 @@
|
|||
-- simple_furniture/sf_benches.lua
|
||||
|
||||
-- These Are The Nodes For The Benches
|
||||
-- Apple Wood Bench
|
||||
minetest.register_node("simple_furniture:apple_wood_bench", {
|
||||
description = ("Apple Wood Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_wood.png"
|
||||
},
|
||||
groups = {sf_apple_wood_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:apple_wood_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Aspen Wood Bench
|
||||
minetest.register_node("simple_furniture:aspen_wood_bench", {
|
||||
description = ("Aspen Wood Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_aspen_wood.png"
|
||||
},
|
||||
groups = {sf_aspen_wood_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:aspen_wood_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Pine Wood Bench
|
||||
minetest.register_node("simple_furniture:pine_wood_bench", {
|
||||
description = ("Pine Wood Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_pine_wood.png"
|
||||
},
|
||||
groups = {sf_pine_wood_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pine_wood_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Jungle Wood Bench
|
||||
minetest.register_node("simple_furniture:jungle_wood_bench", {
|
||||
description = ("Jungle Wood Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_junglewood.png"
|
||||
},
|
||||
groups = {sf_jungle_wood_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:jungle_wood_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Acacia Wood Bench
|
||||
minetest.register_node("simple_furniture:acacia_wood_bench", {
|
||||
description = ("Acacia Wood Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_acacia_wood.png"
|
||||
},
|
||||
groups = {sf_acacia_wood_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:acacia_wood_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Stone Bench
|
||||
minetest.register_node("simple_furniture:stone_bench", {
|
||||
description = ("Stone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_stone.png"
|
||||
},
|
||||
groups = {sf_stone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:stone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Stone Bench
|
||||
minetest.register_node("simple_furniture:desert_stone_bench", {
|
||||
description = ("Desert Stone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_stone.png"
|
||||
},
|
||||
groups = {sf_desert_stone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_stone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Sandstone Bench
|
||||
minetest.register_node("simple_furniture:sandstone_bench", {
|
||||
description = ("Sandstone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_sandstone.png"
|
||||
},
|
||||
groups = {sf_sandstone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:sandstone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Sandstone Bench
|
||||
minetest.register_node("simple_furniture:desert_sandstone_bench", {
|
||||
description = ("Desert Sandstone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_sandstone.png"
|
||||
},
|
||||
groups = {sf_desert_sandstone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_sandstone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Silver Sandstone Bench
|
||||
minetest.register_node("simple_furniture:silver_sandstone_bench", {
|
||||
description = ("Silver Sandstone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_silver_sandstone.png"
|
||||
},
|
||||
groups = {sf_silver_sandstone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:silver_sandstone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Cobblestone Bench
|
||||
minetest.register_node("simple_furniture:cobblestone_bench", {
|
||||
description = ("Cobblestone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_cobble.png"
|
||||
},
|
||||
groups = {sf_cobblestone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:cobblestone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Bench
|
||||
minetest.register_node("simple_furniture:mossy_cobblestone_bench", {
|
||||
description = ("Mossy Cobblestone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_mossycobble.png"
|
||||
},
|
||||
groups = {sf_mossy_cobblestone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:mossy_cobblestone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Bench
|
||||
minetest.register_node("simple_furniture:desert_cobblestone_bench", {
|
||||
description = ("Desert Cobblestone Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_cobble.png"
|
||||
},
|
||||
groups = {sf_desert_cobblestone_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_cobblestone_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Brick Bench
|
||||
minetest.register_node("simple_furniture:brick_bench", {
|
||||
description = ("Brick Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_brick.png"
|
||||
},
|
||||
groups = {sf_brick_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:brick_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Obsidian Bench
|
||||
minetest.register_node("simple_furniture:obsidian_bench", {
|
||||
description = ("Obsidian Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_obsidian.png"
|
||||
},
|
||||
groups = {sf_obsidian_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:obsidian_bench",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Snow Bench
|
||||
minetest.register_node("simple_furniture:snow_bench", {
|
||||
description = ("Snow Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_snow.png"
|
||||
},
|
||||
groups = {sf_snow_bench = 1, bench = 1, crumbly = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:snow_bench",
|
||||
sounds = default.node_sound_snow_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Ice Bench
|
||||
minetest.register_node("simple_furniture:ice_bench", {
|
||||
description = ("Ice Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_ice.png"
|
||||
},
|
||||
groups = {sf_ice_bench = 1, bench = 1, cracky = 3, oddly_breakable_by_hand = 2, cools_lava = 1, slippery = 3},
|
||||
drop = "simple_furniture:ice_bench",
|
||||
sounds = default.node_sound_ice_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Straw Bench
|
||||
minetest.register_node("simple_furniture:straw_bench", {
|
||||
description = ("Straw Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"farming_straw.png"
|
||||
},
|
||||
groups = {sf_straw_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:straw_bench",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
704
mods/simple_furniture/sf_cabinets.lua
Normal file
704
mods/simple_furniture/sf_cabinets.lua
Normal file
|
@ -0,0 +1,704 @@
|
|||
-- simple_furniture/sf_cabinets.lua
|
||||
|
||||
-- These Are The Nodes For The Cabinets
|
||||
-- Apple Wood Cabinet
|
||||
minetest.register_node("simple_furniture:apple_wood_cabinet", {
|
||||
description = ("Apple Wood Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"default_wood.png"
|
||||
},
|
||||
groups = {sf_apple_wood_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:apple_wood_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Aspen Wood Cabinet
|
||||
minetest.register_node("simple_furniture:aspen_wood_cabinet", {
|
||||
description = ("Aspen Wood Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_aspen_wood.png",
|
||||
"default_aspen_wood.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"default_aspen_wood.png"
|
||||
},
|
||||
groups = {sf_aspen_wood_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:aspen_wood_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Pine Wood Cabinet
|
||||
minetest.register_node("simple_furniture:pine_wood_cabinet", {
|
||||
description = ("Pine Wood Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_pine_wood.png",
|
||||
"default_pine_wood.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"default_pine_wood.png"
|
||||
},
|
||||
groups = {sf_pine_wood_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pine_wood_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Jungle Wood Cabinet
|
||||
minetest.register_node("simple_furniture:jungle_wood_cabinet", {
|
||||
description = ("Jungle Wood Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_junglewood.png",
|
||||
"default_junglewood.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"default_junglewood.png"
|
||||
},
|
||||
groups = {sf_jungle_wood_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:jungle_wood_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Acacia Wood Cabinet
|
||||
minetest.register_node("simple_furniture:acacia_wood_cabinet", {
|
||||
description = ("Acacia Wood Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_acacia_wood.png",
|
||||
"default_acacia_wood.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"default_acacia_wood.png"
|
||||
},
|
||||
groups = {sf_acacia_wood_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:acacia_wood_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Stone Cabinet
|
||||
minetest.register_node("simple_furniture:stone_cabinet", {
|
||||
description = ("Stone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_stone.png",
|
||||
"default_stone.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_stone.png"
|
||||
},
|
||||
groups = {sf_stone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:stone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Stone Cabinet
|
||||
minetest.register_node("simple_furniture:desert_stone_cabinet", {
|
||||
description = ("Desert Stone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_stone.png",
|
||||
"default_desert_stone.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_desert_stone.png"
|
||||
},
|
||||
groups = {sf_desert_stone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_stone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Sandstone Cabinet
|
||||
minetest.register_node("simple_furniture:sandstone_cabinet", {
|
||||
description = ("Sandstone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_sandstone.png",
|
||||
"default_sandstone.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_sandstone.png"
|
||||
},
|
||||
groups = {sf_sandstone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:sandstone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Sandstone Cabinet
|
||||
minetest.register_node("simple_furniture:desert_sandstone_cabinet", {
|
||||
description = ("Desert Sandstone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_sandstone.png",
|
||||
"default_desert_sandstone.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_desert_sandstone.png"
|
||||
},
|
||||
groups = {sf_desert_sandstone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_sandstone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Silver Sandstone Cabinet
|
||||
minetest.register_node("simple_furniture:silver_sandstone_cabinet", {
|
||||
description = ("Silver Sandstone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_silver_sandstone.png",
|
||||
"default_silver_sandstone.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_silver_sandstone.png"
|
||||
},
|
||||
groups = {sf_silver_sandstone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:silver_sandstone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Cobblestone Cabinet
|
||||
minetest.register_node("simple_furniture:cobblestone_cabinet", {
|
||||
description = ("Cobblestone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_cobble.png",
|
||||
"default_cobble.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_cobble.png"
|
||||
},
|
||||
groups = {sf_cobblestone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:cobblestone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Cabinet
|
||||
minetest.register_node("simple_furniture:mossy_cobblestone_cabinet", {
|
||||
description = ("Mossy Cobblestone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_mossycobble.png",
|
||||
"default_mossycobble.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_mossycobble.png"
|
||||
},
|
||||
groups = {sf_mossy_cobblestone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:mossy_cobblestone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Cabinet
|
||||
minetest.register_node("simple_furniture:desert_cobblestone_cabinet", {
|
||||
description = ("Desert Cobblestone Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_cobble.png",
|
||||
"default_desert_cobble.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_desert_cobble.png"
|
||||
},
|
||||
groups = {sf_desert_cobblestone_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_cobblestone_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Brick Cabinet
|
||||
minetest.register_node("simple_furniture:brick_cabinet", {
|
||||
description = ("Brick Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_brick.png",
|
||||
"default_brick.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_brick.png"
|
||||
},
|
||||
groups = {sf_brick_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:brick_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Obsidian Cabinet
|
||||
minetest.register_node("simple_furniture:obsidian_cabinet", {
|
||||
description = ("Obsidian Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_obsidian.png",
|
||||
"default_obsidian.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_obsidian.png"
|
||||
},
|
||||
groups = {sf_obsidian_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:obsidian_cabinet",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Snow Cabinet
|
||||
minetest.register_node("simple_furniture:snow_cabinet", {
|
||||
description = ("Snow Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_snow.png",
|
||||
"default_snow.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_snow.png"
|
||||
},
|
||||
groups = {sf_snow_cabinet = 1, cabinet = 1, crumbly = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:snow_cabinet",
|
||||
sounds = default.node_sound_snow_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Ice Cabinet
|
||||
minetest.register_node("simple_furniture:ice_cabinet", {
|
||||
description = ("Ice Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_ice.png",
|
||||
"default_ice.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_top.png",
|
||||
"default_furnace_side.png",
|
||||
"default_ice.png"
|
||||
},
|
||||
groups = {sf_ice_cabinet = 1, cabinet = 1, cracky = 3, oddly_breakable_by_hand = 2, cools_lava = 1, slippery = 3},
|
||||
drop = "simple_furniture:ice_cabinet",
|
||||
sounds = default.node_sound_ice_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Straw Cabinet
|
||||
minetest.register_node("simple_furniture:straw_cabinet", {
|
||||
description = ("Straw Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"farming_straw.png",
|
||||
"farming_straw.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"farming_straw.png"
|
||||
},
|
||||
groups = {sf_straw_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:straw_cabinet",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
614
mods/simple_furniture/sf_chairs.lua
Normal file
614
mods/simple_furniture/sf_chairs.lua
Normal file
|
@ -0,0 +1,614 @@
|
|||
-- simple_furniture/sf_chairs.lua
|
||||
|
||||
-- These Are The Nodes For The Chairs
|
||||
-- Apple Wood Chair
|
||||
minetest.register_node("simple_furniture:apple_wood_chair", {
|
||||
description = ("Apple Wood Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_wood.png"
|
||||
},
|
||||
groups = {sf_apple_wood_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:apple_wood_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Aspen Wood Chair
|
||||
minetest.register_node("simple_furniture:aspen_wood_chair", {
|
||||
description = ("Aspen Wood Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_aspen_wood.png"
|
||||
},
|
||||
groups = {sf_aspen_wood_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:aspen_wood_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Pine Wood Chair
|
||||
minetest.register_node("simple_furniture:pine_wood_chair", {
|
||||
description = ("Pine Wood Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_pine_wood.png"
|
||||
},
|
||||
groups = {sf_pine_wood_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pine_wood_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Jungle Wood Chair
|
||||
minetest.register_node("simple_furniture:jungle_wood_chair", {
|
||||
description = ("Jungle Wood Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_junglewood.png"
|
||||
},
|
||||
groups = {sf_jungle_wood_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:jungle_wood_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Acacia Wood Chair
|
||||
minetest.register_node("simple_furniture:acacia_wood_chair", {
|
||||
description = ("Acacia Wood Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_acacia_wood.png"
|
||||
},
|
||||
groups = {sf_acacia_wood_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:acacia_wood_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Stone Chair
|
||||
minetest.register_node("simple_furniture:stone_chair", {
|
||||
description = ("Stone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_stone.png"
|
||||
},
|
||||
groups = {sf_stone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:stone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Stone Chair
|
||||
minetest.register_node("simple_furniture:desert_stone_chair", {
|
||||
description = ("Desert Stone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_stone.png"
|
||||
},
|
||||
groups = {sf_desert_stone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_stone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Sandstone Chair
|
||||
minetest.register_node("simple_furniture:sandstone_chair", {
|
||||
description = ("Sandstone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_sandstone.png"
|
||||
},
|
||||
groups = {sf_sandstone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:sandstone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Sandstone Chair
|
||||
minetest.register_node("simple_furniture:desert_sandstone_chair", {
|
||||
description = ("Desert Sandstone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_sandstone.png"
|
||||
},
|
||||
groups = {sf_desert_sandstone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_sandstone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Silver Sandstone Chair
|
||||
minetest.register_node("simple_furniture:silver_sandstone_chair", {
|
||||
description = ("Silver Sandstone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_silver_sandstone.png"
|
||||
},
|
||||
groups = {sf_silver_sandstone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:silver_sandstone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Cobblestone Chair
|
||||
minetest.register_node("simple_furniture:cobblestone_chair", {
|
||||
description = ("Cobblestone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_cobble.png"
|
||||
},
|
||||
groups = {sf_cobblestone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:cobblestone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Chair
|
||||
minetest.register_node("simple_furniture:mossy_cobblestone_chair", {
|
||||
description = ("Mossy Cobblestone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_mossycobble.png"
|
||||
},
|
||||
groups = {sf_mossy_cobblestone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:mossy_cobblestone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Chair
|
||||
minetest.register_node("simple_furniture:desert_cobblestone_chair", {
|
||||
description = ("Desert Cobblestone Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_cobble.png"
|
||||
},
|
||||
groups = {sf_desert_cobblestone_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_cobblestone_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Brick Chair
|
||||
minetest.register_node("simple_furniture:brick_chair", {
|
||||
description = ("Brick Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_brick.png"
|
||||
},
|
||||
groups = {sf_brick_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:brick_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Obsidian Chair
|
||||
minetest.register_node("simple_furniture:obsidian_chair", {
|
||||
description = ("Obsidian Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_obsidian.png"
|
||||
},
|
||||
groups = {sf_obsidian_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:obsidian_chair",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Snow Chair
|
||||
minetest.register_node("simple_furniture:snow_chair", {
|
||||
description = ("Snow Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_snow.png"
|
||||
},
|
||||
groups = {sf_snow_chair = 1, chair = 1, crumbly = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:snow_chair",
|
||||
sounds = default.node_sound_snow_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Ice Chair
|
||||
minetest.register_node("simple_furniture:ice_chair", {
|
||||
description = ("Ice Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_ice.png"
|
||||
},
|
||||
groups = {sf_ice_chair = 1, chair = 1, cracky = 3, oddly_breakable_by_hand = 2, cools_lava = 1, slippery = 3},
|
||||
drop = "simple_furniture:ice_chair",
|
||||
sounds = default.node_sound_ice_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Straw Chair
|
||||
minetest.register_node("simple_furniture:straw_chair", {
|
||||
description = ("Straw Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"farming_straw.png"
|
||||
},
|
||||
groups = {sf_straw_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:straw_chair",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
902
mods/simple_furniture/sf_crafting.lua
Normal file
902
mods/simple_furniture/sf_crafting.lua
Normal file
|
@ -0,0 +1,902 @@
|
|||
-- simple_furniture/sf_crafting.lua
|
||||
|
||||
-- These Are The Crafting Recipes For The Mod
|
||||
-- Apple Wood Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:apple_wood_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_wood"},
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
|
||||
{"stairs:slab_wood", "", "stairs:slab_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Apple Wood Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:apple_wood_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
|
||||
{"doors:trapdoor", "stairs:slab_wood", "doors:trapdoor"},
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Apple Wood Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:apple_wood_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Apple Wood Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:apple_wood_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_wood", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Apple Wood End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:apple_wood_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Aspen Wood Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:aspen_wood_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_aspen_wood"},
|
||||
{"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", "stairs:slab_aspen_wood"},
|
||||
{"stairs:slab_aspen_wood", "", "stairs:slab_aspen_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Aspen Wood Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:aspen_wood_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", "stairs:slab_aspen_wood"},
|
||||
{"doors:trapdoor", "stairs:slab_aspen_wood", "doors:trapdoor"},
|
||||
{"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", "stairs:slab_aspen_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Aspen Wood Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:aspen_wood_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", "stairs:slab_aspen_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Aspen Wood Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:aspen_wood_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", "stairs:slab_aspen_wood"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_aspen_wood", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Aspen Wood End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:aspen_wood_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_aspen_wood", "stairs:slab_aspen_wood", "stairs:slab_aspen_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pine Wood Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pine_wood_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_pine_wood"},
|
||||
{"stairs:slab_pine_wood", "stairs:slab_pine_wood", "stairs:slab_pine_wood"},
|
||||
{"stairs:slab_pine_wood", "", "stairs:slab_pine_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pine Wood Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pine_wood_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_pine_wood", "stairs:slab_pine_wood", "stairs:slab_pine_wood"},
|
||||
{"doors:trapdoor", "stairs:slab_pine_wood", "doors:trapdoor"},
|
||||
{"stairs:slab_pine_wood", "stairs:slab_pine_wood", "stairs:slab_pine_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pine Wood Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pine_wood_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_pine_wood", "stairs:slab_pine_wood", "stairs:slab_pine_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pine Wood Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pine_wood_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_pine_wood", "stairs:slab_pine_wood", "stairs:slab_pine_wood"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_pine_wood", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pine Wood End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pine_wood_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_pine_wood", "stairs:slab_pine_wood", "stairs:slab_pine_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Jungle Wood Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:jungle_wood_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_junglewood"},
|
||||
{"stairs:slab_junglewood", "stairs:slab_junglewood", "stairs:slab_junglewood"},
|
||||
{"stairs:slab_junglewood", "", "stairs:slab_junglewood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Jungle Wood Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:jungle_wood_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_junglewood", "stairs:slab_junglewood", "stairs:slab_junglewood"},
|
||||
{"doors:trapdoor", "stairs:slab_junglewood", "doors:trapdoor"},
|
||||
{"stairs:slab_junglewood", "stairs:slab_junglewood", "stairs:slab_junglewood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Jungle Wood Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:jungle_wood_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_junglewood", "stairs:slab_junglewood", "stairs:slab_junglewood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Jungle Wood Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:jungle_wood_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_junglewood", "stairs:slab_junglewood", "stairs:slab_junglewood"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_junglewood", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Jungle Wood End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:jungle_wood_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_junglewood", "stairs:slab_junglewood", "stairs:slab_junglewood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Acacia Wood Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:acacia_wood_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_acacia_wood"},
|
||||
{"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", "stairs:slab_acacia_wood"},
|
||||
{"stairs:slab_acacia_wood", "", "stairs:slab_acacia_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Acacia Wood Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:acacia_wood_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", "stairs:slab_acacia_wood"},
|
||||
{"doors:trapdoor", "stairs:slab_acacia_wood", "doors:trapdoor"},
|
||||
{"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", "stairs:slab_acacia_wood"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Acacia Wood Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:acacia_wood_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", "stairs:slab_acacia_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Acacia Wood Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:acacia_wood_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", "stairs:slab_acacia_wood"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_acacia_wood", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Acacia Wood End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:acacia_wood_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_acacia_wood", "stairs:slab_acacia_wood", "stairs:slab_acacia_wood"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Stone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:stone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_stone"},
|
||||
{"stairs:slab_stone", "stairs:slab_stone", "stairs:slab_stone"},
|
||||
{"stairs:slab_stone", "", "stairs:slab_stone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Stone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:stone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_stone", "stairs:slab_stone", "stairs:slab_stone"},
|
||||
{"doors:trapdoor", "stairs:slab_stone", "doors:trapdoor"},
|
||||
{"stairs:slab_stone", "stairs:slab_stone", "stairs:slab_stone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Stone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:stone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_stone", "stairs:slab_stone", "stairs:slab_stone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Stone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:stone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_stone", "stairs:slab_stone", "stairs:slab_stone"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_stone", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Stone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:stone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_stone", "stairs:slab_stone", "stairs:slab_stone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Stone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_stone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_desert_stone"},
|
||||
{"stairs:slab_desert_stone", "stairs:slab_desert_stone", "stairs:slab_desert_stone"},
|
||||
{"stairs:slab_desert_stone", "", "stairs:slab_desert_stone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Stone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_stone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_stone", "stairs:slab_desert_stone", "stairs:slab_desert_stone"},
|
||||
{"doors:trapdoor", "stairs:slab_desert_stone", "doors:trapdoor"},
|
||||
{"stairs:slab_desert_stone", "stairs:slab_desert_stone", "stairs:slab_desert_stone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Stone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_stone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_desert_stone", "stairs:slab_desert_stone", "stairs:slab_desert_stone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Stone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_stone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_stone", "stairs:slab_desert_stone", "stairs:slab_desert_stone"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_desert_stone", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Stone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_stone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_stone", "stairs:slab_desert_stone", "stairs:slab_desert_stone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Sandstone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:sandstone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_sandstone"},
|
||||
{"stairs:slab_sandstone", "stairs:slab_sandstone", "stairs:slab_sandstone"},
|
||||
{"stairs:slab_sandstone", "", "stairs:slab_sandstone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Sandstone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:sandstone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_sandstone", "stairs:slab_sandstone", "stairs:slab_sandstone"},
|
||||
{"doors:trapdoor", "stairs:slab_sandstone", "doors:trapdoor"},
|
||||
{"stairs:slab_sandstone", "stairs:slab_sandstone", "stairs:slab_sandstone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Sandstone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:sandstone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_sandstone", "stairs:slab_sandstone", "stairs:slab_sandstone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Sandstone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:sandstone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_sandstone", "stairs:slab_sandstone", "stairs:slab_sandstone"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_sandstone", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Sandstone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:sandstone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_sandstone", "stairs:slab_sandstone", "stairs:slab_sandstone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Sandstone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_sandstone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_desert_sandstone"},
|
||||
{"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone"},
|
||||
{"stairs:slab_desert_sandstone", "", "stairs:slab_desert_sandstone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Sandstone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_sandstone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone"},
|
||||
{"doors:trapdoor", "stairs:slab_desert_sandstone", "doors:trapdoor"},
|
||||
{"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Sandstone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_sandstone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Sandstone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_sandstone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_desert_sandstone", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Sandstone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_sandstone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone", "stairs:slab_desert_sandstone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Silver Sandstone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:silver_sandstone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_silver_sandstone"},
|
||||
{"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone"},
|
||||
{"stairs:slab_silver_sandstone", "", "stairs:slab_silver_sandstone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Silver Sandstone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:silver_sandstone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone"},
|
||||
{"doors:trapdoor", "stairs:slab_silver_sandstone", "doors:trapdoor"},
|
||||
{"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Silver Sandstone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:silver_sandstone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Silver Sandstone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:silver_sandstone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_silver_sandstone", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Silver Sandstone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:silver_sandstone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone", "stairs:slab_silver_sandstone"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Cobblestone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:cobblestone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_cobble"},
|
||||
{"stairs:slab_cobble", "stairs:slab_cobble", "stairs:slab_cobble"},
|
||||
{"stairs:slab_cobble", "", "stairs:slab_cobble"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Cobblestone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:cobblestone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_cobble", "stairs:slab_cobble", "stairs:slab_cobble"},
|
||||
{"doors:trapdoor", "stairs:slab_cobble", "doors:trapdoor"},
|
||||
{"stairs:slab_cobble", "stairs:slab_cobble", "stairs:slab_cobble"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Cobblestone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:cobblestone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_cobble", "stairs:slab_cobble", "stairs:slab_cobble"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Cobblestone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:cobblestone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_cobble", "stairs:slab_cobble", "stairs:slab_cobble"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_cobble", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Cobblestone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:cobblestone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_cobble", "stairs:slab_cobble", "stairs:slab_cobble"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:mossy_cobblestone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_mossycobble"},
|
||||
{"stairs:slab_mossycobble", "stairs:slab_mossycobble", "stairs:slab_mossycobble"},
|
||||
{"stairs:slab_mossycobble", "", "stairs:slab_mossycobble"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:mossy_cobblestone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_mossycobble", "stairs:slab_mossycobble", "stairs:slab_mossycobble"},
|
||||
{"doors:trapdoor", "stairs:slab_mossycobble", "doors:trapdoor"},
|
||||
{"stairs:slab_mossycobble", "stairs:slab_mossycobble", "stairs:slab_mossycobble"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:mossy_cobblestone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_mossycobble", "stairs:slab_mossycobble", "stairs:slab_mossycobble"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:mossy_cobblestone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_mossycobble", "stairs:slab_mossycobble", "stairs:slab_mossycobble"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_mossycobble", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:mossy_cobblestone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_mossycobble", "stairs:slab_mossycobble", "stairs:slab_mossycobble"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_cobblestone_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_desert_cobble"},
|
||||
{"stairs:slab_desert_cobble", "stairs:slab_desert_cobble", "stairs:slab_desert_cobble"},
|
||||
{"stairs:slab_desert_cobble", "", "stairs:slab_desert_cobble"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_cobblestone_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_cobble", "stairs:slab_desert_cobble", "stairs:slab_desert_cobble"},
|
||||
{"doors:trapdoor", "stairs:slab_desert_cobble", "doors:trapdoor"},
|
||||
{"stairs:slab_desert_cobble", "stairs:slab_desert_cobble", "stairs:slab_desert_cobble"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_cobblestone_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_desert_cobble", "stairs:slab_desert_cobble", "stairs:slab_desert_cobble"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_cobblestone_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_cobble", "stairs:slab_desert_cobble", "stairs:slab_desert_cobble"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_desert_cobble", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Desert Cobblestone End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:desert_cobblestone_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_desert_cobble", "stairs:slab_desert_cobble", "stairs:slab_desert_cobble"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Brick Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:brick_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_brick"},
|
||||
{"stairs:slab_brick", "stairs:slab_brick", "stairs:slab_brick"},
|
||||
{"stairs:slab_brick", "", "stairs:slab_brick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Brick Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:brick_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_brick", "stairs:slab_brick", "stairs:slab_brick"},
|
||||
{"doors:trapdoor", "stairs:slab_brick", "doors:trapdoor"},
|
||||
{"stairs:slab_brick", "stairs:slab_brick", "stairs:slab_brick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Brick Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:brick_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_brick", "stairs:slab_brick", "stairs:slab_brick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Brick Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:brick_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_brick", "stairs:slab_brick", "stairs:slab_brick"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_brick", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Brick End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:brick_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_brick", "stairs:slab_brick", "stairs:slab_brick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Obsidian Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:obsidian_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_obsidian"},
|
||||
{"stairs:slab_obsidian", "stairs:slab_obsidian", "stairs:slab_obsidian"},
|
||||
{"stairs:slab_obsidian", "", "stairs:slab_obsidian"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Obsidian Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:obsidian_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_obsidian", "stairs:slab_obsidian", "stairs:slab_obsidian"},
|
||||
{"doors:trapdoor", "stairs:slab_obsidian", "doors:trapdoor"},
|
||||
{"stairs:slab_obsidian", "stairs:slab_obsidian", "stairs:slab_obsidian"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Obsidian Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:obsidian_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_obsidian", "stairs:slab_obsidian", "stairs:slab_obsidian"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Obsidian Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:obsidian_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_obsidian", "stairs:slab_obsidian", "stairs:slab_obsidian"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_obsidian", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Obsidian End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:obsidian_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_obsidian", "stairs:slab_obsidian", "stairs:slab_obsidian"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Snow Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:snow_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_snowblock"},
|
||||
{"stairs:slab_snowblock", "stairs:slab_snowblock", "stairs:slab_snowblock"},
|
||||
{"stairs:slab_snowblock", "", "stairs:slab_snowblock"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Snow Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:snow_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_snowblock", "stairs:slab_snowblock", "stairs:slab_snowblock"},
|
||||
{"doors:trapdoor", "stairs:slab_snowblock", "doors:trapdoor"},
|
||||
{"stairs:slab_snowblock", "stairs:slab_snowblock", "stairs:slab_snowblock"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Snow Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:snow_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_snowblock", "stairs:slab_snowblock", "stairs:slab_snowblock"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Snow Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:snow_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_snowblock", "stairs:slab_snowblock", "stairs:slab_snowblock"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_snowblock", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Snow End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:snow_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_snowblock", "stairs:slab_snowblock", "stairs:slab_snowblock"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Ice Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:ice_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_ice"},
|
||||
{"stairs:slab_ice", "stairs:slab_ice", "stairs:slab_ice"},
|
||||
{"stairs:slab_ice", "", "stairs:slab_ice"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Ice Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:ice_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_ice", "stairs:slab_ice", "stairs:slab_ice"},
|
||||
{"doors:trapdoor", "stairs:slab_ice", "doors:trapdoor"},
|
||||
{"stairs:slab_ice", "stairs:slab_ice", "stairs:slab_ice"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Ice Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:ice_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_ice", "stairs:slab_ice", "stairs:slab_ice"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Ice Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:ice_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_ice", "stairs:slab_ice", "stairs:slab_ice"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_ice", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Ice End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:ice_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_ice", "stairs:slab_ice", "stairs:slab_ice"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Straw Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:straw_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_straw"},
|
||||
{"stairs:slab_straw", "stairs:slab_straw", "stairs:slab_straw"},
|
||||
{"stairs:slab_straw", "", "stairs:slab_straw"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Straw Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:straw_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_straw", "stairs:slab_straw", "stairs:slab_straw"},
|
||||
{"doors:trapdoor", "stairs:slab_straw", "doors:trapdoor"},
|
||||
{"stairs:slab_straw", "stairs:slab_straw", "stairs:slab_straw"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Straw Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:straw_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_straw", "stairs:slab_straw", "stairs:slab_straw"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Straw Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:straw_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_straw", "stairs:slab_straw", "stairs:slab_straw"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_straw", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Straw End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:straw_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_straw", "stairs:slab_straw", "stairs:slab_straw"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
457
mods/simple_furniture/sf_cropocalypse.lua
Normal file
457
mods/simple_furniture/sf_cropocalypse.lua
Normal file
|
@ -0,0 +1,457 @@
|
|||
-- simple_furniture/sf_cropocalypse.lua
|
||||
|
||||
-- These Are The Nodes For The Benches
|
||||
-- Pumpkin Bench
|
||||
minetest.register_node("simple_furniture:pumpkin_bench", {
|
||||
description = ("Pumpkin Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_pumpkin.png"
|
||||
},
|
||||
groups = {sf_pumpkin_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pumpkin_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Watermelon Bench
|
||||
minetest.register_node("simple_furniture:watermelon_bench", {
|
||||
description = ("Watermelon Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_watermelon.png"
|
||||
},
|
||||
groups = {sf_watermelon_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:watermelon_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The Cabinets
|
||||
-- Pumpkin Cabinet
|
||||
minetest.register_node("simple_furniture:pumpkin_cabinet", {
|
||||
description = ("Pumpkin Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_pumpkin.png",
|
||||
"cropocalypse_pumpkin.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"cropocalypse_pumpkin.png"
|
||||
},
|
||||
groups = {sf_pumpkin_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pumpkin_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Watermelon Cabinet
|
||||
minetest.register_node("simple_furniture:watermelon_cabinet", {
|
||||
description = ("Watermelon Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_watermelon.png",
|
||||
"cropocalypse_watermelon.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"cropocalypse_watermelon.png"
|
||||
},
|
||||
groups = {sf_watermelon_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:watermelon_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The Chairs
|
||||
-- Pumpkin Chair
|
||||
minetest.register_node("simple_furniture:pumpkin_chair", {
|
||||
description = ("Pumpkin Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_pumpkin.png"
|
||||
},
|
||||
groups = {sf_pumpkin_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pumpkin_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Watermelon Chair
|
||||
minetest.register_node("simple_furniture:watermelon_chair", {
|
||||
description = ("Watermelon Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_watermelon.png"
|
||||
},
|
||||
groups = {sf_watermelon_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:watermelon_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The Dining Tables
|
||||
-- Pumpkin Dining Table
|
||||
minetest.register_node("simple_furniture:pumpkin_dining_table", {
|
||||
description = ("Pumpkin Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_pumpkin_top.png",
|
||||
"cropocalypse_pumpkin.png",
|
||||
"cropocalypse_pumpkin.png"
|
||||
},
|
||||
groups = {sf_pumpkin_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pumpkin_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Watermelon Dining Table
|
||||
minetest.register_node("simple_furniture:watermelon_dining_table", {
|
||||
description = ("Watermelon Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_watermelon_top_bottom.png",
|
||||
"cropocalypse_watermelon.png",
|
||||
"cropocalypse_watermelon.png"
|
||||
},
|
||||
groups = {sf_watermelon_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:watermelon_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The End Tables
|
||||
-- Pumpkin End Table
|
||||
minetest.register_node("simple_furniture:pumpkin_end_table", {
|
||||
description = ("Pumpkin End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_pumpkin_top.png",
|
||||
"cropocalypse_pumpkin.png",
|
||||
"cropocalypse_pumpkin.png"
|
||||
},
|
||||
groups = {sf_pumpkin_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pumpkin_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Watermelon End Table
|
||||
minetest.register_node("simple_furniture:watermelon_end_table", {
|
||||
description = ("Watermelon End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"cropocalypse_watermelon_top_bottom.png",
|
||||
"cropocalypse_watermelon.png",
|
||||
"cropocalypse_watermelon.png"
|
||||
},
|
||||
groups = {sf_watermelon_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:watermelon_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Crafting Recipes For The Cropocalypse Furniture
|
||||
-- Pumpkin Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pumpkin_bench",
|
||||
recipe = {
|
||||
{"", "", "cropocalypse:pumpkin"},
|
||||
{"cropocalypse:pumpkin", "cropocalypse:pumpkin", "cropocalypse:pumpkin"},
|
||||
{"cropocalypse:pumpkin", "", "cropocalypse:pumpkin"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pumpkin Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pumpkin_cabinet",
|
||||
recipe = {
|
||||
{"cropocalypse:pumpkin", "cropocalypse:pumpkin", "cropocalypse:pumpkin"},
|
||||
{"doors:trapdoor", "cropocalypse:pumpkin", "doors:trapdoor"},
|
||||
{"cropocalypse:pumpkin", "cropocalypse:pumpkin", "cropocalypse:pumpkin"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pumpkin Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pumpkin_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"cropocalypse:pumpkin", "cropocalypse:pumpkin", "cropocalypse:pumpkin"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pumpkin Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pumpkin_dining_table",
|
||||
recipe = {
|
||||
{"cropocalypse:pumpkin", "cropocalypse:pumpkin", "cropocalypse:pumpkin"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "cropocalypse:pumpkin", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Pumpkin End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:pumpkin_end_table",
|
||||
recipe = {
|
||||
{"cropocalypse:pumpkin", "cropocalypse:pumpkin", "cropocalypse:pumpkin"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Watermelon Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:watermelon_bench",
|
||||
recipe = {
|
||||
{"", "", "cropocalypse:watermelon"},
|
||||
{"cropocalypse:watermelon", "cropocalypse:watermelon", "cropocalypse:watermelon"},
|
||||
{"cropocalypse:watermelon", "", "cropocalypse:watermelon"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Watermelon Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:watermelon_cabinet",
|
||||
recipe = {
|
||||
{"cropocalypse:watermelon", "cropocalypse:watermelon", "cropocalypse:watermelon"},
|
||||
{"doors:trapdoor", "cropocalypse:watermelon", "doors:trapdoor"},
|
||||
{"cropocalypse:watermelon", "cropocalypse:watermelon", "cropocalypse:watermelon"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Watermelon Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:watermelon_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"cropocalypse:watermelon", "cropocalypse:watermelon", "cropocalypse:watermelon"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Watermelon Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:watermelon_dining_table",
|
||||
recipe = {
|
||||
{"cropocalypse:watermelon", "cropocalypse:watermelon", "cropocalypse:watermelon"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "cropocalypse:watermelon", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Watermelon End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:watermelon_end_table",
|
||||
recipe = {
|
||||
{"cropocalypse:watermelon", "cropocalypse:watermelon", "cropocalypse:watermelon"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
524
mods/simple_furniture/sf_dining_tables.lua
Normal file
524
mods/simple_furniture/sf_dining_tables.lua
Normal file
|
@ -0,0 +1,524 @@
|
|||
-- simple_furniture/sf_dining_tables.lua
|
||||
|
||||
-- These Are The Nodes For The Dining Tables
|
||||
-- Apple Wood Dining Table
|
||||
minetest.register_node("simple_furniture:apple_wood_dining_table", {
|
||||
description = ("Apple Wood Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_wood.png"
|
||||
},
|
||||
groups = {sf_apple_wood_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:apple_wood_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Aspen Wood Dining Table
|
||||
minetest.register_node("simple_furniture:aspen_wood_dining_table", {
|
||||
description = ("Aspen Wood Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_aspen_wood.png"
|
||||
},
|
||||
groups = {sf_aspen_wood_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:aspen_wood_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Pine Wood Dining Table
|
||||
minetest.register_node("simple_furniture:pine_wood_dining_table", {
|
||||
description = ("Pine Wood Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_pine_wood.png"
|
||||
},
|
||||
groups = {sf_pine_wood_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pine_wood_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Jungle Wood Dining Table
|
||||
minetest.register_node("simple_furniture:jungle_wood_dining_table", {
|
||||
description = ("Jungle Wood Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_junglewood.png"
|
||||
},
|
||||
groups = {sf_jungle_wood_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:jungle_wood_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Acacia Wood Dining Table
|
||||
minetest.register_node("simple_furniture:acacia_wood_dining_table", {
|
||||
description = ("Acacia Wood Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_acacia_wood.png"
|
||||
},
|
||||
groups = {sf_acacia_wood_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:acacia_wood_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Stone Dining Table
|
||||
minetest.register_node("simple_furniture:stone_dining_table", {
|
||||
description = ("Stone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_stone.png"
|
||||
},
|
||||
groups = {sf_stone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:stone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Stone Dining Table
|
||||
minetest.register_node("simple_furniture:desert_stone_dining_table", {
|
||||
description = ("Desert Stone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_stone.png"
|
||||
},
|
||||
groups = {sf_desert_stone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_stone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Sandstone Dining Table
|
||||
minetest.register_node("simple_furniture:sandstone_dining_table", {
|
||||
description = ("Sandstone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_sandstone.png"
|
||||
},
|
||||
groups = {sf_sandstone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:sandstone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Sandstone Dining Table
|
||||
minetest.register_node("simple_furniture:desert_sandstone_dining_table", {
|
||||
description = ("Desert Sandstone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_sandstone.png"
|
||||
},
|
||||
groups = {sf_desert_sandstone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_sandstone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Silver Sandstone Dining Table
|
||||
minetest.register_node("simple_furniture:silver_sandstone_dining_table", {
|
||||
description = ("Silver Sandstone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_silver_sandstone.png"
|
||||
},
|
||||
groups = {sf_silver_sandstone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:silver_sandstone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Cobblestone Dining Table
|
||||
minetest.register_node("simple_furniture:cobblestone_dining_table", {
|
||||
description = ("Cobblestone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_cobble.png"
|
||||
},
|
||||
groups = {sf_cobblestone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:cobblestone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone Dining Table
|
||||
minetest.register_node("simple_furniture:mossy_cobblestone_dining_table", {
|
||||
description = ("Mossy Cobblestone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_mossycobble.png"
|
||||
},
|
||||
groups = {sf_mossy_cobblestone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:mossy_cobblestone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Cobblestone Dining Table
|
||||
minetest.register_node("simple_furniture:desert_cobblestone_dining_table", {
|
||||
description = ("Desert Cobblestone Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_cobble.png"
|
||||
},
|
||||
groups = {sf_desert_cobblestone_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_cobblestone_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Brick Dining Table
|
||||
minetest.register_node("simple_furniture:brick_dining_table", {
|
||||
description = ("Brick Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_brick.png"
|
||||
},
|
||||
groups = {sf_brick_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:brick_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Obsidian Dining Table
|
||||
minetest.register_node("simple_furniture:obsidian_dining_table", {
|
||||
description = ("Obsidian Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_obsidian.png"
|
||||
},
|
||||
groups = {sf_obsidian_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:obsidian_dining_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Snow Dining Table
|
||||
minetest.register_node("simple_furniture:snow_dining_table", {
|
||||
description = ("Snow Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_snow.png"
|
||||
},
|
||||
groups = {sf_snow_dining_table = 1, dining_table = 1, crumbly = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:snow_dining_table",
|
||||
sounds = default.node_sound_snow_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Ice Dining Table
|
||||
minetest.register_node("simple_furniture:ice_dining_table", {
|
||||
description = ("Ice Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_ice.png"
|
||||
},
|
||||
groups = {sf_ice_dining_table = 1, dining_table = 1, cracky = 3, oddly_breakable_by_hand = 2, cools_lava = 1, slippery = 3},
|
||||
drop = "simple_furniture:ice_dining_table",
|
||||
sounds = default.node_sound_ice_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Straw Dining Table
|
||||
minetest.register_node("simple_furniture:straw_dining_table", {
|
||||
description = ("Straw Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"farming_straw.png"
|
||||
},
|
||||
groups = {sf_straw_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:straw_dining_table",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
670
mods/simple_furniture/sf_dynamic_trees.lua
Normal file
670
mods/simple_furniture/sf_dynamic_trees.lua
Normal file
|
@ -0,0 +1,670 @@
|
|||
-- simple_furniture/sf_dynamic_trees.lua
|
||||
|
||||
-- These Are The Nodes For The Benches
|
||||
-- Bamboo Bundle Bench
|
||||
minetest.register_node("simple_furniture:bamboo_bundle_bench", {
|
||||
description = ("Bamboo Bundle Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_bundle_side.png"
|
||||
},
|
||||
groups = {sf_bamboo_bundle_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_bundle_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Bamboo Planks Bench
|
||||
minetest.register_node("simple_furniture:bamboo_planks_bench", {
|
||||
description = ("Bamboo Planks Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_planks.png"
|
||||
},
|
||||
groups = {sf_bamboo_planks_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_planks_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Dry Planks Bench
|
||||
minetest.register_node("simple_furniture:dry_planks_bench", {
|
||||
description = ("Dry Planks Bench"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.3125, -0.25, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.3125, -0.25, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.3125, 0.25, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.3125, 0.25, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.5, -0.0625, -0.375, 0.5, 0, 0.375},
|
||||
{-0.5, -0.125, -0.3125, 0.5, -0.0625, -0.4375},
|
||||
{-0.5, -0.125, 0.3125, 0.5, -0.0625, 0.4375},
|
||||
-- This Is The Backrest Post
|
||||
{0.0625, 0, 0.375, -0.0625, 0.375, 0.3125},
|
||||
-- This Is The Backrest
|
||||
{-0.5, 0.1875, 0.3125, 0.5, 0.4375, 0.25},
|
||||
{-0.5, 0.375, 0.375, 0.5, 0.5, 0.3125},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_dry_planks.png"
|
||||
},
|
||||
groups = {sf_dry_planks_bench = 1, bench = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:dry_planks_bench",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The Cabinets
|
||||
-- Bamboo Bundle Cabinet
|
||||
minetest.register_node("simple_furniture:bamboo_bundle_cabinet", {
|
||||
description = ("Bamboo Bundle Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_bundle_side.png",
|
||||
"dt_bamboo_bundle_side.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"dt_bamboo_bundle_side.png"
|
||||
},
|
||||
groups = {sf_bamboo_bundle_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_bundle_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Bamboo Planks Cabinet
|
||||
minetest.register_node("simple_furniture:bamboo_planks_cabinet", {
|
||||
description = ("Bamboo Planks Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_planks.png",
|
||||
"dt_bamboo_planks.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"dt_bamboo_planks.png"
|
||||
},
|
||||
groups = {sf_bamboo_planks_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_planks_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Dry Planks Cabinet
|
||||
minetest.register_node("simple_furniture:dry_planks_cabinet", {
|
||||
description = ("Dry Planks Cabinet"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Base Of The Cabinet
|
||||
{0.5, -0.5, 0.5, -0.5, -0.4375, -0.375},
|
||||
-- These Are The Sides Of The Cabinet
|
||||
{0.5, -0.4375, 0.5, 0.4375, 0.4375, -0.375},
|
||||
{-0.5, -0.4375, 0.5, -0.4375, 0.4375, -0.375},
|
||||
{0.4375, -0.4375, 0.5, -0.4375, 0.4375, 0.4375},
|
||||
{0.4375, -0.4375, -0.3125, -0.4375, 0.4375, -0.375},
|
||||
-- These Are The Doors To The Cabinet
|
||||
{0.4375, -0.4375, -0.375, 0.0625, 0.375, -0.4375},
|
||||
{-0.4375, -0.4375, -0.375, -0.0625, 0.375, -0.4375},
|
||||
-- This Is The Cabinet Top
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_dry_planks.png",
|
||||
"dt_dry_planks.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_top.png",
|
||||
"default_chest_side.png",
|
||||
"dt_dry_planks.png"
|
||||
},
|
||||
groups = {sf_dry_planks_cabinet = 1, cabinet = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:dry_planks_cabinet",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The Chairs
|
||||
-- Bamboo Bundle Chair
|
||||
minetest.register_node("simple_furniture:bamboo_bundle_chair", {
|
||||
description = ("Bamboo Bundle Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_bundle_side.png"
|
||||
},
|
||||
groups = {sf_bamboo_bundle_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_bundle_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Bamboo Planks Chair
|
||||
minetest.register_node("simple_furniture:bamboo_planks_chair", {
|
||||
description = ("Bamboo Planks Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_planks.png"
|
||||
},
|
||||
groups = {sf_bamboo_planks_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_planks_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Dry Planks Chair
|
||||
minetest.register_node("simple_furniture:dry_planks_chair", {
|
||||
description = ("Dry Planks Chair"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.25},
|
||||
{-0.375, -0.5, 0.375, -0.3125, -0.0625, 0.25},
|
||||
{0.375, -0.5, -0.375, 0.3125, -0.0625, -0.25},
|
||||
{0.375, -0.5, 0.375, 0.3125, -0.0625, 0.25},
|
||||
-- This Is The Seat
|
||||
{-0.375, -0.0625, -0.375, 0.375, 0, 0.375},
|
||||
-- These Are The Backrest Posts
|
||||
{-0.375, 0, 0.375, -0.3125, 0.5, 0.25},
|
||||
{0.375, 0, 0.375, 0.3125, 0.5, 0.25},
|
||||
-- This Is The Backrest
|
||||
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.25},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_dry_planks.png"
|
||||
},
|
||||
groups = {sf_dry_planks_chair = 1, chair = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:dry_planks_chair",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The Dining Tables
|
||||
-- Bamboo Bundle Dining Table
|
||||
minetest.register_node("simple_furniture:bamboo_bundle_dining_table", {
|
||||
description = ("Bamboo Bundle Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_bundle_side.png"
|
||||
},
|
||||
groups = {sf_bamboo_bundle_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_bundle_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Bamboo Planks Dining Table
|
||||
minetest.register_node("simple_furniture:bamboo_planks_dining_table", {
|
||||
description = ("Bamboo Planks Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_planks.png"
|
||||
},
|
||||
groups = {sf_bamboo_planks_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_planks_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Dry Planks Dining Table
|
||||
minetest.register_node("simple_furniture:dry_planks_dining_table", {
|
||||
description = ("Dry Planks Dining Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- This Is The Pedestal
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, 0.375, 0.0625},
|
||||
{-0.125, -0.4375, -0.125, 0.125, -0.375, 0.125},
|
||||
{-0.1875, -0.5, -0.1875, 0.1875, -0.4375, 0.1875},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_dry_planks.png"
|
||||
},
|
||||
groups = {sf_dry_planks_dining_table = 1, dining_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:dry_planks_dining_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Nodes For The End Tables
|
||||
-- Bamboo Bundle End Table
|
||||
minetest.register_node("simple_furniture:bamboo_bundle_end_table", {
|
||||
description = ("Bamboo Bundle End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_bundle_side.png"
|
||||
},
|
||||
groups = {sf_bamboo_bundle_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_bundle_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Bamboo Planks End Table
|
||||
minetest.register_node("simple_furniture:bamboo_planks_end_table", {
|
||||
description = ("Bamboo Planks End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_bamboo_planks.png"
|
||||
},
|
||||
groups = {sf_bamboo_planks_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:bamboo_planks_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Dry Planks End Table
|
||||
minetest.register_node("simple_furniture:dry_planks_end_table", {
|
||||
description = ("Dry Planks End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"dt_dry_planks.png"
|
||||
},
|
||||
groups = {sf_dry_planks_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:dry_planks_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- These Are The Crafting Recipes For The Dynamic Trees Furniture
|
||||
-- Bamboo Bundle Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_bundle_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_bamboo_bundle"},
|
||||
{"stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle"},
|
||||
{"stairs:slab_bamboo_bundle", "", "stairs:slab_bamboo_bundle"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Bundle Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_bundle_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle"},
|
||||
{"doors:trapdoor", "stairs:slab_bamboo_bundle", "doors:trapdoor"},
|
||||
{"stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Bundle Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_bundle_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Bundle Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_bundle_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_bamboo_bundle", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Bundle End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_bundle_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle", "stairs:slab_bamboo_bundle"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Planks Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_planks_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_bamboo_planks"},
|
||||
{"stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks"},
|
||||
{"stairs:slab_bamboo_planks", "", "stairs:slab_bamboo_planks"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Planks Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_planks_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks"},
|
||||
{"doors:trapdoor", "stairs:slab_bamboo_planks", "doors:trapdoor"},
|
||||
{"stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Planks Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_planks_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Planks Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_planks_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_bamboo_planks", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Bamboo Planks End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:bamboo_planks_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks", "stairs:slab_bamboo_planks"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Dry Planks Bench
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:dry_planks_bench",
|
||||
recipe = {
|
||||
{"", "", "stairs:slab_dry_planks"},
|
||||
{"stairs:slab_dry_planks", "stairs:slab_dry_planks", "stairs:slab_dry_planks"},
|
||||
{"stairs:slab_dry_planks", "", "stairs:slab_dry_planks"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Dry Planks Cabinet
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:dry_planks_cabinet",
|
||||
recipe = {
|
||||
{"stairs:slab_dry_planks", "stairs:slab_dry_planks", "stairs:slab_dry_planks"},
|
||||
{"doors:trapdoor", "stairs:slab_dry_planks", "doors:trapdoor"},
|
||||
{"stairs:slab_dry_planks", "stairs:slab_dry_planks", "stairs:slab_dry_planks"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Dry Planks Chair
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:dry_planks_chair",
|
||||
recipe = {
|
||||
{"", "", "default:stick"},
|
||||
{"stairs:slab_dry_planks", "stairs:slab_dry_planks", "stairs:slab_dry_planks"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Dry Planks Dining Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:dry_planks_dining_table",
|
||||
recipe = {
|
||||
{"stairs:slab_dry_planks", "stairs:slab_dry_planks", "stairs:slab_dry_planks"},
|
||||
{"", "default:stick", ""},
|
||||
{"", "stairs:slab_dry_planks", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- Dry Planks End Table
|
||||
minetest.register_craft({
|
||||
output = "simple_furniture:dry_planks_end_table",
|
||||
recipe = {
|
||||
{"stairs:slab_dry_planks", "stairs:slab_dry_planks", "stairs:slab_dry_planks"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
{"default:stick", "", "default:stick"},
|
||||
}
|
||||
})
|
596
mods/simple_furniture/sf_end_tables.lua
Normal file
596
mods/simple_furniture/sf_end_tables.lua
Normal file
|
@ -0,0 +1,596 @@
|
|||
-- simple_furniture/sf_end_tables.lua
|
||||
|
||||
-- These Are The Nodes For The End Tables
|
||||
-- Apple Wood End Table
|
||||
minetest.register_node("simple_furniture:apple_wood_end_table", {
|
||||
description = ("Apple Wood End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_wood.png"
|
||||
},
|
||||
groups = {sf_apple_wood_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:apple_wood_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Aspen Wood End Table
|
||||
minetest.register_node("simple_furniture:aspen_wood_end_table", {
|
||||
description = ("Aspen Wood End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_aspen_wood.png"
|
||||
},
|
||||
groups = {sf_aspen_wood_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:aspen_wood_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Pine Wood End Table
|
||||
minetest.register_node("simple_furniture:pine_wood_end_table", {
|
||||
description = ("Pine Wood End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_pine_wood.png"
|
||||
},
|
||||
groups = {sf_pine_wood_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:pine_wood_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Jungle Wood End Table
|
||||
minetest.register_node("simple_furniture:jungle_wood_end_table", {
|
||||
description = ("Jungle Wood End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_junglewood.png"
|
||||
},
|
||||
groups = {sf_jungle_wood_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:jungle_wood_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Acacia Wood End Table
|
||||
minetest.register_node("simple_furniture:acacia_wood_end_table", {
|
||||
description = ("Acacia Wood End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_acacia_wood.png"
|
||||
},
|
||||
groups = {sf_acacia_wood_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:acacia_wood_end_table",
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Stone End Table
|
||||
minetest.register_node("simple_furniture:stone_end_table", {
|
||||
description = ("Stone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_stone.png"
|
||||
},
|
||||
groups = {sf_stone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:stone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Stone End Table
|
||||
minetest.register_node("simple_furniture:desert_stone_end_table", {
|
||||
description = ("Desert Stone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_stone.png"
|
||||
},
|
||||
groups = {sf_desert_stone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_stone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Sandstone End Table
|
||||
minetest.register_node("simple_furniture:sandstone_end_table", {
|
||||
description = ("Sandstone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_sandstone.png"
|
||||
},
|
||||
groups = {sf_sandstone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:sandstone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Sandstone End Table
|
||||
minetest.register_node("simple_furniture:desert_sandstone_end_table", {
|
||||
description = ("Desert Sandstone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_sandstone.png"
|
||||
},
|
||||
groups = {sf_desert_sandstone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_sandstone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Silver Sandstone End Table
|
||||
minetest.register_node("simple_furniture:silver_sandstone_end_table", {
|
||||
description = ("Silver Sandstone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_silver_sandstone.png"
|
||||
},
|
||||
groups = {sf_silver_sandstone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:silver_sandstone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Cobblestone End Table
|
||||
minetest.register_node("simple_furniture:cobblestone_end_table", {
|
||||
description = ("Cobblestone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_cobble.png"
|
||||
},
|
||||
groups = {sf_cobblestone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:cobblestone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Mossy Cobblestone End Table
|
||||
minetest.register_node("simple_furniture:mossy_cobblestone_end_table", {
|
||||
description = ("Mossy Cobblestone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_mossycobble.png"
|
||||
},
|
||||
groups = {sf_mossy_cobblestone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:mossy_cobblestone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Desert Cobblestone End Table
|
||||
minetest.register_node("simple_furniture:desert_cobblestone_end_table", {
|
||||
description = ("Desert Cobblestone End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_desert_cobble.png"
|
||||
},
|
||||
groups = {sf_desert_cobblestone_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:desert_cobblestone_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Brick End Table
|
||||
minetest.register_node("simple_furniture:brick_end_table", {
|
||||
description = ("Brick End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_brick.png"
|
||||
},
|
||||
groups = {sf_brick_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:brick_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Obsidian End Table
|
||||
minetest.register_node("simple_furniture:obsidian_end_table", {
|
||||
description = ("Obsidian End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_obsidian.png"
|
||||
},
|
||||
groups = {sf_obsidian_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:obsidian_end_table",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Snow End Table
|
||||
minetest.register_node("simple_furniture:snow_end_table", {
|
||||
description = ("Snow End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_snow.png"
|
||||
},
|
||||
groups = {sf_snow_end_table = 1, end_table = 1, crumbly = 3, oddly_breakable_by_hand = 2},
|
||||
drop = "simple_furniture:snow_end_table",
|
||||
sounds = default.node_sound_snow_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Ice End Table
|
||||
minetest.register_node("simple_furniture:ice_end_table", {
|
||||
description = ("Ice End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"default_ice.png"
|
||||
},
|
||||
groups = {sf_ice_end_table = 1, end_table = 1, cracky = 3, oddly_breakable_by_hand = 2, cools_lava = 1, slippery = 3},
|
||||
drop = "simple_furniture:ice_end_table",
|
||||
sounds = default.node_sound_ice_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
||||
|
||||
-- Straw End Table
|
||||
minetest.register_node("simple_furniture:straw_end_table", {
|
||||
description = ("Straw End Table"),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
-- These Are The Legs
|
||||
{-0.375, -0.5, -0.375, -0.25, 0.375, -0.3125},
|
||||
{-0.375, -0.5, 0.375, -0.25, 0.375, 0.3125},
|
||||
{0.375, -0.5, -0.375, 0.25, 0.375, -0.3125},
|
||||
{0.375, -0.5, 0.375, 0.25, 0.375, 0.3125},
|
||||
-- These Are The Stretchers
|
||||
{-0.3125, -0.25, 0.3125, -0.25, -0.1875, -0.3125},
|
||||
{0.3125, -0.25, 0.3125, 0.25, -0.1875, -0.3125},
|
||||
-- This Is The Table Top
|
||||
{-0.4375, 0.375, -0.4375, 0.4375, 0.4375, 0.4375},
|
||||
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
},
|
||||
tiles = {
|
||||
"farming_straw.png"
|
||||
},
|
||||
groups = {sf_straw_end_table = 1, end_table = 1, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
drop = "simple_furniture:straw_end_table",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue