Commit Graph

93 Commits

Author SHA1 Message Date
Cooldude2606
f300140135 Fix control/production using outdated precision 2024-08-25 15:18:02 +01:00
4a0432073c Vlayer Gui Update (#296)
* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua

* Update gui.cfg

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2024-06-22 16:40:59 +01:00
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
cbb5a2093b vlayer auto connect circuit (#291)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2024-05-28 14:59:28 +01:00
5b1081db57 Vlayer Changes (#286)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update roles.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2024-02-15 14:23:45 +00:00
Cooldude2606
65e254ec45 Add spectate check to stop_follow (#285) 2024-02-11 20:22:51 +00: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
f7eb9c0c37 Final Fixes 2023-12-30 16:50:13 +00:00
3cd55cbd63 Vlayer Update (#254)
* redo

* waterfill role

* update

* spacing

* Apply solar_power_multiplier in one location

* Better surface handling

* Fix circuit interface with too many modded items

* Better energy interfaces

* update vlayer

* auto down grade config

* Fix production multiplier to work with fake surface

* Add doc comments to vlayer

* Update vlayer.lua

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2023-12-29 02:37:15 +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
3f42681ddc feat: role deference in Roles module itself 2023-02-25 15:36:33 +00:00
oof2win2
2d9cfd8e11 feat: change future to assign roles to table 2023-02-25 15:36:33 +00:00
oof2win2
ceca8fbf00 fix: set roles after jailing 2023-02-25 15:36:33 +00:00
Windsinger
f6982f6b79 Update reports.lua
As discussed on discord
2022-10-23 19:20:51 +02:00
Cooldude2606
12917fed08 Jail forces player into idle state 2021-05-10 21:08:12 +01:00
Cooldude2606
ecf2c59bb1 Fixed other errors 2021-05-06 01:10:54 +01:00
Cooldude2606
1ccc7fbcc6 Merge pull request #195 from bbassie/feature/task-list-update
Tasklist redesign
2021-04-29 23:04:48 +01:00
Cooldude2606
909f4ce426 Removed player editing during add_task 2021-04-29 22:46:17 +01:00
bbassie
dfcefb3a1b Merge branch 'feature/task-list-update' of https://github.com/bbassie/scenario into feature/task-list-update 2021-04-28 00:28:51 +02:00
bbassie
a3fe06b1f8 Fix documentation and some names of functions, variables and arguments 2021-04-28 00:25:19 +02:00
Bastiaan
0f5868378a Fix documentation modules/control/tasks.lua
Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com>
2021-04-27 23:16:18 +02:00
Cooldude2606
2e1e024ac7 Merge branch 'dev' into feature/entity-alert 2021-04-26 00:21:48 +01:00
Cooldude2606
2df7482a77 Implemented requested changes 2021-04-26 00:20:55 +01:00
Cooldude2606
7dbb22f575 Merge branch 'dev' into feature/spectate 2021-04-25 23:53:34 +01:00
Cooldude2606
ca25dc7cb7 Implemented requested changes 2021-04-25 23:52:19 +01:00
bbassie
ea24477175 Fixed some of the requested changes
* Made add_task and update_task have consistent arguments
* Removed default task title and body
* Task list resized to fit to 10 items
2021-04-25 22:26:22 +02:00
Cooldude2606
43d5ff7741 Added renderer and selection events 2021-04-24 21:05:34 +01:00
Cooldude2606
d83f1e3aea Fixed protection issues 2021-04-24 21:05:11 +01:00
Cooldude2606
891663edb9 Added protection commands 2021-04-24 18:04:33 +01:00
Cooldude2606
fb51f06c84 Added comments to selection 2021-04-24 17:04:42 +01:00
Cooldude2606
f4afe8baeb Ignore entity if player is last user 2021-04-24 02:05:23 +01:00
Cooldude2606
7fb1a14cb3 Changed ignore_role to ignore_permission 2021-04-24 01:53:05 +01:00
Cooldude2606
43cb24f396 Added protection control 2021-04-24 01:43:58 +01:00
Cooldude2606
f195635dc3 Added selection name filtering 2021-04-24 00:38:26 +01:00
Cooldude2606
e9ec57225b Added Selection.get_arguments 2021-04-24 00:28:19 +01:00
Cooldude2606
effdb97387 Added selection control 2021-04-24 00:26:24 +01:00
bbassie
8674704f15 Fix docs gen param argument name mismatch
param and formal argument name mismatch: 'task_title' 'message_title'
param and formal argument name mismatch: 'task_body' 'message_body'
2021-04-16 22:50:16 +02:00
Cooldude2606
d485e21480 Fixed calling set_controller during on_close 2021-04-16 18:13:41 +01:00
bbassie
eeb9f31b57 Basic task with title and body implementation
- Parsing of the message is a bit low effort and will need to be improved.
2021-04-14 00:24:52 +02:00
Cooldude2606
70664ffd0c Made requested changes 2021-04-08 18:08:41 +01:00
Cooldude2606
3c718fa081 Fixed empty reasons 2021-04-05 22:50:16 +01:00
Cooldude2606
f56eb4c145 Added spectate commands 2021-03-31 01:06:57 +01:00
Cooldude2606
57434f4b68 Added spectate control 2021-03-31 00:43:57 +01:00
Cooldude2606
8431b2e80a Merge pull request #190 from bbassie/feature/warp-net-id
Feature: Warps need to be connected to the same electricity network
2021-03-30 03:58:44 +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
395d747812 Merge pull request #173 from bbassie/feature/vehicle-warp
Added ability to warp while driving in a vehicle
2021-03-30 02:18:55 +01:00
badgamernl
c59cb6bdac Added ability to warp while driving in a vehicle 2021-03-30 02:12:37 +01:00
Cooldude2606
16524a92c9 Merge pull request #187 from bbassie/remove/temp-ban
Removed Temp ban related stuff
2021-01-27 00:26:43 +00:00
bbassie
ea4850e04f Fixed global register 2021-01-26 23:16:54 +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