Commit Graph
100 Commits
Author SHA1 Message Date
Cooldude2606andGitHub 13248d08dd Merge pull request #369 from Cooldude2606/package/gui
Refactor core library "gui" to new package "exp_gui"
2025-02-02 22:41:41 +00:00
Cooldude2606 d5fd466246 Allow toolbar to be deleted from lib 2025-01-30 00:24:59 +00:00
Cooldude2606 6850cfa968 Add player as an event argument 2025-01-30 00:08:46 +00:00
Cooldude2606 1a88592a8a Remove legacy gui module 2025-01-30 00:08:45 +00:00
Cooldude2606 824c5fe772 Add toolbar saving and better consistency 2025-01-30 00:08:45 +00:00
Cooldude2606 e34a320d97 Convert toolbar minus datastore 2025-01-30 00:08:44 +00:00
Cooldude2606 a2b4fd119b Convert player list, data, module, and vlayer 2025-01-30 00:08:38 +00:00
Cooldude2606 81c1e17429 Convert bonus, research, sups, and cctv 2025-01-30 00:07:09 +00:00
Cooldude2606 242545b007 Convert tasks, production, tools, and landfill 2025-01-30 00:07:09 +00:00
Cooldude2606 cc274595c7 Convert rocket info and autofill 2025-01-30 00:07:08 +00:00
Cooldude2606 6f9a062190 Convert readme and science info 2025-01-30 00:07:07 +00:00
Cooldude2606 bd6781b3a0 Start converting GUI modules 2025-01-30 00:07:07 +00:00
Cooldude2606 88a47e3edc Add core elements 2025-01-30 00:07:06 +00:00
Cooldude2606 ee6359582c Make GuiData more lean 2025-01-30 00:07:06 +00:00
Cooldude2606 0b665bbd46 Add control stage asserts 2025-01-30 00:07:06 +00:00
Cooldude2606 e67959a239 Remove anchor 2025-01-30 00:07:05 +00:00
Cooldude2606 f534355861 Add property_from_args and global_data 2025-01-30 00:07:05 +00:00
Cooldude2606 d52ab6d2dc Add module exports 2025-01-30 00:07:05 +00:00
Cooldude2606 2fc922218d Add events for data clean up 2025-01-30 00:07:05 +00:00
Cooldude2606 8572e156a2 Add generic event handlers and anchor 2025-01-30 00:07:05 +00:00
Cooldude2606 ce560ca157 Minor adjustments to ExpElement 2025-01-30 00:07:04 +00:00
Cooldude2606 d752b01076 Add ExpElement 2025-01-30 00:07:04 +00:00
Cooldude2606 49e08af7ed Add ExpGui_GuiIter 2025-01-30 00:07:04 +00:00
Cooldude2606 3b9d895682 Add ExpGui_GuiData 2025-01-30 00:07:04 +00:00
Cooldude2606 a924a211ae Add exp_gui 2025-01-30 00:06:59 +00:00
Cooldude2606 1a17f11062 Multiple fixes for role commands
- Fix server being 'Guest' for commands
- Make autocomplete of arguments more intuitive
- Fix usage text for commands
2025-01-25 18:26:59 +00:00
Cooldude2606 b666758a54 Fix time format with nil plural 2025-01-19 23:47:22 +00:00
Cooldude2606 1d1a03cf6a Fix issues with format
- Remove tailing 'join'
- Remove 'and' with single unit
- Pad time values to 2 digits
2025-01-19 00:30:27 +00:00
Cooldude2606 b29a141d5d Fix sudo command
- Fixes autocomplete using patterns by default
- Fixes required argument for sudo
- Fixes format player name for table type
2025-01-15 21:02:44 +00:00
Cooldude2606 ff833a9b0b Fix LuaObject inheritance from userdata 2025-01-13 21:16:55 +00:00
Cooldude2606 0e6bce6975 Fix get_storage_for_stack errors with invalid stacks
Fixes `entity` is nil inside of `ExpUtil.get_storage_for_stack` #352
2025-01-13 21:00:01 +00:00
Cooldude2606 e1c1fa2767 Fix copy error in remote_only 2025-01-13 20:37:27 +00:00
Cooldude2606 3e6ec6a867 Fix issues with util and commands
- Use rawget when testing for locale strings
- Use player index 0 for errors in rcon commands
2025-01-11 00:42:41 +00:00
Cooldude2606 b781198841 Update Issue Templates 2025-01-08 21:24:59 +00:00
Cooldude2606 47b57a9c51 Fix decon planner selection edge case 2025-01-04 18:44:35 +00:00
Cooldude2606 1042897d0f Fix comparator for all role types 2025-01-03 23:32:34 +00:00
Cooldude2606 4a087a3324 Fix cache for get_storage_for_stack 2025-01-03 19:12:17 +00:00
Cooldude2606 7f14fd359b Fix comparator for lower_role type 2025-01-03 18:10:01 +00:00
Cooldude2606 993670909d Do no default alt-view to false on load fail 2025-01-03 18:08:21 +00:00
Cooldude2606 b72135f39f Fix tree decon for remote driving 2025-01-01 18:16:29 +00:00
Cooldude2606 61888d6515 Added missing asserts to external interface 2024-12-31 19:06:56 +00:00
Cooldude2606 83deb568bf Fix exp_commands logging 2024-12-31 19:02:50 +00:00
Cooldude2606 2e2e7c8518 Fix types on item transfer 2024-12-31 18:57:54 +00:00
Cooldude2606 b50f0ffff5 Fix Rocket Control 2024-12-31 18:57:27 +00:00
Cooldude2606 ac2f09add0 Revert one case back to rocket launched 2024-12-30 20:50:35 +00:00
Cooldude2606 4ece0c0e9a Change rocket launch to cargo pod ascended 2024-12-30 20:40:55 +00:00
Cooldude2606 47da1b8578 Fix rocket silo auto launch 2024-12-30 19:54:15 +00:00
Cooldude2606 114c9e4153 Handle server ups missing label 2024-12-30 19:45:31 +00:00
Cooldude2606andGitHub 25df6c91b6 Update README.md 2024-12-28 19:08:12 +00:00
Cooldude2606 d489615542 Add missing type def dep for exp_groups 2024-12-27 20:43:29 +00:00
Cooldude2606 974b28c3b0 Prepare repo for publish 2024-12-24 20:50:48 +00:00
Cooldude2606 15ea31df78 Fix output of locale color tag 2024-12-24 15:21:52 +00:00
Cooldude2606 9a173edea7 Fix use of created_entity 2024-12-24 15:21:30 +00:00
Cooldude2606 c662b9951d Add type patch meta file 2024-12-24 14:12:04 +00:00
Cooldude2606 cf6a584508 Fix remote interfaces in adv start 2024-12-20 22:09:26 +00:00
Cooldude2606 9c4546ab52 Allow plugin discovery 2024-12-20 21:32:12 +00:00
Cooldude2606andGitHub bafc8215c1 Fix CI and remove factorio control (#15) 2024-12-06 12:39:19 +00:00
Cooldude2606 214b2d8b3b Lock LuaLS CI version 2024-11-25 00:51:05 +00:00
Cooldude2606andGitHub 893a55743f Add CI Lint (#11) 2024-11-25 00:36:03 +00:00
Cooldude2606 99ab54da0a Enable stricter type checks 2024-11-21 00:03:19 +00:00
Cooldude2606 b26ce578f2 Disable name style check due to open issue
https://github.com/LuaLS/lua-language-server/issues/2643
2024-11-19 23:48:13 +00:00
Cooldude2606 24f814837c Remove unneeded files 2024-11-19 23:00:47 +00:00
Cooldude2606 9aee1c425f Fix start, join, formatting, and locale issues 2024-11-19 22:37:49 +00:00
Cooldude2606 48f55b0547 Resolve all Luals warnings 2024-11-19 22:37:15 +00:00
Cooldude2606 4b6872c14c Migrate all commands to new lib 2024-11-19 22:36:52 +00:00
Cooldude2606 c9bf85835f Improvements for ExpCommands 2024-11-19 22:36:06 +00:00
Cooldude2606 c61c931b58 Further improvements for ExpUtil 2024-11-19 22:36:04 +00:00
Cooldude2606 c9666ea6c5 Improved docs for exp_util.storage 2024-11-19 22:35:44 +00:00
Cooldude2606 64a7b34824 Update types in math include 2024-11-19 22:35:44 +00:00
Cooldude2606 e78234898e Setup exp_scenario for commands 2024-11-19 22:35:44 +00:00
Cooldude2606 34a7879761 Quick fix for player physical position 2024-11-19 22:35:41 +00:00
Cooldude2606 90d0a122cd Fixed more breaking changes 2024-11-19 22:35:22 +00:00
Cooldude2606 88cd64e422 Update Command Lib 2024-11-19 22:34:57 +00:00
Cooldude2606 377fb69152 Migration for new helpers library 2024-11-19 22:34:39 +00:00
Cooldude2606 67a169ce0a Improve Async Module 2024-11-19 22:33:47 +00:00
Cooldude2606 f8c74c9dd3 Merge Game, FlyingText, Common and table 2024-11-19 22:33:27 +00:00
Cooldude2606 3145f7e904 No more warnings 2024-11-19 22:32:46 +00:00
Cooldude2606 32a8ba8f3a Update method of getting player language 2024-11-19 22:32:09 +00:00
Cooldude2606 292c1a1b68 Update all code styles 2024-11-19 22:29:35 +00:00
Cooldude2606 5e2a62ab27 Switch from LuaCheck to LuaLS 2024-11-19 22:17:25 +00:00
Cooldude2606 d24555d805 Add joinable legacy code 2024-11-19 22:16:34 +00:00
Cooldude2606 2a1206c498 Add startable legacy code 2024-11-19 22:09:54 +00:00
Cooldude2606 65145b5d34 Move files to exp_legacy 2024-11-19 21:55:07 +00:00
Cooldude2606 446e87b610 Add Clusterio Plugins 2024-11-19 21:51:13 +00:00
Cooldude2606 f300140135 Fix control/production using outdated precision 2024-08-25 15:18:02 +01:00
Cooldude2606 9d0ffb434a Fix errors in luacheck defines 2024-08-25 00:06:21 +01:00
Cooldude2606andGitHub 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
Cooldude2606andGitHub 65e254ec45 Add spectate check to stop_follow (#285) 2024-02-11 20:22:51 +00:00
Cooldude2606andGitHub bc3e9d4097 Merge pull request #274 from PHIDIAS0303/patch-3
command name in config
2024-01-21 20:29:58 +00:00
Cooldude2606andGitHub e94cf3a0c3 Merge pull request #273 from PHIDIAS0303/patch-2
longer artillery flare lifetime
2024-01-21 20:28:49 +00:00
Cooldude2606 746dbea773 Change name of new release 2024-01-17 00:34:05 +00:00
Cooldude2606 b2896762df Update readme 2024-01-17 00:32:35 +00:00
Cooldude2606 41e66d8ea3 New docs deploy process 2024-01-16 01:04:24 +00:00
Cooldude2606andGitHub 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
Cooldude2606andGitHub 96813816b9 Merge pull request #267 from PHIDIAS0303/patch-1
personal logistic - default value change
2024-01-06 02:28:26 +00:00
Cooldude2606andGitHub 654b37ffcf Merge pull request #266 from PHIDIAS0303/patch-1
Surveillance - Smaller GUI
2024-01-03 01:14:36 +00:00
Cooldude2606andGitHub cfe92dd13c Merge pull request #253 from Cooldude2606/feature/gui-event-tags
Feature/gui-event-tags
2024-01-01 01:36:06 +00:00
Cooldude2606 3f0df9b9b0 Migrate new Guis 2023-12-30 17:34:13 +00:00
Cooldude2606 f7eb9c0c37 Final Fixes 2023-12-30 16:50:13 +00:00
Cooldude2606 edbfcd3afd Migrate gui modules 2023-12-30 16:50:04 +00:00