1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

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

@ -1,2 +1,2 @@
default default
moreblocks? moreblocks?

File diff suppressed because it is too large Load Diff

View File

@ -34,6 +34,7 @@ minetest.register_node("fake_fire:fake_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)
@ -80,6 +81,7 @@ minetest.register_node("fake_fire:smokeless_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)
@ -126,6 +128,7 @@ minetest.register_node("fake_fire:ice_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)
@ -172,6 +175,7 @@ minetest.register_node("fake_fire:smokeless_ice_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) 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", inventory_image = "homedecor_analog_clock_plastic_inv.png",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { collision_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{ -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 }, { -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", inventory_image = "homedecor_analog_clock_wood_inv.png",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { collision_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{ -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 }, { -8/32, -3/32, 15/32, 8/32, 3/32, 16/32 },