1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

Updated homedecor

- Updated homedecor
 - Updated files
 - Added missing meshes
This commit is contained in:
LeMagnesium
2015-05-27 22:12:00 +02:00
parent 90eeff383c
commit 733c69c328
34 changed files with 658 additions and 15 deletions

View File

@ -35,6 +35,7 @@ for i in ipairs(bathroom_tile_colors) do
"("..coloredtile..")^[transformR90"
},
groups = {cracky=3},
paramtype = "light",
sounds = default.node_sound_stone_defaults(),
})
end

View File

@ -145,12 +145,12 @@ homedecor.register("telephone", {
minetest.register_abm({
nodenames = "homedecor:telephone",
interval = 30,
chance = 10,
chance = 15,
action = function(pos, node)
minetest.sound_play("homedecor_telephone_ringing", {
pos = pos,
gain = 1.0,
max_hear_distance = 10
max_hear_distance = 5
})
end
})

View File

@ -344,10 +344,11 @@ if minetest.get_modpath("bucket") then
minetest.chat_send_player(user:get_player_name(), "No room in your inventory to add a filled bucket!")
end
return wielditem
else
return original_bucket_on_use(itemstack, user, pointed_thing)
end
else if original_bucket_on_use then
original_bucket_on_use(itemstack, user, pointed_thing)
else return end
end
end
})
end

View File

@ -128,7 +128,8 @@ homedecor.register("kitchen_faucet", {
}
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_faucet")
end
end
end,
on_destruct = homedecor.stop_particle_spawner
})
homedecor.register("paper_towel", {

View File

@ -590,7 +590,8 @@ homedecor.register("beer_mug", {
groups = { snappy=3, oddly_breakable_by_hand=3 },
walkable = false,
sounds = default.node_sound_glass_defaults(),
selection_box = beer_cbox
selection_box = beer_cbox,
on_use = minetest.item_eat(2)
})
homedecor.register("tool_cabinet", {

View File

@ -7,6 +7,7 @@ minetest.register_node("homedecor:skylight", {
wield_image = "default_glass.png",
inventory_image = "homedecor_skylight_inv.png",
groups = { snappy = 3 },
paramtype = "light",
sounds = default.node_sound_glass_defaults(),
selection_box = homedecor.nodebox.slab_y(0.1),
})
@ -19,6 +20,7 @@ minetest.register_node("homedecor:skylight_frosted", {
inventory_image = "homedecor_skylight_frosted_inv.png",
use_texture_alpha = true,
groups = { snappy = 3 },
paramtype = "light",
sounds = default.node_sound_glass_defaults(),
selection_box = homedecor.nodebox.slab_y(0.1),
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -87,7 +87,7 @@ local wb2_cbox = {
homedecor.register("blinds_thin", {
description = "Window Blinds (thin)",
mesh = "homedecor_windowblind_thin.obj",
inventory_image = "homedecor_windowblind_thick_inv.png",
inventory_image = "homedecor_windowblind_thin_inv.png",
tiles = {
"homedecor_windowblind_strings.png",
"homedecor_windowblinds.png"