summaryrefslogtreecommitdiff
path: root/currency/init.lua
blob: 744fcad9faf43253958176d6b40a501a0f5bf9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
minetest.log("info", " Currency mod loading... ")
local modpath = minetest.get_modpath("currency")

dofile(modpath.."/craftitems.lua")
minetest.log("info", "[Currency] Craft_items Loaded!")
dofile(modpath.."/shop.lua")
minetest.log("info", "[Currency] Shop Loaded!")
dofile(modpath.."/barter.lua")
minetest.log("info", "[Currency]  Barter Loaded!")
dofile(modpath.."/safe.lua")
minetest.log("info", "[Currency] Safe Loaded!")
dofile(modpath.."/crafting.lua")
minetest.log("info", "[Currency] Crafting Loaded!")

if minetest.setting_getbool("creative_mode") then
	minetest.log("info", "[Currency] Creative mode in use, skipping basic income.")
else
	dofile(modpath.."/income.lua")
	minetest.log("info", "[Currency] Income Loaded!")
end