mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2025-07-14 22:30:33 +02:00
Compare commits
3 Commits
2.2.1
...
7f6ed309b3
Author | SHA1 | Date | |
---|---|---|---|
7f6ed309b3 | |||
7cd5940c68 | |||
67ca481f7c |
@ -11,7 +11,7 @@ this mod will place them accordingly.
|
|||||||
position should be displayed correctly on every screen size.
|
position should be displayed correctly on every screen size.
|
||||||
|
|
||||||
## Current version
|
## Current version
|
||||||
The current version is 2.2.1.
|
The current version is 2.1.0.
|
||||||
|
|
||||||
This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer
|
This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer
|
||||||
standard.
|
standard.
|
||||||
@ -39,7 +39,6 @@ Translations:
|
|||||||
* Italian: Hamlet
|
* Italian: Hamlet
|
||||||
* Malay: muhdnurhidayat
|
* Malay: muhdnurhidayat
|
||||||
* Russian: Imk
|
* Russian: Imk
|
||||||
* Spanish: wuniversales
|
|
||||||
|
|
||||||
This program is free software. It comes without any warranty, to
|
This program is free software. It comes without any warranty, to
|
||||||
the extent permitted by applicable law. You can redistribute it
|
the extent permitted by applicable law. You can redistribute it
|
||||||
|
5
init.lua
5
init.lua
@ -315,9 +315,6 @@ function hb.change_hudbar(player, identifier, new_value, new_max_value, new_icon
|
|||||||
end
|
end
|
||||||
|
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if not hudtable.hudstate[name] then
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
local hudtable = hb.get_hudtable(identifier)
|
local hudtable = hb.get_hudtable(identifier)
|
||||||
local value_changed, max_changed = false, false
|
local value_changed, max_changed = false, false
|
||||||
|
|
||||||
@ -570,3 +567,5 @@ minetest.register_globalstep(function(dtime)
|
|||||||
end
|
end
|
||||||
if timer > 4 then timer = 0 end
|
if timer > 4 then timer = 0 end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
minetest.log("action", "[hudbars] loaded.")
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
# textdomain: hudbars
|
|
||||||
Health=Salud
|
|
||||||
Breath=Aliento
|
|
||||||
@1: @2/@3=@1: @2/@3
|
|
Reference in New Issue
Block a user