melterns/fluidity/functions.lua
2018-04-02 13:39:41 +03:00

8 lines
156 B
Lua

function fluidity.fluid_name(name)
return name:gsub("% Source$", "")
end
function fluidity.fluid_short(str)
return string.lower(str):gsub("%s", "_")
end