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 7e2d0858e1..7e10babc5e 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 87e7c19bb4..c2d6cb21bc 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 e28d728f2b..089e39ca94 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 8efcbd6296..8fa7314cf2 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 2d071914a1..be0d72e820 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 967dbb0514..8231148ec9 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 c4e2707c24..d0c9c7c714 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 542b5615ec..58d2cd58dc 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 4995fa6b8f..b8afb88e30 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 71dcb99e62..c159c92f5a 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 cc06155f93..08fbb99fcd 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 564950809a..664a1ca857 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 3206c0ba04..58006fe90e 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 49a14c2c48..2ccee2d0a2 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 3b75e57ae0..dd2d85a376 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 31d319f889..5a9525a092 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 4cee41d153..080bddd487 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 921eb91f1a..05e6a0859b 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 b4e2e34f30..fd1eaa1ced 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 a7c05315a2..ef7b702bde 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 2982580df7..94c2d48c9c 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 ead105d2a0..4304ef061f 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 5d06b812f7..5d0c8ae858 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 8af94a8564..c202228cb4 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 236e2277a9..d361b89b68 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 f0cab4dfba..fd3947d7f7 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 5dbff6af1c..f9d5840750 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 ec0f562221..4c648577d4 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 39fabe9feb..bb6fee743d 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 3fc22e1d08..3b9b157871 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 4ead33e27f..0e41f4e998 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 2155d511e0..d7d6f273ad 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 b5f6cd83d1..1e87480357 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 0767387912..fcc056271d 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 37bfc5fea1..54bb0d41f9 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 6e55d6e83e..552369b8c3 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 777f23869e..bdf97e05d8 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 3286c0cef4..93d299f06d 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 f55003e024..c4b1ec1897 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 8bdf12d3a4..9e06b513f1 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 19be538055..adce058ee3 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 5d6654c14d..7583f0546b 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 2b9aac6b97..24f551a2f6 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 442458a919..2d9fc5dea4 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 6e6ca58566..083f9539ea 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)))