forked from mtcontrib/pipeworks
flattened wielded pipe segment.
This commit is contained in:
parent
f0c4ee4505
commit
ccf696748d
|
@ -139,6 +139,7 @@ for zp = 0, 1 do
|
||||||
tgroups = {snappy=3, tube=1, not_in_creative_inventory=1}
|
tgroups = {snappy=3, tube=1, not_in_creative_inventory=1}
|
||||||
tubedesc = "Pneumatic tube segment ("..tname..")... You hacker, you."
|
tubedesc = "Pneumatic tube segment ("..tname..")... You hacker, you."
|
||||||
iimg=nil
|
iimg=nil
|
||||||
|
wscale = {x=1,y=1,z=1}
|
||||||
else
|
else
|
||||||
tgroups = {snappy=3, tube=1}
|
tgroups = {snappy=3, tube=1}
|
||||||
tubedesc = "Pneumatic tube segment"
|
tubedesc = "Pneumatic tube segment"
|
||||||
|
@ -153,6 +154,7 @@ for zp = 0, 1 do
|
||||||
}
|
}
|
||||||
outboxes = { -24/64, -9/64, -9/64, 24/64, 9/64, 9/64 }
|
outboxes = { -24/64, -9/64, -9/64, 24/64, 9/64, 9/64 }
|
||||||
outsel = { -24/64, -10/64, -10/64, 24/64, 10/64, 10/64 }
|
outsel = { -24/64, -10/64, -10/64, 24/64, 10/64, 10/64 }
|
||||||
|
wscale = {x=1,y=1,z=0.01}
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("pipeworks:tube_"..tname, {
|
minetest.register_node("pipeworks:tube_"..tname, {
|
||||||
|
@ -161,6 +163,7 @@ for zp = 0, 1 do
|
||||||
tiles = outimgs,
|
tiles = outimgs,
|
||||||
inventory_image=iimg,
|
inventory_image=iimg,
|
||||||
wield_image=iimg,
|
wield_image=iimg,
|
||||||
|
wield_scale=wscale,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user