Commit Graph
100 Commits
Author SHA1 Message Date
Cooldude2606andGitHub 3e5043d29e Add space platform event to entity protection (#402) 2025-08-30 20:39:37 +01:00
Cooldude2606 688a6dda18 Fix uninitialised data in player bonus
Fixes: #406
2025-08-30 20:18:37 +01:00
Cooldude2606andGitHub 7ab721b4b6 Refactor some of the Guis from the legacy plugin (#399)
* Fix bugs in core and add default args to Gui defs

* Refactor production Gui

* Refactor landfill blueprint button

* Fix more bugs in core

* Consistent naming of new guis

* Refactor module inserter gui

* Refactor surveillance gui

* Add shorthand for data from arguments

* Make element names consistent

* Add types

* Change how table rows work

* Refactor player stats gui

* Refactor quick actions gui

* Refactor research milestones gui

* Refactor player bonus gui

* Refactor science production gui

* Refactor autofill gui

* Cleanup use of aligned flow

* Rename "Gui.element" to "Gui.define"

* Rename Gui types

* Rename property_from_arg

* Add guide for making guis

* Add full reference document

* Add condensed reference

* Apply style guide to refactored guis

* Bug fixes
2025-08-29 14:30:30 +01:00
Cooldude2606 5b9259d166 Fix server ups using incorrect exit hook 2025-08-08 21:44:32 +01:00
Cooldude2606andGitHub ce80ae9021 Refactored UPS monitor as clusterio plugin (#398)
* Refactor server ups

* Use catalogs

* Move to own plugin

* Use web config

* Remove External.get_server_ups

* Update workspace version requirement

* Remove need for storage

* Add locale

* Fix CI
2025-08-08 16:36:22 +01:00
Cooldude2606 69909e3202 Disable type mismatch unless opened 2025-08-06 17:05:44 +01:00
Cooldude2606 c5b9138e4e Fix type names for Commands 2025-08-06 16:46:57 +01:00
Cooldude2606 1d95d899ea Fix lint issue 2025-08-04 21:26:56 +01:00
Cooldude2606 53716aa934 Bump Luals version in CI Runner 2025-08-04 21:10:33 +01:00
Cooldude2606andGitHub aedc3cff6b Fix lint errors on new luals version (#384) 2025-04-06 17:05:40 +01:00
Cooldude2606 3dbdb2071f Update deps 2025-04-06 16:03:58 +01:00
Cooldude2606 994bfba6ed Disallow rocket gui
This gui has been causing too many issues in space age.
2025-04-06 15:39:18 +01:00
Cooldude2606 64e31adbc9 Fix toolbar buttons not showing on role assign 2025-03-07 14:38:31 +00:00
Cooldude2606 7504043b05 Remove admin_only from get-roles 2025-03-07 14:37:23 +00:00
Cooldude2606 55c39bd513 Fix missing default in server ups 2025-03-07 14:25:37 +00:00
Cooldude2606 d27129da26 Fix incorrect element name in rocket info 2025-03-07 14:22:29 +00:00
Cooldude2606 e9fc417399 Fix missing quotes in storage debug 2025-03-01 16:25:29 +00:00
Cooldude2606 b9725d0808 Use unit numbers for silo data 2025-02-26 21:18:00 +00:00
Cooldude2606 1bd656e09a Fix invalid research in base game milestones 2025-02-09 17:24:18 +00:00
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