Commit Graph

9 Commits

Author SHA1 Message Date
Cooldude2606
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
aee15341bd Update GUI Research Tracker (#390)
* Update research.lua

* Update research.lua

* Update research.lua

* Format config and move pollution ageing

* Update research.lua

* Update research.lua

* Update research.lua

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-04-26 23:34:35 +01:00
64b9d0db40 Add asserts to auto research queue (#385)
* Update research.lua

* Use asserts rather than ignore errors

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-04-16 20:29:35 +01:00
6c6a8e03ff Adjust Auto Research Queued Number (#345) 2025-01-02 20:28:58 +00:00
e02e50a17b Remove rocket requirement for auto research (#342) 2024-12-30 19:36:45 +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
65cadc4040 Update Research Milestones (#17)
* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Fix use of created_entity in events

* Fix to use correct module pattern

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2024-12-24 16:17:07 +00:00
4118acf91a Research (#2) 2024-11-19 22:37:52 +00:00
Cooldude2606
4b6872c14c Migrate all commands to new lib 2024-11-19 22:36:52 +00:00