mirror of
https://github.com/minetest-mods/towercrane.git
synced 2024-11-22 07:13:52 +01:00
Remove drops from tower crane nodes
This prevents players from illegally obtaining those nodes through mods like digtron or the technic mining drill, at least in some instances.
This commit is contained in:
parent
0e90cf0a4d
commit
e208ad199c
4
init.lua
4
init.lua
@ -341,6 +341,7 @@ minetest.register_node("towercrane:balance", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
|
drop = "",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("towercrane:mast", {
|
minetest.register_node("towercrane:mast", {
|
||||||
@ -358,6 +359,7 @@ minetest.register_node("towercrane:mast", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
|
drop = "",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("towercrane:arm", {
|
minetest.register_node("towercrane:arm", {
|
||||||
@ -375,6 +377,7 @@ minetest.register_node("towercrane:arm", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
|
drop = "",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("towercrane:arm2", {
|
minetest.register_node("towercrane:arm2", {
|
||||||
@ -392,6 +395,7 @@ minetest.register_node("towercrane:arm2", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||||
|
drop = "",
|
||||||
})
|
})
|
||||||
|
|
||||||
if towercrane.recipe then
|
if towercrane.recipe then
|
||||||
|
Loading…
Reference in New Issue
Block a user