521 Commits

Author SHA1 Message Date
Zughy
f828123753 Allow one player arenas 2022-09-08 12:06:49 +02:00
Zughy
754525d992 Bugfix: spectator items weren't given when entering (due to previous commits) 2022-09-06 01:27:30 +02:00
Zughy
8f4c537b67 Fix crash introduced with previous commit 2022-08-16 22:02:23 +02:00
Zughy
22e3683b59 Use globalsteps for queue countdowns 2022-08-16 14:30:08 +00:00
Zughy
c015c8c2c4 Remove (now) pointless afters to change hotbar items 2022-07-05 15:35:28 +02:00
Zughy
39d2803d26 Small clean up 2022-07-04 13:20:41 +02:00
Zughy
3db1c62336 Bugfix: (regression) display message about leaving queue also for the very ones who've just left it 2022-07-01 23:55:49 +02:00
Zughy
a0449234a7 Better log on_kick and on_disconnect deprecations 2022-07-01 16:16:22 +02:00
Zughy
9220a5097e Bugfix: (regression) lower queue timer if the queue is full 2022-07-01 00:10:51 +02:00
Zughy
a3d45dae9b (hopefully) Bugfix: check sign coords reliably with vector.equals (fix #152) 2022-06-30 15:24:38 +02:00
Zughy
c32530bde9 Add register_on_eliminate global callback 2022-06-28 01:17:43 +02:00
Zughy
df913d63d7 Add global callbacks 2022-06-26 17:58:52 +00:00
Zughy
80cea65824 DOCS: specify that icon is nil by default 2022-06-11 13:21:07 +00:00
Zughy
5eb9527481 name and icon attributes when registering a minigame 2022-06-11 15:18:17 +02:00
Zughy
9be25704e8 DOCS: add BREAKAGE.md file 2022-06-07 21:56:33 +00:00
Zughy
ac45819527 Redo quit callbacks (deprecate on_disconnect and on_kick) 2022-06-07 18:19:03 +00:00
Zughy
9e87893362 Add on_respawn callback (closes #157) 2022-06-07 12:18:38 +02:00
Zughy
415793d06d Add queue callbacks
Closes #107
2022-06-06 01:30:37 +02:00
Zughy
4d29da467e More translations cleaning 2022-06-05 23:29:33 +02:00
Zughy
f2ac202bea Fix players added in queue 2022-06-05 23:13:12 +02:00
Zughy
a9649fa4f3 Translations clean up 2022-06-05 19:53:26 +02:00
Zughy
ec5e46c0e2 Separate queuing system from signs (check description)
* adds `arena_lib.join_queue(mod, arena, p_name)`
* adds `arena_lib.get_players_amount_left_to_start_queue(arena)`
* `arena_lib.remove_player_from_queue(p_name)` now returns `true` if successful
2022-06-05 12:20:28 +00:00
Zughy
515c7df029 Bugfix: custom editor section was mixed with the settings section 2022-06-04 01:11:17 +02:00
Zughy
cf4f8e97b9 Spanish translation minor fix 2022-05-31 10:33:38 +02:00
Zughy
2ec4de91da Bugfix: editor tools requiring right-clicking now work also when pointing a node (fixes #146) 2022-05-31 10:30:41 +02:00
Zughy
ab008a3c3a make arena_lib truly game agnostic 2022-05-31 00:25:53 +02:00
Zughy
227c5f7785 comments 2022-05-31 00:25:42 +02:00
Zughy
96ad35ed1d DOCS: document winners parameter for on_celebration and on_end callbacks
Fixes #151
2022-05-30 12:23:24 +00:00
Zughy
6c80a54370 Version bump (5.3.0-dev) 2022-05-28 01:25:01 +02:00
Zughy
9225d40a4d Version bump (5.2.0) 2022-05-28 01:11:15 +02:00
Zughy
d9aeb1f629 Debugger: add spectatable entities/areas + clean up 2022-05-28 01:06:19 +02:00
Zughy
e79598c268 Remove unused undocumented function 2022-05-28 00:32:19 +02:00
Zughy
dd4038b238 Spectate: add missing hotbar texture (teams+entities+areas) 2022-05-27 23:51:12 +02:00
Zughy
6f45e3b26c Crashfix introduced by latest commit + small cleaning 2022-05-27 23:31:26 +02:00
Zughy
244d272379 Spectate areas
implements #101
2022-05-27 21:12:15 +00:00
Zughy
bb44b3bd9f Prevent flash damage to appear if fall damage is disabled
Co-authored-by: Lars Müller <appgurulars@gmx.de>
2022-05-26 17:13:16 +02:00
Zughy
0a301ace3a Spectate: missing entities textures 2022-05-25 23:39:10 +02:00
Zughy
1b9f3e1383 Spectate entities 2022-05-25 21:25:39 +00:00
Zughy
b740ffa6e7 DOCS: clean up "arena phases" section 2022-04-28 21:32:36 +00:00
Zughy
5c448a33aa BUGFIX: spectators don't risk to end stuck anymore when leaving a match
(TEMPFIX for #131, waiting for upstream)
2022-04-24 11:14:03 +02:00
Zughy
06a0b9697e small refactor 2022-04-11 14:42:33 +02:00
Zughy
8d77ec6ae5 Better print custom celestial vaults in debug log 2022-04-11 14:39:36 +02:00
Zughy
fc9b8eb7df Fix crash when leaving the editor if the arena had no custom celestial vault (introduced with 05db5a) 2022-04-11 14:38:14 +02:00
Zughy
d0af793ae0 DOCS: document arenas celestial_vault and lighting parameters 2022-04-04 00:13:15 +02:00
Zughy
05db5ad21f Improve arenas celestial_vault parameter (now nil by default) 2022-04-04 00:03:53 +02:00
Zughy
d6281181cb Improved debug log 2022-04-03 16:07:27 +02:00
Zughy
eaab3e07b3 Remove possibility to jump from an editor into another (debatably useful and probably bugged) 2022-04-03 00:39:00 +02:00
Zughy
d4b63dd616 Editor: fix lighting value not correctly retrieved 2022-04-01 16:57:58 +02:00
Zughy
b0512d80d9 Custom lighting per arena 2022-04-01 10:26:26 +00:00
Zughy
b1a5386a3b Editor: fancier celestial vault icons 2022-03-31 14:44:07 +02:00