bbassie and Claude Opus 5
164672602d
Make the @as casts actually apply
...
emmylua only parses the inline cast as `--[[@as T]]`, the spaced form
`--[[ @as T ]]` is treated as a plain comment, so all 149 of them were
doing nothing.
LuaGuiElement.style is a union because a style name can be assigned to
it, so reading it back needs the cast.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-07 15:31:18 +00:00
Cooldude2606 and GitHub
9bd699ebf1
Refactor legacy addons into Clusterio format ( #413 )
...
* Refactor custom start
* Refactor afk kick
* Fix use of assert get player
* Refactor chat popup
* Refactor chat auto reply
* Refactor help bubbles
* Refactor damage popups
* Refactor death markers
* Refactor deconstruction log
* Remove FAGC logging
* Refactor discord alerts
* Refactor insert pickup
* Refactor inventory clear
* Refactor extra logging
* Refactor nuke protection
* Refactor pollution grading
* Refactor protection jail
* Refactor report jail
* Refactor mine depletion
* Refactor degrading tiles
* Refactor station auto name
* Refactor spawn area
* Refactor fast deconstruction
* Bug Fixes
2025-12-02 18:34:24 +00:00
Cooldude2606
06d98458d4
Fix module table row data not being cleared
...
Fixes : #411
2025-09-04 14:01:44 +01:00
Cooldude2606 and GitHub
27a2feaae9
Refactor Selection Util ( #409 )
...
* Add Selection to ExpUtil
* Convert modules to use new lib
* Bug Fixes
2025-09-04 10:54:55 +01:00
Cooldude2606 and GitHub
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