forked from nalc/homedecor_modpack
split 4-bottle model into separate materials
(obsoletes the "4/multi" model)
This commit is contained in:
parent
aaf25a97e4
commit
084c82f4ce
@ -386,7 +386,10 @@ homedecor.register("bottle_"..b, {
|
|||||||
-- 4-bottle sets
|
-- 4-bottle sets
|
||||||
|
|
||||||
homedecor.register("4_bottles_"..b, {
|
homedecor.register("4_bottles_"..b, {
|
||||||
tiles = { "homedecor_bottle_"..b..".png" },
|
tiles = {
|
||||||
|
"homedecor_bottle_"..b..".png",
|
||||||
|
"homedecor_bottle_"..b..".png"
|
||||||
|
},
|
||||||
inventory_image = "homedecor_4_bottles_"..b.."_inv.png",
|
inventory_image = "homedecor_4_bottles_"..b.."_inv.png",
|
||||||
description = "Four "..b.." bottles",
|
description = "Four "..b.." bottles",
|
||||||
mesh = "homedecor_4_bottles.obj",
|
mesh = "homedecor_4_bottles.obj",
|
||||||
@ -396,14 +399,16 @@ homedecor.register("4_bottles_"..b, {
|
|||||||
collision_box = fbottle_cbox,
|
collision_box = fbottle_cbox,
|
||||||
selection_box = fbottle_cbox
|
selection_box = fbottle_cbox
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
homedecor.register("4_bottles_multi", {
|
homedecor.register("4_bottles_multi", {
|
||||||
tiles = { "homedecor_4_bottles_multi.png" },
|
tiles = {
|
||||||
|
"homedecor_bottle_brown.png",
|
||||||
|
"homedecor_bottle_green.png"
|
||||||
|
},
|
||||||
inventory_image = "homedecor_4_bottles_multi_inv.png",
|
inventory_image = "homedecor_4_bottles_multi_inv.png",
|
||||||
description = "Four misc brown/green bottles",
|
description = "Four misc brown/green bottles",
|
||||||
mesh = "homedecor_4_bottles_multi.obj",
|
mesh = "homedecor_4_bottles.obj",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
groups = {snappy=3},
|
groups = {snappy=3},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB |
Loading…
Reference in New Issue
Block a user