mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
split 4-bottle model into separate materials
(obsoletes the "4/multi" model)
This commit is contained in:
parent
aaf25a97e4
commit
084c82f4ce
@ -371,7 +371,7 @@ local bottle_colors = {"brown", "green"}
|
||||
|
||||
for _, b in ipairs(bottle_colors) do
|
||||
|
||||
homedecor.register("bottle_"..b, {
|
||||
homedecor.register("bottle_"..b, {
|
||||
tiles = { "homedecor_bottle_"..b..".png" },
|
||||
inventory_image = "homedecor_bottle_"..b.."_inv.png",
|
||||
description = "Bottle ("..b..")",
|
||||
@ -381,12 +381,15 @@ homedecor.register("bottle_"..b, {
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
collision_box = bottle_cbox,
|
||||
selection_box = bottle_cbox
|
||||
})
|
||||
})
|
||||
|
||||
-- 4-bottle sets
|
||||
-- 4-bottle sets
|
||||
|
||||
homedecor.register("4_bottles_"..b, {
|
||||
tiles = { "homedecor_bottle_"..b..".png" },
|
||||
homedecor.register("4_bottles_"..b, {
|
||||
tiles = {
|
||||
"homedecor_bottle_"..b..".png",
|
||||
"homedecor_bottle_"..b..".png"
|
||||
},
|
||||
inventory_image = "homedecor_4_bottles_"..b.."_inv.png",
|
||||
description = "Four "..b.." bottles",
|
||||
mesh = "homedecor_4_bottles.obj",
|
||||
@ -395,15 +398,17 @@ homedecor.register("4_bottles_"..b, {
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
collision_box = fbottle_cbox,
|
||||
selection_box = fbottle_cbox
|
||||
})
|
||||
|
||||
})
|
||||
end
|
||||
|
||||
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",
|
||||
description = "Four misc brown/green bottles",
|
||||
mesh = "homedecor_4_bottles_multi.obj",
|
||||
mesh = "homedecor_4_bottles.obj",
|
||||
sunlight_propagates = true,
|
||||
groups = {snappy=3},
|
||||
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