2012-07-12 23:56:15 +02:00
|
|
|
-- Home Decor mod by VanessaE
|
Various changes
Recipe changes:
Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice. Increased recipe outputs.
Small square glass table now comes from one small round table (instead of
three-to-two). Large square glass comes from one small square insted of two. Small round, small square, and large wooden tables follow the same pattern.
All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes. All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.
All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid. Any such craft yields 4 sticks, so there's no waste.
Other changes:
3d-ified nightstands, improved their textures somewhat.
New nodes:
* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors: red, green, blue, purple, pink, white
Notes:
This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 07:51:59 +02:00
|
|
|
-- 2012-09-30
|
2012-07-12 23:56:15 +02:00
|
|
|
--
|
|
|
|
-- Mostly my own code, with bits and pieces lifted from Minetest's default
|
Various changes
Recipe changes:
Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice. Increased recipe outputs.
Small square glass table now comes from one small round table (instead of
three-to-two). Large square glass comes from one small square insted of two. Small round, small square, and large wooden tables follow the same pattern.
All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes. All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.
All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid. Any such craft yields 4 sticks, so there's no waste.
Other changes:
3d-ified nightstands, improved their textures somewhat.
New nodes:
* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors: red, green, blue, purple, pink, white
Notes:
This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 07:51:59 +02:00
|
|
|
-- lua files and from ironzorg's flowers mod. Many thanks to GloopMaster
|
|
|
|
-- for helping me figure out the inventories used in the nightstands/dressers.
|
2012-07-12 23:56:15 +02:00
|
|
|
--
|
Various changes
Recipe changes:
Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice. Increased recipe outputs.
Small square glass table now comes from one small round table (instead of
three-to-two). Large square glass comes from one small square insted of two. Small round, small square, and large wooden tables follow the same pattern.
All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes. All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.
All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid. Any such craft yields 4 sticks, so there's no waste.
Other changes:
3d-ified nightstands, improved their textures somewhat.
New nodes:
* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors: red, green, blue, purple, pink, white
Notes:
This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 07:51:59 +02:00
|
|
|
-- The code for ovens, nightstands, refrigerators are basically modified
|
|
|
|
-- copies of the code for chests and furnaces.
|
2012-07-12 23:56:15 +02:00
|
|
|
--
|
Various changes
Recipe changes:
Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice. Increased recipe outputs.
Small square glass table now comes from one small round table (instead of
three-to-two). Large square glass comes from one small square insted of two. Small round, small square, and large wooden tables follow the same pattern.
All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes. All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.
All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid. Any such craft yields 4 sticks, so there's no waste.
Other changes:
3d-ified nightstands, improved their textures somewhat.
New nodes:
* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors: red, green, blue, purple, pink, white
Notes:
This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 07:51:59 +02:00
|
|
|
-- License: LGPL
|
2012-07-12 23:56:15 +02:00
|
|
|
--
|
|
|
|
|
2012-10-06 02:41:39 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_wood_plain.lua")
|
2012-10-04 13:24:36 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_glass.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_glass_and_wood.lua")
|
2012-10-05 09:35:18 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_glass_and_wood_mahogany.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_glass_and_wood_white.lua")
|
2012-10-04 13:24:36 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_exterior_fancy.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_closet_oak.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/door_closet_mahogany.lua")
|
|
|
|
|
2012-10-02 01:22:54 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/lighting.lua")
|
2012-09-30 23:05:46 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/fences.lua")
|
Various changes
Recipe changes:
Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice. Increased recipe outputs.
Small square glass table now comes from one small round table (instead of
three-to-two). Large square glass comes from one small square insted of two. Small round, small square, and large wooden tables follow the same pattern.
All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes. All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.
All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid. Any such craft yields 4 sticks, so there's no waste.
Other changes:
3d-ified nightstands, improved their textures somewhat.
New nodes:
* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors: red, green, blue, purple, pink, white
Notes:
This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 07:51:59 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/kitchen_cabinet.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/refrigerator.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/oven.lua")
|
|
|
|
dofile(minetest.get_modpath("homedecor").."/nightstands.lua")
|
2012-09-26 00:33:25 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/television.lua")
|
2012-10-04 13:24:36 +02:00
|
|
|
|
2012-07-12 23:56:15 +02:00
|
|
|
dofile(minetest.get_modpath("homedecor").."/crafts.lua")
|
|
|
|
|
2012-07-31 17:37:24 +02:00
|
|
|
local DEBUG = 0
|
2012-07-12 23:56:15 +02:00
|
|
|
|
|
|
|
-- Local Functions
|
|
|
|
|
|
|
|
local dbg = function(s)
|
|
|
|
if DEBUG == 1 then
|
|
|
|
print('[HomeDecor] ' .. s)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Nodes
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shingles_wood', {
|
|
|
|
description = "Wood Shingles",
|
|
|
|
drawtype = 'raillike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_shingles_wood.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_shingles_wood.png',
|
|
|
|
inventory_image = 'homedecor_shingles_wood.png',
|
|
|
|
paramtype = 'light',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:skylight', {
|
|
|
|
description = "Glass Skylight",
|
|
|
|
drawtype = 'raillike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'default_glass.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'default_glass.png',
|
|
|
|
inventory_image = 'default_glass.png',
|
|
|
|
paramtype = 'light',
|
|
|
|
sunlight_propagates = true,
|
2012-09-01 18:19:38 +02:00
|
|
|
walkable = true,
|
2012-07-12 23:56:15 +02:00
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shingles_asphalt', {
|
|
|
|
description = "Asphalt Shingles",
|
|
|
|
drawtype = 'raillike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_shingles_asphalt.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_shingles_asphalt.png',
|
|
|
|
inventory_image = 'homedecor_shingles_asphalt.png',
|
|
|
|
paramtype = 'light',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shingles_terracotta', {
|
|
|
|
description = "Terracotta Roofing",
|
|
|
|
drawtype = 'raillike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_shingles_terracotta.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_shingles_terracotta.png',
|
|
|
|
inventory_image = 'homedecor_shingles_terracotta.png',
|
|
|
|
paramtype = 'light',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
drop = 'homedecor:roof_tile_terracotta 4',
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:projection_screen', {
|
|
|
|
description = "Projection Screen Material",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_projection_screen.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_projection_screen_inv.png',
|
|
|
|
inventory_image = 'homedecor_projection_screen_inv.png',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = 'light',
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:ceiling_paint', {
|
|
|
|
description = "Textured Ceiling Paint",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_ceiling_paint.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_ceiling_paint_roller.png',
|
|
|
|
wield_image = 'homedecor_ceiling_paint_roller.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:ceiling_tile', {
|
|
|
|
description = "Drop-Ceiling Tile",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_ceiling_tile.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_ceiling_tile.png',
|
|
|
|
inventory_image = 'homedecor_ceiling_tile.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:rug_small', {
|
|
|
|
description = "Small Throw Rug",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_rug_small.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_rug_small.png',
|
|
|
|
inventory_image = 'homedecor_rug_small.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:rug_large', {
|
|
|
|
description = "Large Area Rug",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_rug_large.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_rug_large.png',
|
|
|
|
inventory_image = 'homedecor_rug_large.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:glass_table_large', {
|
|
|
|
description = "Large Glass Table Piece",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_glass_table_large.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_glass_table_large.png',
|
|
|
|
inventory_image = 'homedecor_glass_table_large.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:glass_table_small_round', {
|
|
|
|
description = "Glass Table (Small, Round)",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_glass_table_small_round.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_glass_table_small_round.png',
|
|
|
|
inventory_image = 'homedecor_glass_table_small_round.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:glass_table_small_square', {
|
|
|
|
description = "Glass Table (Small, Square)",
|
|
|
|
drawtype = 'signlike',
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_glass_table_small_square.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
wield_image = 'homedecor_glass_table_small_square.png',
|
|
|
|
inventory_image = 'homedecor_glass_table_small_square.png',
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = 'light',
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("homedecor:table_legs_brass", {
|
|
|
|
description = "Brass Table Legs",
|
|
|
|
drawtype = "plantlike",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = {"homedecor_table_legs_brass.png"},
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = "homedecor_table_legs_brass.png",
|
|
|
|
wield_image = "homedecor_table_legs_brass.png",
|
|
|
|
visual_scale = 1.04,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
groups = {snappy=3},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
walkable = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("homedecor:table_legs_wrought_iron", {
|
|
|
|
description = "Brass Table Legs",
|
|
|
|
drawtype = "plantlike",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = {"homedecor_table_legs_wrought_iron.png"},
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = "homedecor_table_legs_wrought_iron.png",
|
|
|
|
wield_image = "homedecor_table_legs_wrought_iron.png",
|
|
|
|
visual_scale = 1.04,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
groups = {snappy=3},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
walkable = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:stereo', {
|
|
|
|
description = "Stereo Receiver",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_stereo_top.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_stereo_bottom.png',
|
|
|
|
'homedecor_stereo_right.png',
|
2012-07-28 09:28:14 +02:00
|
|
|
'homedecor_stereo_left.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_stereo_back.png',
|
|
|
|
'homedecor_stereo_front.png'},
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:utility_table_top', {
|
|
|
|
description = "Utility Table",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_utility_table_top.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_utility_table_top.png',
|
|
|
|
wield_image = 'homedecor_utility_table_top.png',
|
|
|
|
drawtype = "signlike",
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:utility_table_legs', {
|
|
|
|
description = "Legs for Utility Table",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_utility_table_legs.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_utility_table_legs_inv.png',
|
|
|
|
wield_image = 'homedecor_utility_table_legs.png',
|
|
|
|
visual_scale = 1.04,
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
drawtype = "plantlike",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:flower_pot_terracotta', {
|
|
|
|
description = "Terracotta Flower Pot",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_flower_pot_terracotta_top.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_flower_pot_terracotta_bottom.png',
|
|
|
|
'homedecor_flower_pot_terracotta_sides.png',
|
|
|
|
'homedecor_flower_pot_terracotta_sides.png',
|
|
|
|
'homedecor_flower_pot_terracotta_sides.png',
|
|
|
|
'homedecor_flower_pot_terracotta_sides.png'},
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:flower_pot_black', {
|
|
|
|
description = "Black Plastic Flower Pot",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_flower_pot_black_top.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_flower_pot_black_bottom.png',
|
|
|
|
'homedecor_flower_pot_black_sides.png',
|
|
|
|
'homedecor_flower_pot_black_sides.png',
|
|
|
|
'homedecor_flower_pot_black_sides.png',
|
|
|
|
'homedecor_flower_pot_black_sides.png'},
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:flower_pot_green', {
|
|
|
|
description = "Green Plastic Flower Pot",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_flower_pot_green_top.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_flower_pot_green_bottom.png',
|
|
|
|
'homedecor_flower_pot_green_sides.png',
|
|
|
|
'homedecor_flower_pot_green_sides.png',
|
|
|
|
'homedecor_flower_pot_green_sides.png',
|
|
|
|
'homedecor_flower_pot_green_sides.png'},
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:wood_table_large', {
|
|
|
|
description = "Wooden Tabletop piece",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_wood_table_large.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_wood_table_large.png',
|
|
|
|
wield_image = 'homedecor_wood_table_large.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:wood_table_small_round', {
|
|
|
|
description = "Wooden Tabletop (Small, Round)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_wood_table_small_round.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_wood_table_small_round.png',
|
|
|
|
wield_image = 'homedecor_wood_table_small_round.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:wood_table_small_square', {
|
|
|
|
description = "Wooden Tabletop (Small, Square)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_wood_table_small_square.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_wood_table_small_square.png',
|
|
|
|
wield_image = 'homedecor_wood_table_small_square.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_top = <default>
|
|
|
|
--wall_bottom = <default>
|
|
|
|
--wall_side = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_black', {
|
|
|
|
description = "Wooden Shutter (Black)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_black.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_black.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_black.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_mahogany', {
|
|
|
|
description = "Wooden Shutter (Unpainted Mahogany)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_mahogany.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_mahogany.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_mahogany.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_oak', {
|
|
|
|
description = "Wooden Shutter (Unpainted Oak)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_oak.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_oak.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_oak.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_dark_grey', {
|
|
|
|
description = "Wooden Shutter (Dark Grey)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_dark_grey.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_dark_grey.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_dark_grey.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_forest_green', {
|
|
|
|
description = "Wooden Shutter (Forest Green)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_forest_green.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_forest_green.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_forest_green.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_grey', {
|
|
|
|
description = "Wooden Shutter (Grey)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_grey.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_grey.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_grey.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_light_blue', {
|
|
|
|
description = "Wooden Shutter (Light Blue)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_light_blue.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_light_blue.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_light_blue.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_purple', {
|
|
|
|
description = "Wooden Shutter (Purple)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_purple.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_purple.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_purple.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_red', {
|
|
|
|
description = "Wooden Shutter (Red)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_red.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_red.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_red.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_white', {
|
|
|
|
description = "Wooden Shutter (White)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_white.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_white.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_white.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:shutter_yellow', {
|
|
|
|
description = "Wooden Shutter (Yellow)",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_window_shutter_yellow.png' },
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = 'homedecor_window_shutter_yellow.png',
|
|
|
|
wield_image = 'homedecor_window_shutter_yellow.png',
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:utilitytable2', {
|
|
|
|
description = "Utility table mk2",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_utility_table_top.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_blanktile.png',
|
|
|
|
'homedecor_utility_table_legs.png',
|
|
|
|
'homedecor_utility_table_legs.png',
|
|
|
|
'homedecor_utility_table_legs.png',
|
|
|
|
'homedecor_utility_table_legs.png'},
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
-- cylinder-shaped objects courtesy Jeija
|
|
|
|
|
|
|
|
local cylbox = {}
|
|
|
|
local detail = 50
|
|
|
|
local sehne
|
|
|
|
local size = 0.2
|
|
|
|
|
|
|
|
for i = 1, detail-1 do
|
|
|
|
sehne = math.sqrt(0.25 - (((i/detail)-0.5)^2))
|
|
|
|
cylbox[i]={((i/detail)-0.5)*size, -0.5, -sehne*size, ((i/detail)+(1/detail)-0.5)*size, 0.5, sehne*size}
|
|
|
|
end
|
|
|
|
|
|
|
|
minetest.register_node("homedecor:pole_brass", {
|
|
|
|
description = "Brass Pole",
|
|
|
|
drawtype = "nodebox",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = {"homedecor_tile_brass2.png"},
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = "homedecor_pole_brass2.png",
|
|
|
|
wield_image = "homedecor_pole_brass2.png",
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-size/2, -0.5, -size/2, size/2, 0.5, size/2},
|
|
|
|
},
|
|
|
|
groups = {snappy=3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
walkable = true,
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = cylbox,
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("homedecor:pole_wrought_iron", {
|
|
|
|
description = "Wrought Iron Pole",
|
|
|
|
drawtype = "nodebox",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = {"homedecor_tile_wrought_iron2.png"},
|
2012-07-12 23:56:15 +02:00
|
|
|
inventory_image = "homedecor_pole_wrought_iron.png",
|
|
|
|
wield_image = "homedecor_pole_wrought_iron.png",
|
|
|
|
paramtype = "light",
|
|
|
|
is_ground_content = true,
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.0625, -0.5, -0.0625, 0.0625, 0.5, 0.0625}
|
|
|
|
},
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {-0.0625, -0.5, -0.0625, 0.0625, 0.5, 0.0625}
|
|
|
|
},
|
|
|
|
groups = {snappy=3},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
walkable = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:speaker', {
|
|
|
|
description = "Large Stereo Speaker",
|
2012-07-28 09:28:14 +02:00
|
|
|
tiles = { 'homedecor_speaker_top.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_speaker_bottom.png',
|
|
|
|
'homedecor_speaker_right.png',
|
2012-07-28 09:28:14 +02:00
|
|
|
'homedecor_speaker_left.png',
|
2012-07-12 23:56:15 +02:00
|
|
|
'homedecor_speaker_back.png',
|
|
|
|
'homedecor_speaker_front.png'},
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node('homedecor:speaker_small', {
|
|
|
|
description = "Small Surround Speaker",
|
|
|
|
drawtype = "nodebox",
|
2012-10-02 01:22:54 +02:00
|
|
|
tiles = {
|
|
|
|
'homedecor_speaker_top.png',
|
|
|
|
'homedecor_speaker_bottom.png',
|
|
|
|
'homedecor_speaker_right.png',
|
|
|
|
'homedecor_speaker_left.png',
|
|
|
|
'homedecor_speaker_back.png',
|
|
|
|
'homedecor_speaker_front.png'
|
|
|
|
},
|
2012-07-12 23:56:15 +02:00
|
|
|
selection_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.2, -0.5, 0, 0.2, 0, 0.4 }
|
|
|
|
},
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.2, -0.5, 0, 0.2, 0, 0.4 }
|
|
|
|
},
|
|
|
|
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
Various changes
Recipe changes:
Brass and wrought iron poles, table legs, and fences/railings were too
expensive in practice. Increased recipe outputs.
Small square glass table now comes from one small round table (instead of
three-to-two). Large square glass comes from one small square insted of two. Small round, small square, and large wooden tables follow the same pattern.
All glass tables can be recycled back into glass blocks via the Vessels mod's
recipes. All are 3:1 with glass fragments (and thus, 3:1 with glass blocks),
so there's no glass wasted.
All wooden tables can be crafted into sticks by putting three of a given item
onto the crafting grid. Any such craft yields 4 sticks, so there's no waste.
Other changes:
3d-ified nightstands, improved their textures somewhat.
New nodes:
* Added working oven (really just a furnace with new textures)
* Added mini-fridge that stores 24 slots
* Added kitchen cabinet that stores 24 slots
* Added half-size kitchen cabinet that stores 12 slots (6x2)
* Added kitchen sink with under-sink cabinet that stores 16 slots.
* Added slab-sized and half-slab-sized glowlights (e.g. ceiling fixtures)
* Added curtains in 6 colors: red, green, blue, purple, pink, white
Notes:
This mod now requires Moreblocks for some recipes - namely fridge and oven.
2012-09-30 07:51:59 +02:00
|
|
|
--
|
|
|
|
|
|
|
|
local curtaincolors = {
|
|
|
|
"red",
|
|
|
|
"green",
|
|
|
|
"blue",
|
|
|
|
"white",
|
|
|
|
"pink",
|
|
|
|
"violet"
|
|
|
|
}
|
|
|
|
|
|
|
|
for c in ipairs(curtaincolors) do
|
|
|
|
local color = curtaincolors[c]
|
|
|
|
|
|
|
|
minetest.register_node("homedecor:curtain_"..color, {
|
|
|
|
description = "Curtains ("..color..")",
|
|
|
|
tiles = { "homedecor_curtain_"..color..".png" },
|
|
|
|
inventory_image = "homedecor_curtain_"..color..".png",
|
|
|
|
wield_image = "homedecor_curtain_"..color..".png",
|
|
|
|
drawtype = 'signlike',
|
|
|
|
sunlight_propagates = false,
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
paramtype2 = 'wallmounted',
|
|
|
|
selection_box = {
|
|
|
|
type = "wallmounted",
|
|
|
|
--wall_side = = <default>
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
end
|
|
|
|
|
2012-07-12 23:56:15 +02:00
|
|
|
print("[HomeDecor] Loaded!")
|