Commit Graph

60 Commits

Author SHA1 Message Date
Cooldude2606
f1f4117e0f Fix blueprint revive and missing script raise event (#401)
Fixes: #397
2025-09-05 12:45:55 +01:00
Cooldude2606
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
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
ce80ae9021 Refactored UPS monitor as clusterio plugin (#398)
* Refactor server ups

* Use catalogs

* Move to own plugin

* Use web config

* Remove External.get_server_ups

* Update workspace version requirement

* Remove need for storage

* Add locale

* Fix CI
2025-08-08 16:36:22 +01:00
5cc99d86d5 Update Tool GUI Locale (#394)
* Update tool.lua

* Update tool.lua

* Update zh-CN.cfg

* Update zh-TW.cfg
2025-05-15 14:21:57 +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
e200533c6c GUI Production (#380)
* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Update production.lua

* Fix table size

* Update gui.cfg

* Update gui.cfg

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-04-06 15:36:42 +01:00
c367e80641 Improve Bonus Gui (#379)
* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update exp_legacy/module/modules/gui/bonus.lua

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>

* Recalculate limit on role change

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2025-04-06 15:33:56 +01:00
b1063ce55e Show Locale in Player Data Gui (#381)
* Update playerdata.lua

* Update data.cfg

* Update data.cfg

* Update data.cfg

* Update playerdata.lua

* Update playerdata.lua
2025-03-07 15:41:23 +00:00
Cooldude2606
55c39bd513 Fix missing default in server ups 2025-03-07 14:25:37 +00:00
Cooldude2606
d27129da26 Fix incorrect element name in rocket info 2025-03-07 14:22:29 +00:00
Cooldude2606
e9fc417399 Fix missing quotes in storage debug 2025-03-01 16:25:29 +00:00
121e7c81ea Cleanup Research GUI (#378)
* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update nukeprotect.lua

* Update nukeprotect.lua

* Update research.lua
2025-02-22 17:47:16 +00:00
a652678568 Allow "see" button without vlayer/edit perm (#376)
* Update vlayer.lua

* Update vlayer.lua
2025-02-09 17:44:23 +00:00
Cooldude2606
1bd656e09a Fix invalid research in base game milestones 2025-02-09 17:24:18 +00:00
548a5be5dc Fix on_click in task list (#374) 2025-02-06 13:53:09 +00:00
a041fe0a38 Allow Waterfill with Recipe (#364)
* Update waterfill.lua

* Update en.cfg

* Update zh-CN.cfg

* Update zh-TW.cfg

* Update zh-CN.cfg

* Update zh-TW.cfg

* Update waterfill.lua

* Update waterfill.lua

* Update waterfill.lua

* Update tool.lua

* Update waterfill.lua
2025-02-03 21:43:40 +00:00
a5114af8d4 A research requirement to space platform vlayer power (#367)
* Update vlayer.lua

* Update vlayer.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg
2025-02-02 22:45:17 +00:00
Cooldude2606
6850cfa968 Add player as an event argument 2025-01-30 00:08:46 +00:00
Cooldude2606
1a88592a8a Remove legacy gui module 2025-01-30 00:08:45 +00:00
Cooldude2606
824c5fe772 Add toolbar saving and better consistency 2025-01-30 00:08:45 +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
Cooldude2606
81c1e17429 Convert bonus, research, sups, and cctv 2025-01-30 00:07:09 +00:00
Cooldude2606
242545b007 Convert tasks, production, tools, and landfill 2025-01-30 00:07:09 +00:00
Cooldude2606
cc274595c7 Convert rocket info and autofill 2025-01-30 00:07:08 +00:00
Cooldude2606
6f9a062190 Convert readme and science info 2025-01-30 00:07:07 +00:00
Cooldude2606
bd6781b3a0 Start converting GUI modules 2025-01-30 00:07:07 +00:00
d002eeaf54 Add option for vlayer on space platforms (#365)
* Update vlayer.lua

* Update vlayer.lua

* Update vlayer.lua
2025-01-24 15:43:03 +00:00
99ca4c8b52 Fix vlayer selection locale (#361)
* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update vlayer.lua
2025-01-19 23:50:29 +00:00
ef63c690bb Adding extra valid check for battery recharge (#356)
* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua
2025-01-15 20:38:12 +00:00
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
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
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
47da1b8578 Fix rocket silo auto launch 2024-12-30 19:54:15 +00:00
Cooldude2606
114c9e4153 Handle server ups missing label 2024-12-30 19:45:31 +00:00
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
25289fd606 Update Module Gui to 2.0 (#13)
* Update module.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update research.lua

* Update module.lua

* Update module.lua

* Update module.lua

* Update module.lua

* Update gui.cfg

* Update module.lua

* Fix use of created_entity in events

* Update module.lua

* Improvements using 'module_slots' property

* Add quality support

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2024-12-28 17:53:08 +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
Cooldude2606
9a173edea7 Fix use of created_entity 2024-12-24 15:21:30 +00:00
076d42081d Add character check when applying bonus 2024-12-20 22:39:05 +00:00
Cooldude2606
99ab54da0a Enable stricter type checks 2024-11-21 00:03:19 +00:00
fcfcc7358f Fix on_built_entity in autofill.lua (#9) 2024-11-20 23:44:58 +00:00
5a1965b309 Change global to storage in server ups (#10) 2024-11-20 23:44:29 +00:00
Cooldude2606
b26ce578f2 Disable name style check due to open issue
https://github.com/LuaLS/lua-language-server/issues/2643
2024-11-19 23:48:13 +00:00
Cooldude2606
9aee1c425f Fix start, join, formatting, and locale issues 2024-11-19 22:37:49 +00:00
Cooldude2606
48f55b0547 Resolve all Luals warnings 2024-11-19 22:37:15 +00:00