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:
@ -43,7 +43,7 @@ minetest.register_node("scifi_nodes:crate", {
|
||||
groups = {cracky = 1, oddly_breakable_by_hand = 2, fuel = 8},
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = scifi_nodes.node_sound_wood_defaults(),
|
||||
|
||||
after_dig_node = drop_chest_stuff(),
|
||||
on_construct = function(pos)
|
||||
@ -82,7 +82,7 @@ minetest.register_node("scifi_nodes:box", {
|
||||
groups = {cracky = 1},
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
sounds = scifi_nodes.node_sound_metal_defaults(),
|
||||
|
||||
after_dig_node = drop_chest_stuff(),
|
||||
on_construct = function(pos)
|
||||
|
Reference in New Issue
Block a user