From a2785041dde20c23a9d53a516accb1b0cbd26f83 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 11 Apr 2020 02:50:46 +0200 Subject: [PATCH] Remove mod startup debug messages --- mods/ENTITIES/mcl_item_entity/init.lua | 4 ---- mods/ENTITIES/mcl_mobs/init.lua | 2 -- mods/ENTITIES/mobs_mc/2_throwing.lua | 4 ---- mods/ENTITIES/mobs_mc/agent.lua | 4 ---- mods/ENTITIES/mobs_mc/bat.lua | 5 ----- mods/ENTITIES/mobs_mc/blaze.lua | 9 --------- mods/ENTITIES/mobs_mc/chicken.lua | 4 ---- mods/ENTITIES/mobs_mc/cow+mooshroom.lua | 4 ---- mods/ENTITIES/mobs_mc/creeper.lua | 4 ---- mods/ENTITIES/mobs_mc/enderman.lua | 6 ------ mods/ENTITIES/mobs_mc/ghast.lua | 4 ---- mods/ENTITIES/mobs_mc/horse.lua | 5 ----- mods/ENTITIES/mobs_mc/init.lua | 4 ---- mods/ENTITIES/mobs_mc/iron_golem.lua | 4 ---- mods/ENTITIES/mobs_mc/llama.lua | 4 ---- mods/ENTITIES/mobs_mc/ocelot.lua | 4 ---- mods/ENTITIES/mobs_mc/parrot.lua | 4 ---- mods/ENTITIES/mobs_mc/pig.lua | 5 ----- mods/ENTITIES/mobs_mc/polar_bear.lua | 5 ----- mods/ENTITIES/mobs_mc/rabbit.lua | 5 ----- mods/ENTITIES/mobs_mc/sheep.lua | 4 ---- mods/ENTITIES/mobs_mc/shulker.lua | 4 ---- mods/ENTITIES/mobs_mc/skeleton+stray.lua | 4 ---- mods/ENTITIES/mobs_mc/skeleton_wither.lua | 4 ---- mods/ENTITIES/mobs_mc/slime+magma_cube.lua | 5 ----- mods/ENTITIES/mobs_mc/snowman.lua | 4 ---- mods/ENTITIES/mobs_mc/spider.lua | 4 ---- mods/ENTITIES/mobs_mc/vex.lua | 5 ----- mods/ENTITIES/mobs_mc/villager.lua | 4 ---- mods/ENTITIES/mobs_mc/villager_evoker.lua | 5 ----- mods/ENTITIES/mobs_mc/villager_illusioner.lua | 4 ---- mods/ENTITIES/mobs_mc/villager_vindicator.lua | 4 ---- mods/ENTITIES/mobs_mc/villager_zombie.lua | 4 ---- mods/ENTITIES/mobs_mc/witch.lua | 4 ---- mods/ENTITIES/mobs_mc/wolf.lua | 4 ---- mods/ENTITIES/mobs_mc/zombie.lua | 4 ---- mods/ENTITIES/mobs_mc/zombiepig.lua | 4 ---- mods/ITEMS/REDSTONE/mesecons/init.lua | 3 --- mods/ITEMS/mcl_colorblocks/init.lua | 4 ---- mods/ITEMS/mcl_doors/init.lua | 5 ----- mods/ITEMS/mcl_farming/init.lua | 4 ---- mods/ITEMS/mcl_fences/init.lua | 7 ------- mods/ITEMS/mcl_flowers/init.lua | 8 -------- mods/ITEMS/mcl_signs/init.lua | 4 ---- mods/MAPGEN/mcl_structures/init.lua | 4 ---- 45 files changed, 200 deletions(-) diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 7e2d0858e..7e10babc5 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -701,7 +701,3 @@ minetest.register_entity(":__builtin:item", { -- Note: on_punch intentionally left out. The player should *not* be able to collect items by punching }) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "mcl_item_entity loaded") -end diff --git a/mods/ENTITIES/mcl_mobs/init.lua b/mods/ENTITIES/mcl_mobs/init.lua index 87e7c19bb..c2d6cb21b 100644 --- a/mods/ENTITIES/mcl_mobs/init.lua +++ b/mods/ENTITIES/mcl_mobs/init.lua @@ -9,5 +9,3 @@ dofile(path .. "/mount.lua") -- Mob Items dofile(path .. "/crafts.lua") - -minetest.log("action", "[MOD] Mobs Redo: MineClone 2 Edition loaded") diff --git a/mods/ENTITIES/mobs_mc/2_throwing.lua b/mods/ENTITIES/mobs_mc/2_throwing.lua index e28d728f2..089e39ca9 100644 --- a/mods/ENTITIES/mobs_mc/2_throwing.lua +++ b/mods/ENTITIES/mobs_mc/2_throwing.lua @@ -399,7 +399,3 @@ if c("snowball") then end --end maikerumine code - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC mobs loaded") -end diff --git a/mods/ENTITIES/mobs_mc/agent.lua b/mods/ENTITIES/mobs_mc/agent.lua index 8efcbd629..8fa7314cf 100644 --- a/mods/ENTITIES/mobs_mc/agent.lua +++ b/mods/ENTITIES/mobs_mc/agent.lua @@ -37,7 +37,3 @@ mobs:register_mob("mobs_mc:agent", { }) mobs:register_egg("mobs_mc:agent", S("Agent"), "mobs_mc_spawn_icon_agent.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Agent loaded") -end diff --git a/mods/ENTITIES/mobs_mc/bat.lua b/mods/ENTITIES/mobs_mc/bat.lua index 2d071914a..be0d72e82 100644 --- a/mods/ENTITIES/mobs_mc/bat.lua +++ b/mods/ENTITIES/mobs_mc/bat.lua @@ -66,8 +66,3 @@ mobs:spawn_specific("mobs_mc:bat", mobs_mc.spawn.solid, {"air"}, 0, maxlight, 20 -- spawn eggs mobs:register_egg("mobs_mc:bat", S("Bat"), "mobs_mc_spawn_icon_bat.png", 0) - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Bat loaded") -end diff --git a/mods/ENTITIES/mobs_mc/blaze.lua b/mods/ENTITIES/mobs_mc/blaze.lua index 967dbb051..8231148ec 100644 --- a/mods/ENTITIES/mobs_mc/blaze.lua +++ b/mods/ENTITIES/mobs_mc/blaze.lua @@ -125,12 +125,3 @@ mobs:register_arrow("mobs_mc:blaze_fireball", { -- spawn eggs mobs:register_egg("mobs_mc:blaze", S("Blaze"), "mobs_mc_spawn_icon_blaze.png", 0) - - - - - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Blaze loaded") -end diff --git a/mods/ENTITIES/mobs_mc/chicken.lua b/mods/ENTITIES/mobs_mc/chicken.lua index c4e2707c2..d0c9c7c71 100644 --- a/mods/ENTITIES/mobs_mc/chicken.lua +++ b/mods/ENTITIES/mobs_mc/chicken.lua @@ -97,7 +97,3 @@ mobs:spawn_specific("mobs_mc:chicken", mobs_mc.spawn.grassland, {"air"}, 9, mine -- spawn eggs mobs:register_egg("mobs_mc:chicken", S("Chicken"), "mobs_mc_spawn_icon_chicken.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC chicken loaded") -end diff --git a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua index 542b5615e..58d2cd58d 100644 --- a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua +++ b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua @@ -142,7 +142,3 @@ mobs:spawn_specific("mobs_mc:mooshroom", mobs_mc.spawn.mushroom_island, {"air"}, -- spawn egg mobs:register_egg("mobs_mc:cow", S("Cow"), "mobs_mc_spawn_icon_cow.png", 0) mobs:register_egg("mobs_mc:mooshroom", S("Mooshroom"), "mobs_mc_spawn_icon_mooshroom.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Cow loaded") -end diff --git a/mods/ENTITIES/mobs_mc/creeper.lua b/mods/ENTITIES/mobs_mc/creeper.lua index 4995fa6b8..b8afb88e3 100644 --- a/mods/ENTITIES/mobs_mc/creeper.lua +++ b/mods/ENTITIES/mobs_mc/creeper.lua @@ -123,7 +123,3 @@ mobs:spawn_specific("mobs_mc:creeper", mobs_mc.spawn.solid, {"air"}, 0, 7, 20, 1 -- spawn eggs mobs:register_egg("mobs_mc:creeper", S("Creeper"), "mobs_mc_spawn_icon_creeper.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Creeper loaded") -end diff --git a/mods/ENTITIES/mobs_mc/enderman.lua b/mods/ENTITIES/mobs_mc/enderman.lua index 71dcb99e6..c159c92f5 100644 --- a/mods/ENTITIES/mobs_mc/enderman.lua +++ b/mods/ENTITIES/mobs_mc/enderman.lua @@ -337,9 +337,3 @@ mobs:spawn_specific("mobs_mc:enderman", mobs_mc.spawn.solid, {"air"}, 0, 7, 30, -- spawn eggs mobs:register_egg("mobs_mc:enderman", S("Enderman"), "mobs_mc_spawn_icon_enderman.png", 0) - -if minetest.settings:get_bool("log_mods") then - - minetest.log("action", "MC Enderman loaded") -end - diff --git a/mods/ENTITIES/mobs_mc/ghast.lua b/mods/ENTITIES/mobs_mc/ghast.lua index cc06155f9..08fbb99fc 100644 --- a/mods/ENTITIES/mobs_mc/ghast.lua +++ b/mods/ENTITIES/mobs_mc/ghast.lua @@ -107,7 +107,3 @@ mobs:register_arrow("mobs_mc:fireball", { -- spawn eggs mobs:register_egg("mobs_mc:ghast", S("Ghast"), "mobs_mc_spawn_icon_ghast.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Ghast loaded") -end diff --git a/mods/ENTITIES/mobs_mc/horse.lua b/mods/ENTITIES/mobs_mc/horse.lua index 564950809..664a1ca85 100644 --- a/mods/ENTITIES/mobs_mc/horse.lua +++ b/mods/ENTITIES/mobs_mc/horse.lua @@ -435,8 +435,3 @@ mobs:register_egg("mobs_mc:skeleton_horse", S("Skeleton Horse"), "mobs_mc_spawn_ mobs:register_egg("mobs_mc:zombie_horse", S("Zombie Horse"), "mobs_mc_spawn_icon_horse_zombie.png", 0) mobs:register_egg("mobs_mc:donkey", S("Donkey"), "mobs_mc_spawn_icon_donkey.png", 0) mobs:register_egg("mobs_mc:mule", S("Mule"), "mobs_mc_spawn_icon_mule.png", 0) - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Horse loaded") -end diff --git a/mods/ENTITIES/mobs_mc/init.lua b/mods/ENTITIES/mobs_mc/init.lua index 3206c0ba0..58006fe90 100644 --- a/mods/ENTITIES/mobs_mc/init.lua +++ b/mods/ENTITIES/mobs_mc/init.lua @@ -98,7 +98,3 @@ COLISIONBOX in minetest press f5 to see where you are looking at then put these --]] -- -- - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "[MOD] mobs_mc loaded") -end diff --git a/mods/ENTITIES/mobs_mc/iron_golem.lua b/mods/ENTITIES/mobs_mc/iron_golem.lua index 49a14c2c4..2ccee2d0a 100644 --- a/mods/ENTITIES/mobs_mc/iron_golem.lua +++ b/mods/ENTITIES/mobs_mc/iron_golem.lua @@ -173,7 +173,3 @@ mobs_mc.tools.check_iron_golem_summon = function(pos) end end end - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Iron Golem loaded") -end diff --git a/mods/ENTITIES/mobs_mc/llama.lua b/mods/ENTITIES/mobs_mc/llama.lua index 3b75e57ae..dd2d85a37 100644 --- a/mods/ENTITIES/mobs_mc/llama.lua +++ b/mods/ENTITIES/mobs_mc/llama.lua @@ -213,7 +213,3 @@ mobs:spawn_specific("mobs_mc:llama", mobs_mc.spawn.savanna, {"air"}, 0, minetest -- spawn eggs mobs:register_egg("mobs_mc:llama", S("Llama"), "mobs_mc_spawn_icon_llama.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Llama loaded") -end diff --git a/mods/ENTITIES/mobs_mc/ocelot.lua b/mods/ENTITIES/mobs_mc/ocelot.lua index 31d319f88..5a9525a09 100644 --- a/mods/ENTITIES/mobs_mc/ocelot.lua +++ b/mods/ENTITIES/mobs_mc/ocelot.lua @@ -205,7 +205,3 @@ mobs:spawn({ -- spawn eggs -- FIXME: The spawn icon shows a cat texture, not an ocelot texture mobs:register_egg("mobs_mc:ocelot", S("Ocelot"), "mobs_mc_spawn_icon_cat.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Ocelot loaded") -end diff --git a/mods/ENTITIES/mobs_mc/parrot.lua b/mods/ENTITIES/mobs_mc/parrot.lua index 4cee41d15..080bddd48 100644 --- a/mods/ENTITIES/mobs_mc/parrot.lua +++ b/mods/ENTITIES/mobs_mc/parrot.lua @@ -86,7 +86,3 @@ mobs:register_mob("mobs_mc:parrot", { -- spawn eggs mobs:register_egg("mobs_mc:parrot", S("Parrot"), "mobs_mc_spawn_icon_parrot.png", 0, true) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Parrot loaded") -end diff --git a/mods/ENTITIES/mobs_mc/pig.lua b/mods/ENTITIES/mobs_mc/pig.lua index 921eb91f1..05e6a0859 100644 --- a/mods/ENTITIES/mobs_mc/pig.lua +++ b/mods/ENTITIES/mobs_mc/pig.lua @@ -182,8 +182,3 @@ mobs:spawn_specific("mobs_mc:pig", mobs_mc.spawn.grassland, {"air"}, 9, minetest -- spawn eggs mobs:register_egg("mobs_mc:pig", S("Pig"), "mobs_mc_spawn_icon_pig.png", 0) - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Pig loaded") -end diff --git a/mods/ENTITIES/mobs_mc/polar_bear.lua b/mods/ENTITIES/mobs_mc/polar_bear.lua index b4e2e34f3..fd1eaa1ce 100644 --- a/mods/ENTITIES/mobs_mc/polar_bear.lua +++ b/mods/ENTITIES/mobs_mc/polar_bear.lua @@ -60,8 +60,3 @@ mobs:spawn_specific("mobs_mc:polar_bear", mobs_mc.spawn.snow, {"air"}, 0, minete -- spawn egg mobs:register_egg("mobs_mc:polar_bear", S("Polar Bear"), "mobs_mc_spawn_icon_polarbear.png", 0) - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Polar Bear loaded") -end diff --git a/mods/ENTITIES/mobs_mc/rabbit.lua b/mods/ENTITIES/mobs_mc/rabbit.lua index a7c05315a..ef7b702bd 100644 --- a/mods/ENTITIES/mobs_mc/rabbit.lua +++ b/mods/ENTITIES/mobs_mc/rabbit.lua @@ -162,8 +162,3 @@ mobs:register_egg("mobs_mc:rabbit", S("Rabbit"), "mobs_mc_spawn_icon_rabbit.png" -- Note: This spawn egg does not exist in Minecraft mobs:register_egg("mobs_mc:killer_bunny", S("Killer Bunny"), "mobs_mc_spawn_icon_rabbit.png^[colorize:#FF0000:192", 0) -- TODO: Update inventory image - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Bunny loaded") -end diff --git a/mods/ENTITIES/mobs_mc/sheep.lua b/mods/ENTITIES/mobs_mc/sheep.lua index 2982580df..94c2d48c9 100644 --- a/mods/ENTITIES/mobs_mc/sheep.lua +++ b/mods/ENTITIES/mobs_mc/sheep.lua @@ -263,7 +263,3 @@ mobs:spawn_specific("mobs_mc:sheep", mobs_mc.spawn.grassland, {"air"}, 0, minete -- spawn eggs mobs:register_egg("mobs_mc:sheep", S("Sheep"), "mobs_mc_spawn_icon_sheep.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Sheep loaded") -end diff --git a/mods/ENTITIES/mobs_mc/shulker.lua b/mods/ENTITIES/mobs_mc/shulker.lua index ead105d2a..4304ef061 100644 --- a/mods/ENTITIES/mobs_mc/shulker.lua +++ b/mods/ENTITIES/mobs_mc/shulker.lua @@ -78,7 +78,3 @@ mobs:register_arrow("mobs_mc:shulkerbullet", { mobs:register_egg("mobs_mc:shulker", S("Schulker"), "mobs_mc_spawn_icon_shulker.png", 0) mobs:spawn_specific("mobs_mc:shulker", mobs_mc.spawn.end_city, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 5000, 2, mobs_mc.spawn_height.end_min, mobs_mc.spawn_height.end_max) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Shulkers loaded") -end diff --git a/mods/ENTITIES/mobs_mc/skeleton+stray.lua b/mods/ENTITIES/mobs_mc/skeleton+stray.lua index 5d06b812f..5d0c8ae85 100644 --- a/mods/ENTITIES/mobs_mc/skeleton+stray.lua +++ b/mods/ENTITIES/mobs_mc/skeleton+stray.lua @@ -135,7 +135,3 @@ mobs:spawn_specific("mobs_mc:stray", mobs_mc.spawn.snow, {"air"}, 0, 7, 20, 1900 -- spawn eggs mobs:register_egg("mobs_mc:skeleton", S("Skeleton"), "mobs_mc_spawn_icon_skeleton.png", 0) mobs:register_egg("mobs_mc:stray", S("Stray"), "mobs_mc_spawn_icon_stray.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Skeleton loaded") -end diff --git a/mods/ENTITIES/mobs_mc/skeleton_wither.lua b/mods/ENTITIES/mobs_mc/skeleton_wither.lua index 8af94a856..c202228cb 100644 --- a/mods/ENTITIES/mobs_mc/skeleton_wither.lua +++ b/mods/ENTITIES/mobs_mc/skeleton_wither.lua @@ -90,7 +90,3 @@ mobs:spawn_specific("mobs_mc:witherskeleton", mobs_mc.spawn.nether_fortress, {"a -- spawn eggs mobs:register_egg("mobs_mc:witherskeleton", S("Wither Skeleton"), "mobs_mc_spawn_icon_witherskeleton.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Wither Skeleton loaded") -end diff --git a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua index 236e2277a..d361b89b6 100644 --- a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua +++ b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua @@ -270,8 +270,3 @@ mobs:spawn_specific("mobs_mc:magma_cube_big", mobs_mc.spawn.nether_fortress, {"a -- spawn eggs mobs:register_egg("mobs_mc:magma_cube_big", S("Magma Cube"), "mobs_mc_spawn_icon_magmacube.png") mobs:register_egg("mobs_mc:slime_big", S("Slime"), "mobs_mc_spawn_icon_slime.png") - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Slimes loaded") -end diff --git a/mods/ENTITIES/mobs_mc/snowman.lua b/mods/ENTITIES/mobs_mc/snowman.lua index f0cab4dfb..fd3947d7f 100644 --- a/mods/ENTITIES/mobs_mc/snowman.lua +++ b/mods/ENTITIES/mobs_mc/snowman.lua @@ -164,7 +164,3 @@ end -- Spawn egg mobs:register_egg("mobs_mc:snowman", S("Snow Golem"), "mobs_mc_spawn_icon_snowman.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Snow Golem loaded") -end diff --git a/mods/ENTITIES/mobs_mc/spider.lua b/mods/ENTITIES/mobs_mc/spider.lua index 5dbff6af1..f9d584075 100644 --- a/mods/ENTITIES/mobs_mc/spider.lua +++ b/mods/ENTITIES/mobs_mc/spider.lua @@ -81,7 +81,3 @@ mobs:spawn_specific("mobs_mc:spider", mobs_mc.spawn.solid, {"air"}, 0, 7, 30, 17 -- spawn eggs mobs:register_egg("mobs_mc:spider", S("Spider"), "mobs_mc_spawn_icon_spider.png", 0) mobs:register_egg("mobs_mc:cave_spider", S("Cave Spider"), "mobs_mc_spawn_icon_cave_spider.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Spiders loaded") -end diff --git a/mods/ENTITIES/mobs_mc/vex.lua b/mods/ENTITIES/mobs_mc/vex.lua index ec0f56222..4c648577d 100644 --- a/mods/ENTITIES/mobs_mc/vex.lua +++ b/mods/ENTITIES/mobs_mc/vex.lua @@ -91,8 +91,3 @@ mobs:register_mob("mobs_mc:vex", { -- spawn eggs mobs:register_egg("mobs_mc:vex", S("Vex"), "mobs_mc_spawn_icon_vex.png", 0) - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Vex loaded") -end diff --git a/mods/ENTITIES/mobs_mc/villager.lua b/mods/ENTITIES/mobs_mc/villager.lua index 39fabe9fe..bb6fee743 100644 --- a/mods/ENTITIES/mobs_mc/villager.lua +++ b/mods/ENTITIES/mobs_mc/villager.lua @@ -1050,7 +1050,3 @@ mobs:spawn_specific("mobs_mc:villager", mobs_mc.spawn.village, {"air"}, 0, minet -- spawn eggs mobs:register_egg("mobs_mc:villager", S("Villager"), "mobs_mc_spawn_icon_villager.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC mobs loaded") -end diff --git a/mods/ENTITIES/mobs_mc/villager_evoker.lua b/mods/ENTITIES/mobs_mc/villager_evoker.lua index 3fc22e1d0..3b9b15787 100644 --- a/mods/ENTITIES/mobs_mc/villager_evoker.lua +++ b/mods/ENTITIES/mobs_mc/villager_evoker.lua @@ -81,8 +81,3 @@ mobs:register_mob("mobs_mc:evoker", { -- spawn eggs mobs:register_egg("mobs_mc:evoker", S("Evoker"), "mobs_mc_spawn_icon_evoker.png", 0) - - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Evoker loaded") -end diff --git a/mods/ENTITIES/mobs_mc/villager_illusioner.lua b/mods/ENTITIES/mobs_mc/villager_illusioner.lua index 4ead33e27..0e41f4e99 100644 --- a/mods/ENTITIES/mobs_mc/villager_illusioner.lua +++ b/mods/ENTITIES/mobs_mc/villager_illusioner.lua @@ -59,7 +59,3 @@ mobs:register_mob("mobs_mc:illusioner", { }) mobs:register_egg("mobs_mc:illusioner", S("Illusioner"), "mobs_mc_spawn_icon_illusioner.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Illusioner loaded") -end diff --git a/mods/ENTITIES/mobs_mc/villager_vindicator.lua b/mods/ENTITIES/mobs_mc/villager_vindicator.lua index 2155d511e..d7d6f273a 100644 --- a/mods/ENTITIES/mobs_mc/villager_vindicator.lua +++ b/mods/ENTITIES/mobs_mc/villager_vindicator.lua @@ -69,7 +69,3 @@ mobs:register_mob("mobs_mc:vindicator", { -- spawn eggs mobs:register_egg("mobs_mc:vindicator", S("Vindicator"), "mobs_mc_spawn_icon_vindicator.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC vindicator loaded") -end diff --git a/mods/ENTITIES/mobs_mc/villager_zombie.lua b/mods/ENTITIES/mobs_mc/villager_zombie.lua index b5f6cd83d..1e8748035 100644 --- a/mods/ENTITIES/mobs_mc/villager_zombie.lua +++ b/mods/ENTITIES/mobs_mc/villager_zombie.lua @@ -83,7 +83,3 @@ mobs:spawn_specific("mobs_mc:villager_zombie", mobs_mc.spawn.village, {"air"}, 0 -- spawn eggs mobs:register_egg("mobs_mc:villager_zombie", S("Zombie Villager"), "mobs_mc_spawn_icon_zombie_villager.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC mobs Zombie Villager loaded") -end diff --git a/mods/ENTITIES/mobs_mc/witch.lua b/mods/ENTITIES/mobs_mc/witch.lua index 076738791..fcc056271 100644 --- a/mods/ENTITIES/mobs_mc/witch.lua +++ b/mods/ENTITIES/mobs_mc/witch.lua @@ -103,7 +103,3 @@ mobs:register_arrow("mobs_mc:potion_arrow", { -- spawn eggs mobs:register_egg("mobs_mc:witch", S("Witch"), "mobs_mc_spawn_icon_witch.png", 0, true) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC mobs loaded") -end diff --git a/mods/ENTITIES/mobs_mc/wolf.lua b/mods/ENTITIES/mobs_mc/wolf.lua index 37bfc5fea..54bb0d41f 100644 --- a/mods/ENTITIES/mobs_mc/wolf.lua +++ b/mods/ENTITIES/mobs_mc/wolf.lua @@ -207,7 +207,3 @@ mobs:register_mob("mobs_mc:dog", dog) mobs:spawn_specific("mobs_mc:wolf", mobs_mc.spawn.wolf, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 9000, 7, mobs_mc.spawn_height.water+3, mobs_mc.spawn_height.overworld_max) mobs:register_egg("mobs_mc:wolf", S("Wolf"), "mobs_mc_spawn_icon_wolf.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Wolf loaded") -end diff --git a/mods/ENTITIES/mobs_mc/zombie.lua b/mods/ENTITIES/mobs_mc/zombie.lua index 6e55d6e83..552369b8c 100644 --- a/mods/ENTITIES/mobs_mc/zombie.lua +++ b/mods/ENTITIES/mobs_mc/zombie.lua @@ -128,7 +128,3 @@ mobs:spawn_specific("mobs_mc:baby_husk", mobs_mc.spawn.desert, {"air"}, 0, 7, 30 -- Spawn eggs mobs:register_egg("mobs_mc:husk", S("Husk"), "mobs_mc_spawn_icon_husk.png", 0) mobs:register_egg("mobs_mc:zombie", S("Zombie"), "mobs_mc_spawn_icon_zombie.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Zombie loaded") -end diff --git a/mods/ENTITIES/mobs_mc/zombiepig.lua b/mods/ENTITIES/mobs_mc/zombiepig.lua index 777f23869..bdf97e05d 100644 --- a/mods/ENTITIES/mobs_mc/zombiepig.lua +++ b/mods/ENTITIES/mobs_mc/zombiepig.lua @@ -111,7 +111,3 @@ mobs:spawn_specific("mobs_mc:pigman", mobs_mc.spawn.nether_portal, {"air"}, 0, m -- spawn eggs mobs:register_egg("mobs_mc:pigman", S("Zombie Pigman"), "mobs_mc_spawn_icon_zombie_pigman.png", 0) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "MC Pigmen loaded") -end diff --git a/mods/ITEMS/REDSTONE/mesecons/init.lua b/mods/ITEMS/REDSTONE/mesecons/init.lua index 3286c0cef..93d299f06 100644 --- a/mods/ITEMS/REDSTONE/mesecons/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons/init.lua @@ -117,8 +117,5 @@ function mesecon.receptor_off(pos, rules) mesecon.queue:add_action(pos, "receptor_off", {rules}, nil, rules) end - -print("[OK] Mesecons") - --Services like turnoff receptor on dignode and so on dofile(minetest.get_modpath("mesecons").."/services.lua"); diff --git a/mods/ITEMS/mcl_colorblocks/init.lua b/mods/ITEMS/mcl_colorblocks/init.lua index f55003e02..c4b1ec189 100644 --- a/mods/ITEMS/mcl_colorblocks/init.lua +++ b/mods/ITEMS/mcl_colorblocks/init.lua @@ -1,4 +1,3 @@ -local init = os.clock() local S = minetest.get_translator("mcl_colorblocks") local doc_mod = minetest.get_modpath("doc") @@ -217,6 +216,3 @@ minetest.register_abm({ end end, }) - -local time_to_load= os.clock() - init -print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)) diff --git a/mods/ITEMS/mcl_doors/init.lua b/mods/ITEMS/mcl_doors/init.lua index 8bdf12d3a..9e06b513f 100644 --- a/mods/ITEMS/mcl_doors/init.lua +++ b/mods/ITEMS/mcl_doors/init.lua @@ -1,4 +1,3 @@ -local init = os.clock() mcl_doors = {} local this = minetest.get_current_modname() @@ -8,7 +7,3 @@ dofile(path.."/api_doors.lua") -- Doors API dofile(path.."/api_trapdoors.lua") -- Trapdoors API dofile(path.."/register.lua") -- Register builtin doors and trapdoors dofile(path.."/alias.lua") -- Legacy aliases - --- Debug info -local time_to_load= os.clock() - init -minetest.log("action", (string.format("[MOD] "..this.." loaded in %.4f s", time_to_load))) diff --git a/mods/ITEMS/mcl_farming/init.lua b/mods/ITEMS/mcl_farming/init.lua index 19be53805..adce058ee 100644 --- a/mods/ITEMS/mcl_farming/init.lua +++ b/mods/ITEMS/mcl_farming/init.lua @@ -1,4 +1,3 @@ -local init = os.clock() mcl_farming = {} -- IMPORTANT API AND HELPER FUNCTIONS -- @@ -28,6 +27,3 @@ dofile(minetest.get_modpath("mcl_farming").."/potatoes.lua") -- ========= BEETROOT ========= dofile(minetest.get_modpath("mcl_farming").."/beetroot.lua") - -local time_to_load= os.clock() - init -print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)) diff --git a/mods/ITEMS/mcl_fences/init.lua b/mods/ITEMS/mcl_fences/init.lua index 5d6654c14..7583f0546 100644 --- a/mods/ITEMS/mcl_fences/init.lua +++ b/mods/ITEMS/mcl_fences/init.lua @@ -1,5 +1,3 @@ -local init = os.clock() - local S = minetest.get_translator("mcl_fences") -- Node box @@ -306,8 +304,3 @@ minetest.register_craft({ recipe = "group:fence_wood", burntime = 15, }) - -local time_to_load = os.clock() - init -minetest.log("action", string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)) - - diff --git a/mods/ITEMS/mcl_flowers/init.lua b/mods/ITEMS/mcl_flowers/init.lua index 2b9aac6b9..24f551a2f 100644 --- a/mods/ITEMS/mcl_flowers/init.lua +++ b/mods/ITEMS/mcl_flowers/init.lua @@ -2,10 +2,6 @@ local S = minetest.get_translator("mcl_flowers") local mod_screwdriver = minetest.get_modpath("screwdriver") ~= nil --- Minetest 0.4 mod: default --- See README.txt for licensing and other information. -local init = os.clock() - -- Simple flower template local smallflowerlongdesc = S("This is a small flower. Small flowers are mainly used for dye production and can also be potted.") local plant_usage_help = S("It can only be placed on a block on which it would also survive.") @@ -439,7 +435,3 @@ minetest.register_node("mcl_flowers:waterlily", { -- Legacy support minetest.register_alias("mcl_core:tallgrass", "mcl_flowers:tallgrass") - --- Show loading time -local time_to_load= os.clock() - init -print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)) diff --git a/mods/ITEMS/mcl_signs/init.lua b/mods/ITEMS/mcl_signs/init.lua index 442458a91..2d9fc5dea 100644 --- a/mods/ITEMS/mcl_signs/init.lua +++ b/mods/ITEMS/mcl_signs/init.lua @@ -569,7 +569,3 @@ minetest.register_lbm({ update_sign(pos) end, }) - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", "[mcl_signs] loaded") -end diff --git a/mods/MAPGEN/mcl_structures/init.lua b/mods/MAPGEN/mcl_structures/init.lua index 6e6ca5856..083f9539e 100644 --- a/mods/MAPGEN/mcl_structures/init.lua +++ b/mods/MAPGEN/mcl_structures/init.lua @@ -1,4 +1,3 @@ -local init = os.clock() local S = minetest.get_translator("mcl_structures") mcl_structures ={} @@ -530,6 +529,3 @@ minetest.register_chatcommand("spawnstruct", { end end }) - -local time_to_load= os.clock() - init -minetest.log("action", (string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load)))