forked from MineClone5/MineClone5
Add more wood slabs, fix solar panel recipe
This commit is contained in:
parent
9bfa2460c1
commit
55316472f1
|
@ -51,11 +51,11 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"mesecons_solarpanel:solar_panel_off" 1',
|
output = 'mesecons_solarpanel:solar_panel_off',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:glass', 'default:glass', 'default:glass'},
|
{'default:glass', 'default:glass', 'default:glass'},
|
||||||
{'default:glass', 'default:glass', 'default:glass'},
|
{'default:quartz_crystal', 'default:quartz_crystal', 'default:quartz_crystal'},
|
||||||
{'mesecons:redstone', 'mesecons:redstone', 'mesecons:redstone'},
|
{'group:wood_slab', 'group:wood_slab', 'group:wood_slab'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -142,9 +142,9 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", {
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = '"mesecons_solarpanel:solar_panel_inverted_off" 1',
|
output = '"mesecons_solarpanel:solar_panel_inverted_off" 1',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'mesecons:redstone', 'mesecons:redstone', 'mesecons:redstone'},
|
|
||||||
{'default:glass', 'default:glass', 'default:glass'},
|
|
||||||
{'default:glass', 'default:glass', 'default:glass'},
|
{'default:glass', 'default:glass', 'default:glass'},
|
||||||
|
{'default:quartz_crystal', 'default:quartz_crystal', 'default:quartz_crystal'},
|
||||||
|
{'group:slab_wood', 'group:slab_wood', 'group:slab_wood'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -235,34 +235,73 @@ function stairs.register_stair_and_slab(subname, recipeitem, groups, images, des
|
||||||
stairs.register_slab(subname, recipeitem, groups, images, desc_slab, sounds)
|
stairs.register_slab(subname, recipeitem, groups, images, desc_slab, sounds)
|
||||||
end
|
end
|
||||||
|
|
||||||
stairs.register_stair_and_slab("wood", "default:wood",
|
stairs.register_stair("wood", "default:wood",
|
||||||
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
{"default_wood.png"},
|
{"default_wood.png"},
|
||||||
"Oak Wood Stairs",
|
"Oak Wood Stairs",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
stairs.register_slab("wood", "default:wood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_slab=1},
|
||||||
|
{"default_wood.png"},
|
||||||
"Oak Wood Slab",
|
"Oak Wood Slab",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair_and_slab("junglewood", "default:junglewood",
|
stairs.register_stair("junglewood", "default:junglewood",
|
||||||
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
{"default_junglewood.png"},
|
{"default_junglewood.png"},
|
||||||
"Jungle Wood Stairs",
|
"Jungle Wood Stairs",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
stairs.register_slab("junglewood", "default:junglewood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_slab=1},
|
||||||
|
{"default_junglewood.png"},
|
||||||
"Jungle Wood Slab",
|
"Jungle Wood Slab",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair_and_slab("acaciawood", "default:acaciawood",
|
stairs.register_stair("acaciawood", "default:acaciawood",
|
||||||
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
{"default_acaciawood.png"},
|
{"default_acaciawood.png"},
|
||||||
"Acacia Wood Stairs",
|
"Acacia Wood Stairs",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
|
stairs.register_slab("acaciawood", "default:acaciawood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_slab=1},
|
||||||
|
{"default_acaciawood.png"},
|
||||||
"Acacia Wood Slab",
|
"Acacia Wood Slab",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair_and_slab("sprucewood", "default:sprucewood",
|
stairs.register_stair("sprucewood", "default:sprucewood",
|
||||||
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
{"default_sprucewood.png"},
|
{"default_sprucewood.png"},
|
||||||
"Spruce Wood Stairs",
|
"Spruce Wood Stairs",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
stairs.register_slab("sprucewood", "default:sprucewood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_slab=1},
|
||||||
|
{"default_sprucewood.png"},
|
||||||
"Spruce Wood Slab",
|
"Spruce Wood Slab",
|
||||||
default.node_sound_wood_defaults())
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
|
stairs.register_stair("birchwood", "default:birchwood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
|
{"default_birchewood.png"},
|
||||||
|
"Birch Wood Stairs",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
stairs.register_slab("birchwood", "default:birchwood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_slab=1},
|
||||||
|
{"default_birchwood.png"},
|
||||||
|
"Birch Wood Slab",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
|
stairs.register_stair("darkwood", "default:darkwood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||||
|
{"default_planks_big_oak.png"},
|
||||||
|
"Dark Oak Wood Stairs",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
stairs.register_slab("oakwood", "default:darkwood",
|
||||||
|
{snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood_slab=1},
|
||||||
|
{"default_planks_big_oak.png"},
|
||||||
|
"Dark Oak Wood Slab",
|
||||||
|
default.node_sound_wood_defaults())
|
||||||
|
|
||||||
stairs.register_stair_and_slab("stone", "default:stone",
|
stairs.register_stair_and_slab("stone", "default:stone",
|
||||||
{cracky=3},
|
{cracky=3},
|
||||||
{"default_stone.png"},
|
{"default_stone.png"},
|
||||||
|
|
Loading…
Reference in New Issue