isolate primordial item default dependencies to one file, add stub translations

This commit is contained in:
FaceDeer
2020-11-15 15:06:20 -07:00
parent 92d9cb1399
commit b31618e5b0
11 changed files with 517 additions and 68 deletions

View File

@ -13,8 +13,8 @@ minetest.register_node("df_primordial_items:glownode", {
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = default.node_sound_glass_defaults(),
light_source = default.LIGHT_MAX,
sounds = df_primordial_items.sounds.glass,
light_source = minetest.LIGHT_MAX,
})
minetest.register_node("df_primordial_items:glownode_stalk", {
@ -25,7 +25,7 @@ minetest.register_node("df_primordial_items:glownode_stalk", {
paramtype2 = "facedir",
is_ground_content = false,
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
sounds = df_primordial_items.sounds.wood,
on_place = minetest.rotate_node
})
@ -44,7 +44,7 @@ minetest.register_node("df_primordial_items:glow_orb_hanging", {
is_ground_content = false,
walkable = false,
light_source = 6,
sounds = default.node_sound_leaves_defaults(),
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
sunlight_propagates = true,
})