From e1caf0ab0cc2c1768f56c189d2a358e590275aa4 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sun, 15 Nov 2015 22:56:53 +0000 Subject: [PATCH] Bump version to 0.4.5 --- 3d_armor/armor.lua | 10 +--------- README.md | 18 +++++++++++------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/3d_armor/armor.lua b/3d_armor/armor.lua index a4f66d3..6446da8 100644 --- a/3d_armor/armor.lua +++ b/3d_armor/armor.lua @@ -73,7 +73,7 @@ armor = { .."listring[current_player;craft]", textures = {}, default_skin = "character", - version = "0.4.4", + version = "0.4.5", } if minetest.get_modpath("inventory_plus") then @@ -466,14 +466,6 @@ minetest.register_on_joinplayer(function(player) armor_inv:set_stack("armor", i, stack) 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.def[name] = { state = 0, diff --git a/README.md b/README.md index 0f7eae7..16ca0c1 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,19 @@ -Modpack - 3d Armor [0.4.4] +Modpack - 3d Armor [0.4.5] ========================== [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 -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' 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] --------------------------------------- -depends: 3d_armor +Depends: 3d_armor Makes hand wielded items visible to other players. [mod] Shields [shields] ----------------------- -depends: 3d_armor +Depends: 3d_armor 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. @@ -43,7 +47,7 @@ If you do not want shields then simply remove the shields folder from the modpac [mod] Technic Armor [technic_armor] ----------------------------------- -depends: 3d_armor +Depends: 3d_armor Adds tin, silver and technic materials to 3d_armor. Requires technic mod to be installed for craft registration.