melterns/fluidity/init.lua

24 lines
490 B
Lua
Raw Normal View History

-- Fluidity for Minetest 5.0.0+
2019-03-09 12:49:50 +01:00
-- Copyright (c) 2019 Evert "Diamond" Prants <evert@lunasqu.ee>
2018-04-02 12:39:41 +02:00
fluidity = rawget(_G, "fluidity") or {}
local mpath = minetest.get_modpath("fluidity")
fluidity.modpath = mpath
2018-06-20 18:58:58 +02:00
function fluidity.fluid_short(str)
return string.lower(str):gsub("%s", "_")
end
2018-04-02 12:39:41 +02:00
-- Molten metals
2018-04-02 12:39:41 +02:00
dofile(mpath.."/molten.lua")
2019-03-09 12:49:50 +01:00
-- Meltable metals list
dofile(mpath.."/meltable.lua")
-- Florbs
dofile(mpath.."/florbs.lua")
-- Register everything
dofile(mpath.."/register.lua")