currency/init.lua

25 lines
894 B
Lua
Raw Normal View History

local modpath = minetest.get_modpath("currency")
2017-02-11 20:24:30 -08:00
-- internationalization boilerplate
local S, NS = dofile(modpath.."/intllib.lua")
minetest.log("info", S("Currency mod loading..."))
dofile(modpath.."/craftitems.lua")
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Craft_items Loaded!"))
dofile(modpath.."/shop.lua")
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Shop Loaded!"))
dofile(modpath.."/barter.lua")
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Barter Loaded!"))
dofile(modpath.."/safe.lua")
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Safe Loaded!"))
dofile(modpath.."/crafting.lua")
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Crafting Loaded!"))
if minetest.settings:get_bool("creative_mode") then
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Creative mode in use, skipping basic income."))
else
dofile(modpath.."/income.lua")
2017-02-20 13:01:45 -08:00
minetest.log("info", "[Currency] "..S("Income Loaded!"))
end