1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-27 11:10:39 +01:00

Bump version to 0.4.5

This commit is contained in:
stujones11 2015-11-15 22:56:53 +00:00
parent a44d1a2530
commit e1caf0ab0c
2 changed files with 12 additions and 16 deletions

View File

@ -73,7 +73,7 @@ armor = {
.."listring[current_player;craft]", .."listring[current_player;craft]",
textures = {}, textures = {},
default_skin = "character", default_skin = "character",
version = "0.4.4", version = "0.4.5",
} }
if minetest.get_modpath("inventory_plus") then if minetest.get_modpath("inventory_plus") then
@ -466,14 +466,6 @@ minetest.register_on_joinplayer(function(player)
armor_inv:set_stack("armor", i, stack) armor_inv:set_stack("armor", i, stack)
end end
-- Legacy support, import player's armor from old inventory format
for _,v in pairs(armor.elements) do
local list = "armor_"..v
armor_inv:add_item("armor", player_inv:get_stack(list, 1))
player_inv:set_stack(list, 1, nil)
end
-- TODO Remove this on the next version upate
armor.player_hp[name] = 0 armor.player_hp[name] = 0
armor.def[name] = { armor.def[name] = {
state = 0, state = 0,

View File

@ -1,15 +1,19 @@
Modpack - 3d Armor [0.4.4] Modpack - 3d Armor [0.4.5]
========================== ==========================
[mod] Visible Player Armor [3d_armor] [mod] Visible Player Armor [3d_armor]
------------------------------------- -------------------------------------
depends: default Minetest Version: 0.4.13
recommends: inventory_plus or unified_inventory (use only one) Game: minetest_game and many derivatives
Depends: default
Recommends: inventory_plus or unified_inventory (use only one)
Adds craftable armor that is visible to other players. Each armor item worn contributes to Adds craftable armor that is visible to other players. Each armor item worn contributes to
a player's armor group level making them less vulnerable to weapons. a player's armor group level making them less vulnerable to attack.
Armor takes damage when a player is hurt, however, many armor items offer a 'stackable' Armor takes damage when a player is hurt, however, many armor items offer a 'stackable'
percentage chance of restoring the lost health points. Overall armor level is boosted by 10% percentage chance of restoring the lost health points. Overall armor level is boosted by 10%
@ -28,14 +32,14 @@ see armor.conf.example for all available options.
[mod] Visible Wielded Items [wieldview] [mod] Visible Wielded Items [wieldview]
--------------------------------------- ---------------------------------------
depends: 3d_armor Depends: 3d_armor
Makes hand wielded items visible to other players. Makes hand wielded items visible to other players.
[mod] Shields [shields] [mod] Shields [shields]
----------------------- -----------------------
depends: 3d_armor Depends: 3d_armor
Originally a part of 3d_armor, shields have been re-included as an optional extra. Originally a part of 3d_armor, shields have been re-included as an optional extra.
If you do not want shields then simply remove the shields folder from the modpack. If you do not want shields then simply remove the shields folder from the modpack.
@ -43,7 +47,7 @@ If you do not want shields then simply remove the shields folder from the modpac
[mod] Technic Armor [technic_armor] [mod] Technic Armor [technic_armor]
----------------------------------- -----------------------------------
depends: 3d_armor Depends: 3d_armor
Adds tin, silver and technic materials to 3d_armor. Adds tin, silver and technic materials to 3d_armor.
Requires technic mod to be installed for craft registration. Requires technic mod to be installed for craft registration.