Visible player armor & wielded items for minetest https://forum.minetest.net/viewtopic.php?t=4654
Go to file
Crystalwarrior 9444afd722
Refactor armors to be mods rather than hardcoded into API (#78)
* Begin work on "armors as modpack" refactor letting anyone to enable/disable any armors they want as mods rather than obscure settings

* Fix some steel armor mishaps, remove pointless dependency on "default"

* Move admin armor into mod

* Make wood armor into a mod

* More consistent steel description text etc.

* remove wood references from 3d_armor api locale

* remove admin armor reference from 3d_armor locale template.txt

* Remove steel textures from api

* Bronze armor as mod

* Fix admin, wood armor missing local S translator var
Fix wood locale missing template.txt

* Fix bronze missing locale

* Cactus as mod

* Crystal into mod

* Diamond into mod

* Mithril and Gold as mods

* Register armor fix

* Nether as mod

* Clean-up, add optional depends for mod armors, remove armor.lua from 3d_armor

* Fix badly named mod.conf for admin, gold, nether armors
Fix attempt to register crafting recipe even though the armor is disabled via setting

* Fix steel and wood having bad globals for crafting section, turned them to locals

* Fix brazilian translation getting deleted
Fix cactus armor locales being incorrectly named
2022-09-06 21:06:27 +02:00
.github/workflows Some Fixes for HTML Docs Generated by LDoc (#60) 2021-07-31 14:03:20 +02:00
.ldoc LDoc: link to favicon (#62) 2021-08-01 14:41:16 +02:00
3d_armor Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
3d_armor_ip Change intllib for v5 minetest.get_translator 2020-08-31 07:41:59 +02:00
3d_armor_sfinv 3darmor sfinv spanish translation 2021-03-01 17:31:50 +01:00
3d_armor_stand Add use_texture_alpha to avoid warnings from 3d_armor_stand (#44) 2021-03-06 17:36:02 +01:00
3d_armor_ui adjust fire protection label position 2021-05-24 09:59:54 +02:00
armor_admin Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_bronze Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_cactus Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_crystal Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_diamond Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_gold Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_mithril Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_nether Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_steel Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
armor_wood Refactor armors to be mods rather than hardcoded into API (#78) 2022-09-06 21:06:27 +02:00
shields Enhance mithril armor (#70) 2022-02-05 13:33:41 +01:00
wieldview Fix typo in wieldview (#56) 2021-06-26 20:21:15 +02:00
.gitattributes Exclude some files & directories from archives & releases (#61) 2021-07-31 14:03:33 +02:00
.gitignore Ignore Eclipse project files & directories 2017-05-14 19:29:08 +01:00
.luacheckrc use `player_api` to register player model 2022-03-25 23:23:25 +01:00
LICENSE.md new armor and shield textures 2019-12-15 19:03:25 +01:00
README.md Add Support for Generating HTML Documentation with LDoc (#58) 2021-07-30 16:12:29 +02:00
description.txt Add support for mod managers 2016-03-25 19:52:00 +00:00
integration-test.sh update integration test to minetest 5.2.0 2020-05-14 21:37:09 +02:00
modpack.conf remove `name` attribute from modpack.conf 2021-07-31 15:29:28 +02:00
preview_gen.py Add preview generator and update preview textures 2017-03-11 20:02:55 +00:00
screenshot.png Documentation and Screenshot Update (#26) 2020-12-03 08:38:41 +01:00
screenshot.xcf Documentation and Screenshot Update (#26) 2020-12-03 08:38:41 +01:00
settingtypes.txt add nether armor and nether shield (#65) 2021-11-10 10:15:55 +01:00

README.md

Modpack - 3d Armor [0.4.13]

3d_armor screenshot

Table of Contents

[mod] Visible Player Armor [3d_armor]

Minetest Version: 5.0.0

Game: minetest_game and many derivatives

Depends: default

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 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% when wearing a full matching set (helmet, chestplate, leggings and boots of the same material)

Fire protection has been added by TenPlus1 and in use when ethereal mod is found and crystal armor has been enabled. each piece of armor offers 1 fire protection, level 1 protects against torches, level 2 against crystal spikes, 3 for fire and 5 protects when in lava.

Compatible with sfinv, inventory plus or unified inventory by enabling the appropriate inventory module, [3d_armor_sfinv], [3d_armor_ip] and [3d_armor_ui] respectively. Also compatible with [smart_inventory] without the need for additional modules.

built in support player skins [skins] by Zeg9 and Player Textures [player_textures] by PilzAdam and [simple_skins] by TenPlus1.

Armor can be configured by adding a file called armor.conf in 3d_armor mod or world directory. see armor.conf.example for all available options.

For mod installation instructions, please visit: http://wiki.minetest.com/wiki/Installing_Mods

API Reference

[mod] Visible Wielded Items [wieldview]

Depends: 3d_armor

Makes hand wielded items visible to other players.

[mod] Shields [shields]

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.

[mod] 3d Armor Stand [3d_armor_stand]

Depends: 3d_armor

Adds a chest-like armor stand for armor storage and display.