update homedecor
|
@ -1 +0,0 @@
|
|||
*~
|
|
@ -1,5 +1,9 @@
|
|||
Changelog
|
||||
---------
|
||||
2012-09-25: Added alternate recipes for most items that use dyes. Removed
|
||||
Mesecons dependency from TV and stereo (uses in-built silicon lumps if Mesecons
|
||||
isn't present). Replaced speakers' Mesecons Noteblocks with copper ingots from
|
||||
Moreores.
|
||||
|
||||
2012-08-01: Added optional recipes for items that use wool to also use cotton
|
||||
instead. Choose one or the other in any given recipe (you can't mix the two).
|
||||
|
|
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 28 KiB |
|
@ -46,7 +46,13 @@ minetest.register_craftitem("homedecor:plastic_sheeting", {
|
|||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "homedecor:plastic_sheeting",
|
||||
recipe = "default:junglegrass 2",
|
||||
recipe = "default:junglegrass",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "homedecor:plastic_sheeting",
|
||||
recipe = "default:dry_shrub",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -66,6 +72,17 @@ minetest.register_craft( {
|
|||
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:flower_pot_green',
|
||||
recipe = {
|
||||
{ 'default:leaves', '', 'default:leaves' },
|
||||
{ 'homedecor:plastic_sheeting', 'default:dirt', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
},
|
||||
replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, },
|
||||
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:flower_pot_black',
|
||||
recipe = {
|
||||
|
@ -80,6 +97,14 @@ minetest.register_craft( {
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:flower_pot_black',
|
||||
recipe = {
|
||||
{ 'default:coal_lump', 'default:coal_lump', 'default:coal_lump' },
|
||||
{ 'homedecor:plastic_sheeting', 'default:dirt', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
},
|
||||
})
|
||||
--
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -165,8 +190,24 @@ minetest.register_craft( {
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:shingles_asphalt 6',
|
||||
recipe = {
|
||||
{ 'default:dirt', 'default:coal_lump', 'default:dirt' },
|
||||
{ 'default:sand', 'default:coal_lump', 'default:sand' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
},
|
||||
})
|
||||
--
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:shingles_wood 12',
|
||||
recipe = {
|
||||
{ 'default:stick', 'default:wood'},
|
||||
{ 'default:wood', 'default:stick'},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:shingles_wood 12',
|
||||
recipe = {
|
||||
|
@ -289,6 +330,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:black', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_black',
|
||||
recipe = {
|
||||
'default:coal_lump',
|
||||
'default:coal_lump',
|
||||
'homedecor:shutter_oak'
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_black',
|
||||
|
@ -313,7 +364,6 @@ minetest.register_craft({
|
|||
burntime = 30,
|
||||
})
|
||||
|
||||
|
||||
--
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -326,6 +376,14 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:grey_paint', 'bucket:bucket_empty'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_grey',
|
||||
recipe = {
|
||||
'default:coal_lump',
|
||||
'homedecor:shutter_oak'
|
||||
},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_grey',
|
||||
|
@ -344,6 +402,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_forest_green',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:leaves',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_forest_green',
|
||||
|
@ -442,6 +510,14 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:nightstand_oak_two_drawers',
|
||||
recipe = {
|
||||
{ 'homedecor:nightstand_oak_one_drawer' },
|
||||
{ 'homedecor:drawer_small' },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:nightstand_oak_two_drawers',
|
||||
|
@ -460,6 +536,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:nightstand_mahogany_one_drawer',
|
||||
recipe = {
|
||||
'homedecor:nightstand_oak_one_drawer',
|
||||
'default:dirt',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:nightstand_mahogany_one_drawer',
|
||||
|
@ -476,6 +562,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:nightstand_mahogany_two_drawers',
|
||||
recipe = {
|
||||
'homedecor:nightstand_oak_two_drawers',
|
||||
'default:dirt',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:nightstand_mahogany_two_drawers',
|
||||
|
@ -551,6 +647,18 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:dresser_mahogany',
|
||||
recipe = {
|
||||
'homedecor:dresser_oak',
|
||||
'default:dirt',
|
||||
'default:dirt',
|
||||
'default:coal_lump',
|
||||
'default:coal_lump',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:dresser_oak',
|
||||
|
@ -565,72 +673,92 @@ minetest.register_craftitem("homedecor:brass_ingot", {
|
|||
inventory_image = "homedecor_brass_ingot.png",
|
||||
})
|
||||
|
||||
if ( minetest.get_modpath("moreores") ) ~= nil then
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:brass_ingot 2',
|
||||
recipe = {
|
||||
'moreores:silver_ingot',
|
||||
'moreores:copper_ingot',
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:brass_ingot 2',
|
||||
recipe = {
|
||||
'moreores:silver_ingot',
|
||||
'moreores:copper_ingot',
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:table_legs_brass 2',
|
||||
recipe = {
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ 'homedecor:brass_ingot', 'homedecor:brass_ingot', 'homedecor:brass_ingot' }
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:table_legs_brass 2',
|
||||
recipe = {
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ 'homedecor:brass_ingot', 'homedecor:brass_ingot', 'homedecor:brass_ingot' }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:pole_brass 2',
|
||||
recipe = {
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ '', 'homedecor:brass_ingot', '' }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:fence_brass 4',
|
||||
recipe = {
|
||||
{ 'homedecor:brass_ingot', 'homedecor:brass_ingot', 'homedecor:brass_ingot' },
|
||||
{ 'homedecor:brass_ingot', 'homedecor:brass_ingot', 'homedecor:brass_ingot' },
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:pole_brass 2',
|
||||
recipe = {
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ '', 'homedecor:brass_ingot', '' },
|
||||
{ '', 'homedecor:brass_ingot', '' }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:fence_brass 4',
|
||||
recipe = {
|
||||
{ 'homedecor:brass_ingot', 'homedecor:brass_ingot', 'homedecor:brass_ingot' },
|
||||
{ 'homedecor:brass_ingot', 'homedecor:brass_ingot', 'homedecor:brass_ingot' },
|
||||
},
|
||||
})
|
||||
|
||||
-- ========================================================
|
||||
-- Recipes that require materials from Jeija's Mesecons mod
|
||||
|
||||
if ( minetest.get_modpath("mesecons") ) ~= nil then
|
||||
if ( minetest.get_modpath("mesecons") ) == nil then
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:television',
|
||||
recipe = {
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'default:glass', 'homedecor:plastic_sheeting' },
|
||||
{ 'mesecons_materials:ic', 'mesecons_materials:ic', 'mesecons_materials:ic' },
|
||||
},
|
||||
minetest.register_craftitem(":mesecons_materials:silicon", {
|
||||
description = "Silicon lump",
|
||||
inventory_image = "homedecor_silicon.png",
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:stereo',
|
||||
recipe = {
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'mesecons_materials:ic', 'homedecor:plastic_sheeting' },
|
||||
{ 'default:steel_ingot', 'mesecons_materials:ic', 'default:steel_ingot' },
|
||||
output = "mesecons_materials:silicon 4",
|
||||
recipe = {
|
||||
{ "default:sand", "default:sand" },
|
||||
{ "default:sand", "default:steel_ingot" },
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:ic 4",
|
||||
recipe = {
|
||||
{ "mesecons_materials:silicon", "mesecons_materials:silicon" },
|
||||
{ "mesecons_materials:silicon", "default:steel_ingot" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craftitem("homedecor:ic", {
|
||||
description = "Simple Integrated Circuit",
|
||||
inventory_image = "homedecor_ic.png",
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:television',
|
||||
recipe = {
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'default:glass', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:ic', 'homedecor:ic', 'homedecor:ic' },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:stereo',
|
||||
recipe = {
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
|
||||
{ 'homedecor:plastic_sheeting', 'homedecor:ic', 'homedecor:plastic_sheeting' },
|
||||
{ 'default:steel_ingot', 'homedecor:ic', 'default:steel_ingot' },
|
||||
},
|
||||
})
|
||||
|
||||
-- ===========================================================
|
||||
-- Recipes that require materials from wool (cotton alternate)
|
||||
|
@ -690,6 +818,16 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_mahogany',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:coal_lump',
|
||||
'default:dirt',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_mahogany',
|
||||
|
@ -722,6 +860,15 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_red',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:apple',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_red',
|
||||
|
@ -738,6 +885,15 @@ minetest.register_craft( {
|
|||
replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:shutter_yellow',
|
||||
recipe = {
|
||||
'homedecor:shutter_oak',
|
||||
'default:mese',
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:shutter_yellow',
|
||||
|
@ -760,14 +916,14 @@ minetest.register_craft({
|
|||
burntime = 30,
|
||||
})
|
||||
|
||||
-- =====================================================================
|
||||
-- Speakers require both Jeija's mesecons mod abnd either wool or cotton
|
||||
-- =====================================
|
||||
-- Speakers require copper from moreores
|
||||
|
||||
minetest.register_craft( {
|
||||
output = 'homedecor:speaker',
|
||||
recipe = {
|
||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
@ -776,7 +932,7 @@ minetest.register_craft( {
|
|||
output = 'homedecor:speaker_small',
|
||||
recipe = {
|
||||
{ 'default:wood', 'wool:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -786,7 +942,7 @@ minetest.register_craft( {
|
|||
output = 'homedecor:speaker',
|
||||
recipe = {
|
||||
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
@ -795,7 +951,7 @@ minetest.register_craft( {
|
|||
output = 'homedecor:speaker_small',
|
||||
recipe = {
|
||||
{ 'default:wood', 'cotton:black', 'default:wood' },
|
||||
{ 'default:wood', 'mesecons:noteblock', 'default:wood' },
|
||||
{ 'default:wood', 'moreores:copper_ingot', 'default:wood' },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -161,7 +161,7 @@ minetest.register_node('homedecor:exterior_door_fancy_a_c', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1},
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:exterior_door_fancy',
|
||||
})
|
||||
|
@ -175,7 +175,7 @@ minetest.register_node('homedecor:exterior_door_fancy_b_c', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:exterior_door_fancy',
|
||||
})
|
||||
|
@ -189,7 +189,7 @@ minetest.register_node('homedecor:exterior_door_fancy_a_o', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:exterior_door_fancy',
|
||||
})
|
||||
|
@ -203,7 +203,7 @@ minetest.register_node('homedecor:exterior_door_fancy_b_o', {
|
|||
paramtype = "light",
|
||||
paramtype2 = 'wallmounted',
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:exterior_door_fancy',
|
||||
})
|
||||
|
@ -337,7 +337,7 @@ minetest.register_node('homedecor:exterior_door_fancy_a_c_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:exterior_door_fancy_right',
|
||||
})
|
||||
|
@ -351,7 +351,7 @@ minetest.register_node('homedecor:exterior_door_fancy_b_c_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:exterior_door_fancy_right',
|
||||
})
|
||||
|
@ -365,7 +365,7 @@ minetest.register_node('homedecor:exterior_door_fancy_a_o_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:exterior_door_fancy_right',
|
||||
})
|
||||
|
@ -379,7 +379,7 @@ minetest.register_node('homedecor:exterior_door_fancy_b_o_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = 'wallmounted',
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:exterior_door_fancy_right',
|
||||
})
|
||||
|
|
|
@ -157,7 +157,7 @@ minetest.register_node('homedecor:folding_door_mahogany_a_c', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_mahogany',
|
||||
})
|
||||
|
@ -171,7 +171,7 @@ minetest.register_node('homedecor:folding_door_mahogany_b_c', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_mahogany',
|
||||
})
|
||||
|
@ -185,7 +185,7 @@ minetest.register_node('homedecor:folding_door_mahogany_a_o', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_mahogany',
|
||||
})
|
||||
|
@ -199,7 +199,7 @@ minetest.register_node('homedecor:folding_door_mahogany_b_o', {
|
|||
paramtype = "light",
|
||||
paramtype2 = 'wallmounted',
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_mahogany',
|
||||
})
|
||||
|
@ -333,7 +333,7 @@ minetest.register_node('homedecor:folding_door_mahogany_a_c_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_mahogany_right',
|
||||
})
|
||||
|
@ -347,7 +347,7 @@ minetest.register_node('homedecor:folding_door_mahogany_b_c_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_mahogany_right',
|
||||
})
|
||||
|
@ -361,7 +361,7 @@ minetest.register_node('homedecor:folding_door_mahogany_a_o_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_mahogany_right',
|
||||
})
|
||||
|
@ -375,7 +375,7 @@ minetest.register_node('homedecor:folding_door_mahogany_b_o_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = 'wallmounted',
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_mahogany_right',
|
||||
})
|
||||
|
@ -413,30 +413,42 @@ minetest.register_craft({
|
|||
burntime = 30,
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak',
|
||||
'unifieddyes:dark_orange',
|
||||
},
|
||||
replacements = { {'unifieddyes:dark_orange', 'unifieddyes:empty_bottle'}, },
|
||||
})
|
||||
|
||||
-- You only need flowers and coal to get the dark orange necessary to actually
|
||||
-- craft a mahogany door (either one), but not to /give or use one.
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak',
|
||||
'default:coal_lump',
|
||||
'default:dirt',
|
||||
},
|
||||
})
|
||||
|
||||
if ( minetest.get_modpath("flowers") ) ~= nil then
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany_right',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak_right',
|
||||
'unifieddyes:dark_orange',
|
||||
},
|
||||
replacements = { {'unifieddyes:dark_orange', 'unifieddyes:empty_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak',
|
||||
'unifieddyes:dark_orange',
|
||||
},
|
||||
replacements = { {'unifieddyes:dark_orange', 'unifieddyes:empty_bottle'}, },
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany_right',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak_right',
|
||||
'unifieddyes:dark_orange',
|
||||
},
|
||||
replacements = { {'unifieddyes:dark_orange', 'unifieddyes:empty_bottle'}, },
|
||||
})
|
||||
|
||||
end
|
||||
minetest.register_craft( {
|
||||
type = 'shapeless',
|
||||
output = 'homedecor:folding_door_mahogany_right',
|
||||
recipe = {
|
||||
'homedecor:folding_door_oak_right',
|
||||
'default:coal_lump',
|
||||
'default:dirt',
|
||||
},
|
||||
})
|
||||
|
|
|
@ -154,7 +154,7 @@ minetest.register_node('homedecor:folding_door_oak_a_c', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_oak',
|
||||
})
|
||||
|
@ -168,7 +168,7 @@ minetest.register_node('homedecor:folding_door_oak_b_c', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_oak',
|
||||
})
|
||||
|
@ -182,7 +182,7 @@ minetest.register_node('homedecor:folding_door_oak_a_o', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_oak',
|
||||
})
|
||||
|
@ -196,7 +196,7 @@ minetest.register_node('homedecor:folding_door_oak_b_o', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_oak',
|
||||
})
|
||||
|
@ -328,7 +328,7 @@ minetest.register_node('homedecor:folding_door_oak_a_c_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_oak_right',
|
||||
})
|
||||
|
@ -342,7 +342,7 @@ minetest.register_node('homedecor:folding_door_oak_b_c_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = true,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted" },
|
||||
drop = 'homedecor:folding_door_oak_right',
|
||||
})
|
||||
|
@ -356,7 +356,7 @@ minetest.register_node('homedecor:folding_door_oak_a_o_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_oak_right',
|
||||
})
|
||||
|
@ -370,7 +370,7 @@ minetest.register_node('homedecor:folding_door_oak_b_o_right', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
groups = { choppy = 2, dig_immediate=2 },
|
||||
groups = { choppy = 2, dig_immediate=2, not_in_creative_inventory=1 },
|
||||
selection_box = { type = "wallmounted", },
|
||||
drop = 'homedecor:folding_door_oak_right',
|
||||
})
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
-- License: GPL
|
||||
--
|
||||
|
||||
dofile(minetest.get_modpath("homedecor").."/television.lua")
|
||||
dofile(minetest.get_modpath("homedecor").."/foldingdoors_oak.lua")
|
||||
dofile(minetest.get_modpath("homedecor").."/foldingdoors_mahogany.lua")
|
||||
dofile(minetest.get_modpath("homedecor").."/exterior_door_fancy.lua")
|
||||
|
@ -51,7 +52,7 @@ minetest.register_node('homedecor:skylight', {
|
|||
inventory_image = 'default_glass.png',
|
||||
paramtype = 'light',
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
@ -273,24 +274,6 @@ minetest.register_node("homedecor:table_legs_wrought_iron", {
|
|||
walkable = true,
|
||||
})
|
||||
|
||||
minetest.register_node('homedecor:television', {
|
||||
description = "Small CRT Television",
|
||||
tiles = { 'homedecor_television_top.png',
|
||||
'homedecor_television_bottom.png',
|
||||
'homedecor_television_right.png',
|
||||
'homedecor_television_left.png',
|
||||
'homedecor_television_back.png',
|
||||
'homedecor_television_front.png'},
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
light_source = LIGHT_MAX - 1,
|
||||
groups = { snappy = 3 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node('homedecor:stereo', {
|
||||
description = "Stereo Receiver",
|
||||
tiles = { 'homedecor_stereo_top.png',
|
||||
|
@ -569,7 +552,7 @@ minetest.register_node('homedecor:dresser_mahogany_left_side', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
groups = { snappy = 3, not_in_creative_inventory=1 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
@ -585,7 +568,7 @@ minetest.register_node('homedecor:dresser_mahogany_right_side', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
groups = { snappy = 3, not_in_creative_inventory=1 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
@ -601,7 +584,7 @@ minetest.register_node('homedecor:dresser_oak_left_side', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
groups = { snappy = 3, not_in_creative_inventory=1 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
@ -617,7 +600,7 @@ minetest.register_node('homedecor:dresser_oak_right_side', {
|
|||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
groups = { snappy = 3, not_in_creative_inventory=1 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
-- This file provides a semi-animated television.
|
||||
|
||||
minetest.register_node('homedecor:television', {
|
||||
description = "Small CRT Television",
|
||||
tiles = { 'homedecor_television_top.png',
|
||||
'homedecor_television_bottom.png',
|
||||
'homedecor_television_right.png',
|
||||
'homedecor_television_left.png',
|
||||
'homedecor_television_back.png',
|
||||
{ name="homedecor_television_front_animated.png",
|
||||
animation={
|
||||
type="vertical_frames",
|
||||
aspect_w=16,
|
||||
aspect_h=16,
|
||||
length=80.0
|
||||
}
|
||||
}
|
||||
},
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
light_source = LIGHT_MAX - 1,
|
||||
groups = { snappy = 3 },
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
After Width: | Height: | Size: 302 B |
After Width: | Height: | Size: 867 B |
After Width: | Height: | Size: 3.3 KiB |