Commit Graph

80 Commits

Author SHA1 Message Date
Cooldude2606
8638504550 Use new linter (#294)
* Use new linter

* Luacheck and Sumneko Lua fixes

* Bump CI action versions

* Fix excludes for ldoc
2024-05-29 15:39:37 +01:00
Cooldude2606
1c8a97a339 Feature: Toolbar Menu (#268)
* Fix left flow not using uids

* Mock Toolbar menu

* Fix task list after core gui change

* Allow show/hide override

* Fix autofill permissions

* Copy style from toolbar on change

* Open and close automatically

* Removed hacky prevent default

* Fixed more core issues

* Add reset button

* Allow for custom draw order on join

* Add methods to reorder ui flows

* Impliment move buttons

* Add locale

* Add toolbar to player data

* Better player data layout

* Picked a suitable datastore id

* Update locale for readme

* Fix swaping left flow order

* Fix datastore updates

* Code cleanup

* Fix incorrect top flow hashing on load

* Fix loading of malformed data

* Fixed loading state of left flows

* Dont save default data

* Dont open menu on join

* Lint

* Remove incorrect new index metamethod

* Revert method used for move_toolbar_button

* Fixed missing toolbar button

* Fixed desync between visibilty and toggle state

* Fix bad gui element path

* Fixed enable state of toggle button

* Change order of operations

* Fix reset not showing top flow
2024-01-16 00:01:00 +00:00
Cooldude2606
edbfcd3afd Migrate gui modules 2023-12-30 16:50:04 +00:00
46f6215d94 Feature Update (#237)
See PR for details, there are too many to be included here.
2023-08-15 18:47:34 +01:00
oof2win2
b744c5e5bb 🔧 lint 2021-10-09 00:46:24 +02:00
oof2win2
eb1fd5e1da 🔧 additional changes 2021-10-08 22:41:06 +00:00
oof2win2
306603a860 🐛 fix fix 2021-10-08 22:38:12 +00:00
oof2win2
d66cb33e6b 🔧 Review changes 2021-10-08 22:14:09 +00:00
oof2win2
5d651449ba 🐛 Fix warps on other surfaces 2021-10-05 16:46:10 +00:00
oof2win2
c3b39decb2 🔧 Fix some warp issues raised by the fix 2021-09-28 08:57:41 +00:00
oof2win2
08b5cf5770 🐛 Fix warp list in a better way 2021-09-26 21:17:09 +00:00
oof2win2
8b76fa245f 🐛 Fix warp list crashing if no warp found 2021-09-26 19:33:44 +00:00
Cooldude2606
6e00b2cd40 Fixed left flow guis 2021-05-06 00:56:50 +01:00
Cooldude2606
6653e5904a Corrected toggle element doc name 2021-04-29 21:07:23 +01:00
Cooldude2606
ab590d03c6 Merge branch 'feature/warp-net-id' of github.com:bbassie/scenario into feature/warp-net-id 2021-03-30 03:51:02 +01:00
Cooldude2606
cf612e6984 Fixed warp cooldown not using seconds 2021-03-30 03:50:45 +01:00
Cooldude2606
023e142d24 Apply suggestions from code review
All changes where corrections to spelling and grammar in comments.

Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
2021-03-30 03:39:11 +01:00
Cooldude2606
d987a6ca2c Made requested locale changes 2021-03-30 03:35:43 +01:00
bbassie
2fe9d5650e Finishing touches:
* Removed 1 time use local
* Fixed double permission check
* Locale fixes
2021-01-29 01:08:58 +01:00
bbassie
90f650ce7a Implemented requested changes
* Pressing `Discard changes` removes warp if it has been pressed after `New warp`.
* Changed `not_available` (not in range) status icon to a cross, fits the sizing of the other icons better.
* Renamed locals key `'warp-list.discard-tooltip'` to `'warp-list.remove-tooltip'`
* Added textfield squashable and strechable to make it dynamic to the container size.
* Container size changes depending on permissiong `'allow_add_warp'`
2021-01-26 23:06:40 +01:00
bbassie
2fc598f287 Merge branch 'feature/warp-net-id' of https://github.com/bbassie/scenario into feature/warp-net-id 2021-01-24 20:13:59 +01:00
bbassie
b84dad66d5 Fixes to warp-list gui
* Fixed indentation.
* Updated function names to be more representative of what they do.
* Added more comments
* Moved some variables around for easier readability and such
2021-01-24 20:13:43 +01:00
Bastiaan
ca8d03304c Removed one use variable
Co-authored-by: Cooldude2606 <cooldude260607@gmail.com>
2021-01-24 19:41:23 +01:00
bbassie
7e7660f1e1 Add tooltip to icon for better accessibility 2021-01-24 02:26:26 +01:00
bbassie
8b717ee1a5 Warp improvements
* Fixed that it clears table every warp update.
* Dirty fix unknown signal icon, it gets replaced by the old icon
2021-01-24 01:58:30 +01:00
bbassie
d0afee78a4 Color status to icon status
Because debate about the color usage I made the change to using icons.
2021-01-23 23:01:05 +01:00
bbassie
c308aa8c21 * If statement restructured like suggested, seems to work fine;
* Changed cooldown color to be same as the disabled one;
2020-11-17 23:35:14 +01:00
bbassie
94fa2bc8ea Warp additions
* Add bypass styling and functionality
* Fix using wrong warp position for goto label
* Add warp placement checks
* Edit remove warp to keep the corpses of the entities
* Fix warp label and textbox
* Make Warp container wider by 20
2020-11-15 01:46:59 +01:00
bbassie
1d980c6d64 Warp water check 2020-11-08 19:02:55 +01:00
badgamernl
e851b48a0e Remove spawn debug message 2020-11-08 16:04:07 +01:00
badgamernl
c95616d1f8 Fix network id checks 2020-11-08 15:38:00 +01:00
badgamernl
bb5790a33d Fix function name 2020-11-08 15:30:10 +01:00
badgamernl
90e025aa1a Warp-list changes:
- Refactor gui layout
- Changed update flow
2020-11-08 05:04:53 +01:00
badgamernl
8197b172ad Working implementation 2020-11-07 02:30:37 +01:00
badgamernl
bd59342497 Changed choose_elem from item type to signal 2020-11-07 00:42:34 +01:00
Cooldude2606
a8417b4d2d Merge branch 'patch/6.0.10' into dev 2020-06-16 14:57:02 +01:00
Cooldude2606
f1520e77e7 Fixed bug warp tooltip #166 2020-06-16 14:56:04 +01:00
Cooldude2606
c7f2eb6047 Converted Warps 2020-05-30 22:47:01 +01:00
Cooldude2606
0c52f0c793 Merge branch 'patch/6.0.8' 2020-05-28 17:56:20 +01:00
Cooldude2606
fa51254021 Removed Functions From Global 2020-05-28 17:54:45 +01:00
Cooldude2606
a71ab19208 Merge branch 'patch/6.0.7' into dev 2020-05-28 17:08:13 +01:00
Cooldude2606
019104e76d Fixed Warps and Tasks 2020-05-28 16:41:34 +01:00
Cooldude2606
32507492b8 Fixed Existing Lua Check Errors 2020-05-26 18:21:10 +01:00
Cooldude2606
95af6cfc34 Cleaned Config 2020-03-29 23:39:24 +01:00
Cooldude2606
6a2f99b069 Removed useless files 2020-03-29 22:50:21 +01:00
Cooldude2606
60467a7190 Cleaned gui modules 2020-03-18 21:19:54 +00:00
Cooldude2606
c2c535848d Cleaned core gui files 2020-03-17 22:36:52 +00:00
badgamernl
2d90d1dcdd Rerenamed events 2020-02-26 00:49:57 +01:00
badgamernl
8e9325fc0c Changed keep open to be a one liner 2020-02-26 00:42:33 +01:00
badgamernl
efd9c7b609 Renamed Gui.event to Gui.custom_event 2020-02-26 00:41:18 +01:00