summaryrefslogtreecommitdiff
path: root/currency
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-31 19:39:31 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-31 19:39:31 -0500
commit39f5cba27eef35877c91291f518974f34130fcb6 (patch)
tree117a9d1b7d4ee5f78f73e1216e982c366ed9ecc6 /currency
parent2922421f4a88e56a0a1c819f62bf2bc287835388 (diff)
downloaddreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.gz
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.bz2
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.xz
dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.zip
Huge update - lots of mods:
areas, biome_lib, blox, bobblocks, boost_cart, homedecor, mobs, coloredwood, ilights, inbox, item_tweaks, moreblocks, moreores, pipeworks, plasticbox, signs_lib, stainedglass, roads, unifieddyes, vines, worldedit, xban2, maybe some others I didn't think about ;-)
Diffstat (limited to 'currency')
-rw-r--r--currency/income.lua4
-rw-r--r--currency/init.lua16
2 files changed, 10 insertions, 10 deletions
diff --git a/currency/income.lua b/currency/income.lua
index 5aa6fbc..2bb42bc 100644
--- a/currency/income.lua
+++ b/currency/income.lua
@@ -11,7 +11,7 @@ minetest.register_globalstep(function(dtime)
players_income[name] = 0
end
players_income[name] = 1
- print("[Currency] basic income for "..name.."")
+ minetest.log("info", "[Currency] basic income for "..name.."")
end
end
end)
@@ -27,7 +27,7 @@ earn_income = function(player)
local inv = player:get_inventory()
inv:add_item("main", {name="currency:minegeld_5", count=count})
players_income[name] = 0
- print("[Currency] added basic income for "..name.." to inventory")
+ minetest.log("info", "[Currency] added basic income for "..name.." to inventory")
end
end
diff --git a/currency/init.lua b/currency/init.lua
index 0c94994..744fcad 100644
--- a/currency/init.lua
+++ b/currency/init.lua
@@ -1,20 +1,20 @@
-print(" Currency mod loading... ")
+minetest.log("info", " Currency mod loading... ")
local modpath = minetest.get_modpath("currency")
dofile(modpath.."/craftitems.lua")
-print("[Currency] Craft_items Loaded!")
+minetest.log("info", "[Currency] Craft_items Loaded!")
dofile(modpath.."/shop.lua")
-print("[Currency] Shop Loaded!")
+minetest.log("info", "[Currency] Shop Loaded!")
dofile(modpath.."/barter.lua")
-print("[Currency] Barter Loaded!")
+minetest.log("info", "[Currency] Barter Loaded!")
dofile(modpath.."/safe.lua")
-print("[Currency] Safe Loaded!")
+minetest.log("info", "[Currency] Safe Loaded!")
dofile(modpath.."/crafting.lua")
-print("[Currency] Crafting Loaded!")
+minetest.log("info", "[Currency] Crafting Loaded!")
if minetest.setting_getbool("creative_mode") then
- print("[Currency] Creative mode in use, skipping basic income.")
+ minetest.log("info", "[Currency] Creative mode in use, skipping basic income.")
else
dofile(modpath.."/income.lua")
- print("[Currency] Income Loaded!")
+ minetest.log("info", "[Currency] Income Loaded!")
end