Merge pull request #160 from t4im/master

various smaller enhancements
This commit is contained in:
Diego Martínez 2015-01-19 21:37:53 -02:00
commit 3c765e3de7
4 changed files with 578 additions and 541 deletions

View File

@ -328,7 +328,28 @@ if minetest.get_modpath("moreblocks") then
sounds = default.node_sound_stone_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"Adobe",
"building_blocks:Adobe",
{
description = "Adobe",
tiles = {"building_blocks_Adobe.png"},
groups = {crumbly=3},
sounds = default.node_sound_stone_defaults(),
}
)
stairsplus:register_all(
"building_blocks",
"Roofing",
"building_blocks:Roofing",
{
description = "Roofing",
tiles = {"building_blocks_Roofing.png"},
groups = {snappy=3},
sounds = default.node_sound_stone_defaults(),
}
)
else
bb_stairs = {}
@ -433,6 +454,18 @@ else
"Grate Stair",
"Grate Slab"
)
bb_stairs.register_stair_and_slab("Adobe", "building_blocks:Adobe",
{crumbly=3},
{"building_blocks_Adobe.png"},
"Adobe stair",
"Adobe slab"
)
bb_stairs.register_stair_and_slab("Roofing", "building_blocks:Roofing",
{snappy=3},
{"building_blocks_Roofing.png"},
"Roofing stair",
"Roofing slab"
)
end

View File

@ -34,6 +34,7 @@ minetest.register_node("fake_fire:fake_fire", {
},
paramtype = "light",
walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher)
@ -80,6 +81,7 @@ minetest.register_node("fake_fire:smokeless_fire", {
},
paramtype = "light",
walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher)
@ -126,6 +128,7 @@ minetest.register_node("fake_fire:ice_fire", {
},
paramtype = "light",
walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher)
@ -172,6 +175,7 @@ minetest.register_node("fake_fire:smokeless_ice_fire", {
},
paramtype = "light",
walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher)

View File

@ -6,7 +6,7 @@ minetest.register_node("homedecor:analog_clock_plastic", {
inventory_image = "homedecor_analog_clock_plastic_inv.png",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
collision_box = {
type = "fixed",
fixed = {
{ -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 },
@ -31,7 +31,7 @@ minetest.register_node("homedecor:analog_clock_wood", {
inventory_image = "homedecor_analog_clock_wood_inv.png",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
collision_box = {
type = "fixed",
fixed = {
{ -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 },