From 39f5cba27eef35877c91291f518974f34130fcb6 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 31 Jan 2017 19:39:31 -0500 Subject: 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 ;-) --- currency/income.lua | 4 ++-- currency/init.lua | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'currency') 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 -- cgit v1.2.3