Commit Graph

17 Commits

Author SHA1 Message Date
Supergoat666
75a0c60c55 Adapted to integrate the new version of playerfactions (multi-factions mode) 2020-07-28 22:17:55 +02:00
MoNTE48
800a93f5ee Minor cleanup 2020-06-04 20:36:12 +02:00
Louis Royer
4179917eb4 Add translation support 2020-03-19 22:46:22 +01:00
Alden Peeters
aca830fd22 Add support for playerfactions mod (#37)
Add faction indicator to HUD
2019-09-21 15:33:42 +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