Browse Source

Ajoute messages de chargement des mods dans le journal "action"

master
sys4-fr 1 year ago
parent
commit
4eb9ffb088
12 changed files with 25 additions and 3 deletions
  1. +3
    -1
      building_blocks/init.lua
  2. +2
    -0
      chains/init.lua
  3. +2
    -0
      computer/init.lua
  4. +2
    -0
      fake_fire/init.lua
  5. +1
    -1
      homedecor/init.lua
  6. +2
    -0
      homedecor_3d_extras/init.lua
  7. +2
    -0
      homedecor_i18n/init.lua
  8. +2
    -0
      inbox/init.lua
  9. +3
    -1
      itemframes/init.lua
  10. +2
    -0
      lavalamp/init.lua
  11. +2
    -0
      lrfurn/init.lua
  12. +2
    -0
      plasmascreen/init.lua

+ 3
- 1
building_blocks/init.lua View File

@@ -4,4 +4,6 @@ local modpath = minetest.get_modpath("building_blocks")
dofile(modpath.."/alias.lua")
dofile(modpath.."/node_stairs.lua")
dofile(modpath.."/others.lua")
dofile(modpath.."/recipes.lua")
dofile(modpath.."/recipes.lua")

minetest.log("action", "[building_blocks] loaded.")

+ 2
- 0
chains/init.lua View File

@@ -177,3 +177,5 @@ minetest.register_craft({
{'technic:brass_ingot', 'technic:brass_ingot', 'technic:brass_ingot'},
}
})

minetest.log("action", "[chains] loaded.")

+ 2
- 0
computer/init.lua View File

@@ -97,3 +97,5 @@ dofile(MODPATH.."/computers.lua")
dofile(MODPATH.."/miscitems.lua")
dofile(MODPATH.."/recipes.lua")
dofile(MODPATH.."/tetris.lua")

minetest.log("action", "[computer] loaded.")

+ 2
- 0
fake_fire/init.lua View File

@@ -214,3 +214,5 @@ minetest.register_alias("fake_fire:smokeless_ice_fire", "fake_fire:ice_fire")
minetest.register_alias("fake_fire:smokeless_chimney_top_stone", "fake_fire:chimney_top_stone")
minetest.register_alias("fake_fire:smokeless_chimney_top_sandstone", "fake_fire:chimney_top_sandstone")
minetest.register_alias("fake_fire:flint", "fake_fire:flint_and_steel")

minetest.log("action", "[fake_fire] loaded.")

+ 1
- 1
homedecor/init.lua View File

@@ -119,6 +119,6 @@ dofile(modpath.."/wardrobe.lua")

dofile(modpath.."/crafts.lua")

if minetest.settings:get_bool("log_mod") then
if minetest.settings:get_bool("log_mods") then
minetest.log("action", "[HomeDecor] " .. S("Loaded!"))
end

+ 2
- 0
homedecor_3d_extras/init.lua View File

@@ -89,3 +89,5 @@ if minetest.get_modpath("moreblocks") then
}
})
end

minetest.log("action", "[homedecor_3d_extra] loaded.")

+ 2
- 0
homedecor_i18n/init.lua View File

@@ -5,3 +5,5 @@ homedecor_i18n = { }

local MP = minetest.get_modpath(minetest.get_current_modname())
homedecor_i18n.gettext, homedecor_i18n.ngettext = dofile(MP.."/intllib.lua")

minetest.log("action", "[homedecor_i18n] loaded.")

+ 2
- 0
inbox/init.lua View File

@@ -126,3 +126,5 @@ function inbox.get_inbox_insert_formspec(pos)
"listring[]"
return formspec
end

minetest.log("action", "[inbox] loaded.")

+ 3
- 1
itemframes/init.lua View File

@@ -299,4 +299,6 @@ minetest.register_craft({
if minetest.get_modpath("mesecons_mvps") then
mesecon.register_mvps_stopper("itemframes:frame")
mesecon.register_mvps_stopper("itemframes:pedestal")
end
end

minetest.log("action", "[itemframes] loaded.")

+ 2
- 0
lavalamp/init.lua View File

@@ -153,3 +153,5 @@ minetest.register_lbm({
end
end
})

minetest.log("action", "[lavalamp] loaded.")

+ 2
- 0
lrfurn/init.lua View File

@@ -71,3 +71,5 @@ dofile(minetest.get_modpath("lrfurn").."/sofas.lua")
dofile(minetest.get_modpath("lrfurn").."/armchairs.lua")
dofile(minetest.get_modpath("lrfurn").."/coffeetable.lua")
dofile(minetest.get_modpath("lrfurn").."/endtable.lua")

minetest.log("action", "[lrfurn] loaded.")

+ 2
- 0
plasmascreen/init.lua View File

@@ -186,3 +186,5 @@ minetest.register_craft({
{'group:stick', 'default:coal_lump', 'group:stick'},
}
})

minetest.log("action", "[plasmascreen] loaded.")

Loading…
Cancel
Save