mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-11 12:50:21 +01:00
fix sel/coll boxes on 4-bottle packs
This commit is contained in:
parent
f8f595b3b9
commit
8b14e599a1
|
@ -1080,6 +1080,13 @@ minetest.register_node("homedecor:bottle_green", {
|
||||||
|
|
||||||
-- 4-bottle sets
|
-- 4-bottle sets
|
||||||
|
|
||||||
|
local fbottle_cbox = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -0.375, -0.5, -0.3125, 0.375, 0, 0.3125 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
minetest.register_node("homedecor:4_bottles_brown", {
|
minetest.register_node("homedecor:4_bottles_brown", {
|
||||||
tiles = { "homedecor_bottle_brown.png" },
|
tiles = { "homedecor_bottle_brown.png" },
|
||||||
inventory_image = "homedecor_4_bottles_brown_inv.png",
|
inventory_image = "homedecor_4_bottles_brown_inv.png",
|
||||||
|
@ -1090,8 +1097,8 @@ minetest.register_node("homedecor:4_bottles_brown", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {snappy=3},
|
groups = {snappy=3},
|
||||||
collision_box = bottle_cbox,
|
collision_box = fbottle_cbox,
|
||||||
selection_box = bottle_cbox
|
selection_box = fbottle_cbox
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("homedecor:4_bottles_green", {
|
minetest.register_node("homedecor:4_bottles_green", {
|
||||||
|
@ -1104,8 +1111,8 @@ minetest.register_node("homedecor:4_bottles_green", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {snappy=3},
|
groups = {snappy=3},
|
||||||
collision_box = bottle_cbox,
|
collision_box = fbottle_cbox,
|
||||||
selection_box = bottle_cbox
|
selection_box = fbottle_cbox
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("homedecor:4_bottles_multi", {
|
minetest.register_node("homedecor:4_bottles_multi", {
|
||||||
|
@ -1118,8 +1125,8 @@ minetest.register_node("homedecor:4_bottles_multi", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {snappy=3},
|
groups = {snappy=3},
|
||||||
collision_box = bottle_cbox,
|
collision_box = fbottle_cbox,
|
||||||
selection_box = bottle_cbox
|
selection_box = fbottle_cbox
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("homedecor:coffee_maker", {
|
minetest.register_node("homedecor:coffee_maker", {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user