forked from mtcontrib/homedecor_modpack
make bathroom taps use the new particles code
also make shower tray turn off taps above it, if any minor tweak to particles function to add Y velocity added more detailed collision boxes to the sinks to accommodate particles
This commit is contained in:
@ -69,6 +69,19 @@ homedecor.register("kitchen_cabinet_with_sink", {
|
||||
inventory = {
|
||||
size=16,
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -8/16, -8/16, -8/16, 8/16, 6/16, 8/16 },
|
||||
{ -8/16, 6/16, -8/16, -6/16, 8/16, 8/16 },
|
||||
{ 6/16, 6/16, -8/16, 8/16, 8/16, 8/16 },
|
||||
{ -8/16, 6/16, -8/16, 8/16, 8/16, -6/16 },
|
||||
{ -8/16, 6/16, 6/16, 8/16, 8/16, 8/16 },
|
||||
}
|
||||
},
|
||||
on_destruct = function(pos)
|
||||
homedecor.stop_particle_spawner({x=pos.x, y=pos.y+1, z=pos.z})
|
||||
end
|
||||
})
|
||||
|
||||
local cp_cbox = {
|
||||
|
Reference in New Issue
Block a user