7 Commits

Author SHA1 Message Date
047649d519 hudbars+hbhunger+hbarmor - permit to gain life if are in good shape 2023-08-06 01:14:31 -04:00
37237ec359 make check for max_hp witout segfault old engines, optimize checks
* use right supported check for version string
* do not make redundant checks and set of hp_max
* property set log warning notification when parts of mod are not used
* autodetect armor mod and able to work without it
2023-07-26 01:04:09 -04:00
e3db263828 hudbars+hbarmor+hunger - fusion into a simgle loading mod
* fix workaroun about ssettings not configurable
* do not hardcoded hp_max from other mods, unless configured here
* provide settings for hbhunger steps
* provide settings for auto hide or not hbarmor
* document those missing features
* mark mod with version 2.3.5.0 and using redo flag
* detection of original mods and bypass build-in own features
* optimize loading of hubar for armor, bad initialization
* real check player becouse of wrong implementation at engine
2023-07-24 14:46:59 -04:00
c435ee31b3 expose hp_max and breath_max from api due older engines, update info
* update README and API information about this fork
2023-07-23 17:40:27 -04:00
0edeb5599e backguard compatibility of hp_max in older clients, (missing breath_max)
* honoring customizations of hp_max its not so valid in older
  clients becouse of a bug in older lients of hardcoded healt player
  at f7d50a8078
  long time ago user requested https://github.com/minetest/minetest/issues/2246
  the value was hardcoded into engine and do not allow to be
  customized by mods until the commit above, this patch
  takes that into consideration and set the value to 20.
* NOTE: as side effect if you started a server that support
  hp_max modification and try to connect using a older client,
  client will perfectly supports the already configured healt
  from client, but will start at 20 initialy, of course with
  max_hp supported over the value of 20
2023-07-18 23:07:28 -04:00
c219b708f8 not hardcoded the hb.init_hudbar max values, real fix of get_properties when join players
* real fix for missing format_string_config.textdomain
  fixed https://codeberg.org/Wuzzy/minetest_hudbars/issues/8
* fix the backguard compatibility for format_string_config.format_string
  due commit 29c1a3c31ce870cf6e0dd7782dc276254b7d3846
* add configuration settings for hp_max of player and breath_max
  that really honors the configuration of customization of hp_max
* do not hardcoded hp_max neither breath_max and honor customizations
* real fix for commit 20843d95cec0fb18516bc3c3ee456254a381ad5b
  set alternate honored max values before get_properties when join players
  this finally fixed this is a merge of Wuzzy/minetest_hudbars#5
  and final fix for https://codeberg.org/Wuzzy/minetest_hudbars/issues/4
* increase default ticks of updates for hud bar, to avoid performance
  issues in low end devices
2023-07-17 00:35:34 -04:00
Wuzzy
9145f492e8 Move default settings into new Lua file 2017-07-02 18:50:17 +02:00