bbassie and Claude Opus 5
90f32699c7
Fix duplicate class and annotation placement lint errors
...
Classes contributed to by more than one file now carry the `partial`
attribute. trains.lua declared its command as `ExpCommand_Artillery`,
which was a copy paste.
`Color.0` and `MapPosition.0` became `.struct` in fmtk 2.1.6.
emmylua rejects `@type` on a function statement or a `do` block, so
those are moved onto the local or replaced by `@param` and `@return`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-07 15:31:18 +00: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
phidias and GitHub
8b1166a135
Fix wagons being put into automatic mode ( #393 )
2025-05-15 14:22:27 +01:00
8c19d67450
Add Tool Gui ( #20 )
...
* Update _file_loader.lua
* Create tool.lua
* Update trains.lua
* Update research.lua
* Fix use of created_entity in events
* Update trains.lua
* Update tool.lua
* Update research.lua
* Update research.lua
* Update tool.lua
* Update research.lua
* Update trains.lua
* Fix waterfill locale
* Fix bug with selection tools and remote view
* Fix tool GUI
* Update tool.lua
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2024-12-28 17:29:51 +00:00
Cooldude2606
4b6872c14c
Migrate all commands to new lib
2024-11-19 22:36:52 +00:00