Rename mod: 3d_armor → mcl_armor
This commit is contained in:
parent
edab0be8f5
commit
fb251db925
103 changed files with 185 additions and 182 deletions
|
@ -1,4 +1,4 @@
|
|||
# MineClone 2 HUD bar for `3d_armor` [`mcl_hbarmor`]
|
||||
# MineClone 2 HUD bar for `mcl_armor` [`mcl_hbarmor`]
|
||||
|
||||
## Description
|
||||
This mod adds a simple HUD bar which displays the player's armor points.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local S = minetest.get_translator("mcl_hbarmor")
|
||||
|
||||
if (not armor) or (not armor.def) then
|
||||
minetest.log("error", "[mcl_hbarmor] Outdated 3d_armor version. Please update your version of 3d_armor!")
|
||||
minetest.log("error", "[mcl_hbarmor] Outdated mcl_armor version. Please update your version of mcl_armor!")
|
||||
end
|
||||
|
||||
local mcl_hbarmor = {}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mcl_hbarmor
|
||||
depends = hudbars, 3d_armor
|
||||
depends = hudbars, mcl_armor
|
||||
|
|
|
@ -7,7 +7,7 @@ local players = {}
|
|||
-- Containing all the items for each Creative Mode tab
|
||||
local inventory_lists = {}
|
||||
|
||||
local show_armor = minetest.get_modpath("3d_armor") ~= nil
|
||||
local show_armor = minetest.get_modpath("mcl_armor") ~= nil
|
||||
local mod_player = minetest.get_modpath("mcl_player") ~= nil
|
||||
|
||||
-- TODO: Brewing is disabled. Add brewing (uncommented code) when it is implemented properly
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mcl_init
|
||||
mcl_player?
|
||||
_mcl_autogroup?
|
||||
3d_armor?
|
||||
mcl_armor?
|
||||
|
|
|
@ -3,7 +3,7 @@ local F = minetest.formspec_escape
|
|||
|
||||
mcl_inventory = {}
|
||||
|
||||
local show_armor = minetest.get_modpath("3d_armor") ~= nil
|
||||
local show_armor = minetest.get_modpath("mcl_armor") ~= nil
|
||||
local mod_player = minetest.get_modpath("mcl_player") ~= nil
|
||||
local mod_craftguide = minetest.get_modpath("mcl_craftguide") ~= nil
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue