mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-01-04 03:57:37 +01:00
fix tube and pipe drops
This commit is contained in:
parent
f700aa8531
commit
82f5ba09fe
@ -128,10 +128,12 @@ if REGISTER_COMPATIBILITY then
|
|||||||
minetest.register_node(cempty, {
|
minetest.register_node(cempty, {
|
||||||
drawtype = "airlike",
|
drawtype = "airlike",
|
||||||
groups = {not_in_creative_inventory = 1, pipe_to_update = 1},
|
groups = {not_in_creative_inventory = 1, pipe_to_update = 1},
|
||||||
|
drop = "pipeworks:pipe_1_empty",
|
||||||
})
|
})
|
||||||
minetest.register_node(cloaded, {
|
minetest.register_node(cloaded, {
|
||||||
drawtype = "airlike",
|
drawtype = "airlike",
|
||||||
groups = {not_in_creative_inventory = 1, pipe_to_update = 1},
|
groups = {not_in_creative_inventory = 1, pipe_to_update = 1},
|
||||||
|
drop = "pipeworks:pipe_1_empty",
|
||||||
})
|
})
|
||||||
for xm = 0, 1 do
|
for xm = 0, 1 do
|
||||||
for xp = 0, 1 do
|
for xp = 0, 1 do
|
||||||
|
@ -179,6 +179,7 @@ pipeworks.register_tube = function(name, desc, plain, noctrs, ends, short, inv,
|
|||||||
basename = name,
|
basename = name,
|
||||||
groups = {not_in_creative_inventory = 1, tube_to_update = 1},
|
groups = {not_in_creative_inventory = 1, tube_to_update = 1},
|
||||||
tube = {connect_sides = {front = 1, back = 1, left = 1, right = 1, top = 1, bottom = 1}},
|
tube = {connect_sides = {front = 1, back = 1, left = 1, right = 1, top = 1, bottom = 1}},
|
||||||
|
drop = name.."_1",
|
||||||
})
|
})
|
||||||
table.insert(pipeworks.tubenodes,cname)
|
table.insert(pipeworks.tubenodes,cname)
|
||||||
for xm = 0, 1 do
|
for xm = 0, 1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user