bbassie and Claude Opus 5
f9ce3c4145
Assert row lookups and narrow force and style reads
...
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-07 15:31:43 +00:00
bbassie and Claude Opus 5
0b31a70801
Type forward declared handlers and assert element parents
...
The player list action setter runs during control setup, before any of
the callbacks that use it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-07 15:31:43 +00:00
bbassie and Claude Opus 5
5aeafa0e11
Fix child lookups, cache keys and loadstring
...
`loadstring` was removed in Lua 5.2, `load` takes a string the same way.
Warp gui child lookups are optional, so they use the same assert the
rest of the repo does.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-07 15:31:18 +00:00
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
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
6850cfa968
Add player as an event argument
2025-01-30 00:08:46 +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
phidias and GitHub
60e9aaee16
Change collision layer name ( #343 )
2024-12-30 19:38:22 +00:00
d12b50b4ed
Remove Zoom to World ( #339 )
...
* Update player-list.lua
* Update warp-list.lua
* Fix remaining cases of zoom_to_world
* Fix lint
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2024-12-30 19:30:17 +00:00
Cooldude2606
34a7879761
Quick fix for player physical position
2024-11-19 22:35:41 +00:00
Cooldude2606
f8c74c9dd3
Merge Game, FlyingText, Common and table
2024-11-19 22:33:27 +00:00
Cooldude2606
292c1a1b68
Update all code styles
2024-11-19 22:29:35 +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