Log mod load if log_mod is set to true

master
PilzAdam 2012-10-07 19:36:10 +02:00
parent a63538cf91
commit 857c373136
2 changed files with 9 additions and 5 deletions

View File

@ -15,11 +15,11 @@ http://wiki.minetest.com/wiki/Installing_Mods
How to use the mod:
Craft a bow with the strings from the farming mod:
string wood
string wood
string wood
string wood
string wood
string wood
Craft arrows with:
stick stick steel
stick stick steel
Select the bow and shoot with left mouse click. Every shoot will take 1
arrow from your inventory and wears out the bow (you have around 50
shoots).

View File

@ -96,4 +96,8 @@ dofile(minetest.get_modpath("throwing").."/arrow.lua")
dofile(minetest.get_modpath("throwing").."/fire_arrow.lua")
dofile(minetest.get_modpath("throwing").."/teleport_arrow.lua")
dofile(minetest.get_modpath("throwing").."/dig_arrow.lua")
dofile(minetest.get_modpath("throwing").."/build_arrow.lua")
dofile(minetest.get_modpath("throwing").."/build_arrow.lua")
if minetest.setting_get("log_mods") then
minetest.log("action", "throwing loaded")
end