mirror of
https://github.com/pandorabox-io/locator.git
synced 2026-05-04 15:56:52 -06:00
Is ground content (#3)
* locator beacons aren't ground content * locator radar isn't ground content
This commit is contained in:
committed by
GitHub
parent
3f4a623fd2
commit
ad66a6bfdb
@@ -32,6 +32,7 @@ minetest.register_node("locator:beacon_base", {
|
|||||||
"locator_beacon_base.png",
|
"locator_beacon_base.png",
|
||||||
},
|
},
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
is_ground_content = false,
|
||||||
sounds = default.node_sound_glass_defaults()
|
sounds = default.node_sound_glass_defaults()
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -58,6 +59,7 @@ local register_beacon = function(level, range, ingredient)
|
|||||||
"locator_beacon_level" .. level .. ".png"
|
"locator_beacon_level" .. level .. ".png"
|
||||||
},
|
},
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
is_ground_content = false,
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
|
||||||
after_place_node = function(pos, placer)
|
after_place_node = function(pos, placer)
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ minetest.register_node("locator:radar", {
|
|||||||
"locator_radar.png"
|
"locator_radar.png"
|
||||||
},
|
},
|
||||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
is_ground_content = false,
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
|
||||||
on_receive_fields = function(pos, formname, fields, sender)
|
on_receive_fields = function(pos, formname, fields, sender)
|
||||||
|
|||||||
Reference in New Issue
Block a user