mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-13 05:50:29 +02:00
moving tree default dependencies into one file (mostly), adding stub translations
This commit is contained in:
@ -4,16 +4,9 @@ local modname = minetest.get_current_modname()
|
||||
df_trees.S = minetest.get_translator(modname)
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
|
||||
df_trees.node_sound_tree_soft_fungus_defaults = function(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "dfcaverns_fungus_footstep", gain = 0.3}
|
||||
default.node_sound_wood_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
--load companion lua files
|
||||
dofile(modpath.."/config.lua")
|
||||
dofile(modpath.."/dependencies.lua")
|
||||
dofile(modpath.."/doc.lua")
|
||||
dofile(modpath.."/aliases.lua")
|
||||
|
||||
|
Reference in New Issue
Block a user