mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2025-06-30 15:10:46 +02:00
Opt-depend on all mods (#58)
* move "dye" to optional depends and disable recipes if default or dye are not available * replace default.LIGHT_MAX with minetest.LIGHT_MAX * add sound-switch and use default if available * enable crate and builder only if default mod is available * move default mod to opt-depends and use screwdriver only if available Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
This commit is contained in:
@ -129,7 +129,7 @@ minetest.register_node("scifi_nodes:digicode_on", {
|
||||
}
|
||||
},
|
||||
on_timer = toggle_digicode,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:digicode_off", {
|
||||
@ -152,7 +152,7 @@ minetest.register_node("scifi_nodes:digicode_off", {
|
||||
},
|
||||
after_place_node = set_owner,
|
||||
on_rightclick = show_digicode_formspec,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
Reference in New Issue
Block a user