Commit Graph

24 Commits (master)

Author SHA1 Message Date
Maksym H cf71c5d87d Update HUD 2022-09-01 12:28:05 +03:00
Maksym H 5d6efc741a Use the HUD API directly 2022-08-26 23:57:52 +03:00
MoNTE48 b470d8f516 Minor update HUD 2022-01-14 13:34:25 +01:00
MoNTE48 758b3d0dd0 Add the best PvP solution you've seen 2021-05-27 12:09:40 +02:00
MoNTE48 96ca31dd7d Minor update 2021-04-24 17:18:40 +02:00
MoNTE48 3a17818e34 Add luacheck 2021-04-24 12:38:46 +02:00
MoNTE48 9c24eadf4a Improve HUD updating 2020-03-25 11:00:43 +01:00
MoNTE48 fccd1de2bc Minor fix after update 2020-03-22 22:29:05 +01:00
MoNTE48 030b27b826 Use MC HUD Api instead old API 2019-10-20 21:13:29 +02:00
MoNTE48 fd5d69f197 Replace globalstep on playerstep, hide Areas text on free areas 2019-10-16 21:42:48 +02:00
MoNTE48 af179c47cc Small cleanup 2019-09-07 15:04:56 +02:00
Panquesito7 5527dc8945 Replace deprecated functions with newer ones (#36)
This commit replaces a few deprecated calls to getpos with get_pos
2019-07-10 20:26:42 +02:00
Tai Kedzierski 7b51f84404 Limit recalculations.
Setting based - limit area recalculation and allow tuning of the
interval.
2019-04-01 21:21:31 -07:00
sofar 2637876555
Fix pos big (#1)
* fix pos being to big

* improve

* make the change instead in hud.lua
2019-04-01 20:24:59 -07:00
Tai @ Flex 6080ff065e Add API for adding areas to HUD 2016-12-19 16:36:37 +00:00
ShadowNinja 0cda67f5c1 Use the HUD alignment field instead of manually calculating offset 2015-01-07 18:31:59 -05:00
ShadowNinja 21c9e6a4c0 Make HUD area list multi-line 2014-10-13 20:32:02 -04:00
ShadowNinja 6f31a56594 Tweak HUD area list display 2014-03-30 13:53:56 -04:00
Ciaran Gultnieks 1a5efd07f1 Allow areas to be optionally open to all other users
In other words, you can retain ownership of an area but disable and
re-enable the protection aspect at will, via the area_open chat command.

By default, nothing is any different following this commit - all
existing areas are protected, as are new ones. But you can do (for
example) "area_open 1" and if you're the owner of that area, it's
now possible for other users to interact there. "area_open 1" again to
toggle the protection back on.

Where there are sub-areas, the main owner and ALL sub-area owners at a
particulare location must have set the areas to open to disable
protection.
2014-02-07 18:07:56 -05:00
ShadowNinja ed7f57bf2f Add IDs to HUD and areas:getAreasAtPos(pos) 2014-01-15 20:10:24 -05:00
ShadowNinja 0d0215200c Move the HUD display up to not cover the hotbar 2013-11-18 21:12:27 -05:00
ShadowNinja 38dc65eb8e Revert "Fix possible hud vector error"
This was fixed upstream in builtin.
This reverts commit 1a8efa9916.
2013-11-18 21:12:27 -05:00
ShadowNinja 1a8efa9916 Fix possible hud vector error 2013-11-14 18:25:47 -05:00
ShadowNinja 0c20a1b616 Show area owners on the hud (inspired by landrush) 2013-09-26 10:30:36 -04:00