2014-07-04 11:28:19 +02:00
|
|
|
print(" Currency mod loading... ")
|
2014-12-26 21:33:18 +01:00
|
|
|
local modpath = minetest.get_modpath("currency")
|
|
|
|
|
|
|
|
dofile(modpath.."/craftitems.lua")
|
2014-07-04 11:28:19 +02:00
|
|
|
print("[Currency] Craft_items Loaded!")
|
2014-12-26 21:33:18 +01:00
|
|
|
dofile(modpath.."/shop.lua")
|
2014-07-04 11:28:19 +02:00
|
|
|
print("[Currency] Shop Loaded!")
|
2014-12-26 21:33:18 +01:00
|
|
|
dofile(modpath.."/barter.lua")
|
2014-07-04 11:28:19 +02:00
|
|
|
print("[Currency] Barter Loaded!")
|
2014-12-26 21:33:18 +01:00
|
|
|
dofile(modpath.."/safe.lua")
|
2014-07-04 11:28:19 +02:00
|
|
|
print("[Currency] Safe Loaded!")
|
2014-12-26 21:33:18 +01:00
|
|
|
dofile(modpath.."/crafting.lua")
|
2014-07-04 11:28:19 +02:00
|
|
|
print("[Currency] Crafting Loaded!")
|
2014-12-26 21:33:18 +01:00
|
|
|
|
|
|
|
if minetest.setting_getbool("creative_mode") then
|
|
|
|
print("[Currency] Creative mode in use, skipping basic income.")
|
|
|
|
else
|
|
|
|
dofile(modpath.."/income.lua")
|
|
|
|
print("[Currency] Income Loaded!")
|
|
|
|
end
|