2018-09-22 00:27:03 +02:00
|
|
|
local modpath = minetest.get_modpath("currency")
|
|
|
|
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "Currency mod loading...")
|
2018-09-22 00:27:03 +02:00
|
|
|
|
|
|
|
dofile(modpath.."/craftitems.lua")
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Craft_items Loaded!")
|
2018-09-22 00:27:03 +02:00
|
|
|
dofile(modpath.."/shop.lua")
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Shop Loaded!")
|
2018-09-22 00:27:03 +02:00
|
|
|
dofile(modpath.."/barter.lua")
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Barter Loaded!")
|
2018-09-22 00:27:03 +02:00
|
|
|
dofile(modpath.."/safe.lua")
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Safe Loaded!")
|
2018-09-22 00:27:03 +02:00
|
|
|
dofile(modpath.."/crafting.lua")
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Crafting Loaded!")
|
2018-09-22 00:27:03 +02:00
|
|
|
|
|
|
|
if minetest.settings:get_bool("creative_mode") then
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Creative mode in use, skipping basic income.")
|
2018-09-22 00:27:03 +02:00
|
|
|
else
|
|
|
|
dofile(modpath.."/income.lua")
|
2020-03-01 15:18:57 +01:00
|
|
|
minetest.log("info", "[Currency] Income Loaded!")
|
2018-09-22 00:27:03 +02:00
|
|
|
end
|