mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-07-16 03:06:48 -04:00
Initial Commit
This commit is contained in:
parent
7dca0f6da4
commit
0b7971e2c6
49 changed files with 1592 additions and 0 deletions
25
init.lua
Normal file
25
init.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
better_fauna = {}
|
||||
|
||||
better_fauna.walkable_nodes = {}
|
||||
|
||||
minetest.register_on_mods_loaded(function()
|
||||
for name in pairs(minetest.registered_nodes) do
|
||||
if name ~= "air" and name ~= "ignore" then
|
||||
if minetest.registered_nodes[name].walkable then
|
||||
table.insert(better_fauna.walkable_nodes, name)
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
local path = minetest.get_modpath("better_fauna")
|
||||
|
||||
dofile(path.."/api/api.lua")
|
||||
dofile(path.."/craftitems.lua")
|
||||
dofile(path.."/mobs/chicken.lua")
|
||||
dofile(path.."/mobs/cow.lua")
|
||||
dofile(path.."/mobs/pig.lua")
|
||||
dofile(path.."/mobs/sheep.lua")
|
||||
|
||||
|
||||
minetest.log("action", "[MOD] Better Fauna [0.1] loaded")
|
Loading…
Add table
Add a link
Reference in a new issue