savilli
b08db516d5
Don't lose hp_bar when teleporting
...
If a player teleports far away, their hp_bar can become deactivated and disappear. The mod installs the gauge only when a player joins, so it will be forever missing. `static_save = false` prevents the item from deactivating https://github.com/minetest/minetest/blob/master/src/serverenvironment.cpp#L2028 .
Also, it doesn't make sense to save `gauges:hp_bar` to map meta since it's not a standalone item.
2021-11-02 00:20:07 +01:00
LoneWolfHT
8e4faffe8d
Make health bars show rough percentage of max hp ( #9 )
2021-10-18 18:22:03 +02:00
Maksim
04018c504d
Remove unused entities on settings change ( #8 )
...
Also add Minetest 5.3 support for 10/11 maximal breath.
2020-09-27 19:14:49 +02:00
Hugo Locurcio
ab7806a4bf
Tweak grammar in various files
...
- Fix release date to match the actual 1.0.3 release.
2020-02-15 16:19:33 +01:00
MoNTE48
960ca02e42
Readd Gauges when a player is lost
2020-02-15 16:09:20 +01:00
MoNTE48
b075262daf
More reliable version checking
2020-02-15 16:09:20 +01:00
Maksim
9425b8dcf5
Fix entity creating crash and restore 0.4 support
2020-01-19 14:07:23 +01:00
Hugo Locurcio
7c3afd699c
Localize the vector.distance
function for performance
2020-01-01 18:07:06 +01:00
Hugo Locurcio
c28b6a9f35
Fix a code style issue
2020-01-01 18:03:08 +01:00
Maksim
f9471512bd
Optimize the mod code
...
This also improves formatting to comply with Minetest's
Lua code style guidelines.
2020-01-01 17:29:16 +01:00
Hugo Locurcio
b2bb39322a
Update copyright statements to 2020
2020-01-01 04:11:04 +01:00
SmallJoker
6cd5e97542
5.x compatibility, drop 0.4.x support ( #2 )
2019-10-13 19:47:56 +02:00
Hugo Locurcio
c0c410755b
Fix minetest.setting_getbool()
deprecation warning
2019-04-02 20:24:58 +02:00
Hugo Locurcio
9e91c7e561
Add a README
...
- Use MIT license for code and CC0 1.0 Universal for assets
2019-03-02 18:59:59 +01:00
Hugo Locurcio
bb7d45a3d7
Improve code formatting
2019-03-01 19:19:22 +01:00
Hugo Locurcio
b9ed7d3908
Add a copy of the CC0 1.0 Universal license
2019-03-01 19:17:13 +01:00
Hugo Locurcio
d241818d13
Add a Luacheck configuration file
2019-02-21 13:44:35 +01:00
rubenwardy
7f557cc810
Fix attempt for detached gauge on joinplayer
2017-10-12 16:20:50 +01:00
rubenwardy
a24c563372
Fix player ref being stored between callbacks
2017-10-12 15:57:00 +01:00
rubenwardy
ff8bdf1167
Clean up code
2017-10-12 15:53:52 +01:00
4aiman
61d988823f
Initial Commit
2017-10-12 15:48:40 +01:00