A Minetest mod which displays the armor damage condition. https://content.minetest.net/packages/Wuzzy/hbarmor/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Wuzzy 93d994cbad Version 1.0.0 1年前
locale Update to 5.0.0 translation system 1年前
textures Fix PNG problems 2 年前
README.md Version 1.0.0 1年前
init.lua Update function call again 1年前
mod.conf Update to 5.0.0 translation system 1年前
screenshot.png Add screenshot 3 年前
settingtypes.txt Add maximum to hbarmor_tick 3 年前

README.md

HUD bar for 3d_armor [hbarmor]

  • Version: 1.0.0

Description

This mod adds a simple HUD bar which displays the current damage of the player's armor (from the 3D Armor [3d_armor] mod) as a percentage (rounded).

100% armor means the armor is in perfect shape. 0% means the armor is almost destroyed or non-existant. Note that to reach 100%, the player must wear at least 4 different pieces of armor in perfect shape.

The armor bar also does not tell anything about the armor's strength, only how worn out it already is.

By default, the armor bar is hidden if the player wears no armor.

Dependencies

  • HUD bars [hudbars], major version 2
  • 3D Armor [3d_armor] (tested with Minetest 5.0.0)

Licensing

This mod is entirly free softare.

Source code

  • License: MIT License (see below)
  • Authors: Wuzzy, forked from the mod “Better HUD (and hunger)” [hud] by BlockMen (2013-2014)

Textures

  • hbarmor_icon.png—Stu (CC BY-SA 3.0), modified by BlockMen
  • hbarmor_bgicon.png—Stu (CC BY-SA 3.0), modified by BlockMen
  • hbarmor_bar.png—Wuzzy (MIT License)

Everything else is under the MIT License: © Copyright BlockMen (2013-2014)

This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the MIT License. See https://opensource.org/licenses/MIT for more details.