1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-12-25 18:10:19 +01:00
plantlife_modpack/ferns/init.lua
Niklp c7f65aac83
cleanup codebase (#46)
* cleanup codebase

* fix typo

* add nil checks to on_place

* nuke all mod loaded statements
2023-07-10 18:24:25 -04:00

22 lines
603 B
Lua

abstract_ferns = {}
dofile(minetest.get_modpath("ferns").."/settings.lua")
if abstract_ferns.config.enable_lady_fern == true then
dofile(minetest.get_modpath("ferns").."/fern.lua")
end
if abstract_ferns.config.enable_horsetails == true then
dofile(minetest.get_modpath("ferns").."/horsetail.lua")
end
if abstract_ferns.config.enable_treefern == true then
dofile(minetest.get_modpath("ferns").."/treefern.lua")
end
if abstract_ferns.config.enable_giant_treefern == true then
dofile(minetest.get_modpath("ferns").."/gianttreefern.lua")
end
dofile(minetest.get_modpath("ferns").."/crafting.lua")