Commit Graph
36 Commits
Author SHA1 Message Date
bbassieandClaude Opus 5 ecf236d831 Describe the Datastore type
The registry and the prototype were both bare tables, so every
`datastore:method()` call resolved to nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 15:31:18 +00:00
bbassieandClaude Opus 5 ab89b9feca Type vlayer forward declarations and config entries
The gui element locals are declared at the top and assigned far below,
so emmylua inferred them as nil at every use site.

circuit_oc was reassigned from a control behaviour to a logistic
section, which hid every section method behind the wrong type.

allowed_items entries carry heterogeneous optional properties, now
described by a class.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 15:31:18 +00:00
phidiasandGitHub 1f3689a0ac entity api change (#442)
* Update warps.lua

* .

* .
2026-06-26 15:45:46 +01:00
phidiasandGitHub cb89c08c9f Update vlayer.lua (#440) 2026-06-26 12:43:00 +01:00
phidiasandGitHub 9863412177 Remove unused properties from vlayer energy calculations (#426)
Removed unused day time, day length, and tick properties from energy calculations.
2026-06-24 22:11:37 +01:00
bbassieandClaude Opus 4.8 c669e36bec Remove migrated rocket-info from exp_legacy
The rocket info gui and its control module now live in
exp_scenario/gui/rocket_info, so delete the orphaned legacy files and
drop the disabled file loader entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 20:19:29 +00:00
Cooldude2606andGitHub 550cf09967 Refactor task list (#414) 2025-12-15 14:52:27 +00:00
Cooldude2606andGitHub 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
Cooldude2606andGitHub 82c2c7f23c Reattempt set slot after filter fail (#403) 2025-08-30 20:39:46 +01:00
Cooldude2606andGitHub 3e5043d29e Add space platform event to entity protection (#402) 2025-08-30 20:39: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
phidiasandGitHub 79ab6db28a Add character check to selection control (#386) 2025-04-16 20:59:12 +01:00
d5b889146b Add description to vlayer combinator (#382)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Use rich text for description

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-04-06 15:37:53 +01:00
Cooldude2606 b9725d0808 Use unit numbers for silo data 2025-02-26 21:18:00 +00:00
Cooldude2606 6850cfa968 Add player as an event argument 2025-01-30 00:08:46 +00:00
Cooldude2606 bd6781b3a0 Start converting GUI modules 2025-01-30 00:07:07 +00:00
phidiasandGitHub 9c5384f3f7 Fix vlayer request logic in 2.0 (#359)
* Update vlayer.lua

* Update vlayer.lua
2025-01-21 21:07:45 +00:00
phidiasandGitHub 74fc233f1a Fix GPS tag for vlayer interfaces (#355)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2025-01-15 20:37:34 +00:00
phidiasandGitHub 6b0949047e vlayer 2.0 compatible (#353)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2025-01-10 18:08:22 +00:00
Cooldude2606 47b57a9c51 Fix decon planner selection edge case 2025-01-04 18:44:35 +00:00
e64824d3a9 Change names of logistics containers (#346)
* Update vlayer.lua

* Change all other occurrences

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-01-04 18:20:48 +00:00
phidiasandGitHub b31caf6c85 Add surface area bar to vlayer (#336)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2024-12-31 19:15:48 +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
phidiasandGitHub 96de82c3cf Add checks for nil cursor stack (#341) 2024-12-30 19:35:33 +00: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 9a173edea7 Fix use of created_entity 2024-12-24 15:21:30 +00:00
Cooldude2606 4b6872c14c Migrate all commands to new lib 2024-11-19 22:36:52 +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 3145f7e904 No more warnings 2024-11-19 22:32:46 +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