3a46ec4fa4
Migrate player list gui to scenario ( #421 )
...
* Migrate player list gui to scenario
Move modules/gui/player-list into exp_scenario/gui/player_list using the
new exp_gui element API, matching the other scenario guis.
- Store the selected player and action on the container's player data
instead of a datastore, folding the datastore on_update reactivity
into explicit setter functions
- Switch the actions config to injected accessor functions and the
exp-gui_player-list locale namespace
- Add the locale section, register in control.lua, and disable the
legacy module in the file loader
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
* Align names and call patterns to best practice
Apply the conventions from the rocket info gui review to the player list,
and remove the now migrated legacy module.
- Move row building onto the table def as calculate_row_data, and refresh
via refresh_player which computes the row data once per player
- Store the selection on the container with private/public accessor
methods instead of poking element data directly
- Store the selected player as a LuaPlayer rather than a string and update
the actions config to match
- Use :style{} on the player table and make the action and reason bars
their own element definitions
- Delete the migrated legacy gui and its file loader entry
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
* Address player list review feedback
- Rename the player table element data class to element_data
- Remove the redundant offline selection clear; on_player_left_game
already clears any selection pointing at a player who disconnects
- Move the action bar and reason bar visibility into their own refresh
methods so refresh_player just delegates to them
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
* Style and locale fixes
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2026-06-26 12:42:33 +01:00
Cooldude2606
31c18c7851
Style and locale fixes
2026-06-26 12:41:49 +01:00
phidias and GitHub
3a8d83f981
research changes ( #430 )
...
* Add event handlers for research reversed and queued
* Update roles.lua
* Remove bonus inventory settings from research.lua
Removed bonus inventory configuration for mining productivity.
* Update en.cfg
* Update zh-CN.cfg
* Update zh-TW.cfg
* Update research.lua
* Delete exp_scenario/module/commands/research.lua
* Update quick_actions.lua
* Update research.lua
* Update research.lua
* Update research.lua
2026-06-26 11:56:24 +01:00
21779988f0
lawnmower changed to selection ( #434 )
...
* Update lawnmower.lua
* Update quick_actions.lua
* Update lawnmower.lua
* update locale
* Update lawnmower.lua
* Fix game.get_player
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2026-06-26 11:54:05 +01:00
d548cebc17
repair add quick action, changed to selection ( #437 )
...
* Update repair.lua
* Update repair.lua
* Update quick_actions.lua
* Update en.cfg
* Update repair.lua
* Refactor repair command to use area selection
* Update en.cfg
* Fixes
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2026-06-26 11:43:09 +01:00
2a1a5c952b
home add quick action ( #436 )
...
* Update home.lua
* Update quick_actions.lua
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2026-06-25 23:15:31 +01:00
phidias and GitHub
aa7fe73bb0
vlayer info add quick action ( #438 )
...
* Update vlayer.lua
* Add vlayer command to quick actions
2026-06-25 23:14:14 +01:00
Cooldude2606 and GitHub
9bd699ebf1
Refactor legacy addons into Clusterio format ( #413 )
...
* Refactor custom start
* Refactor afk kick
* Fix use of assert get player
* Refactor chat popup
* Refactor chat auto reply
* Refactor help bubbles
* Refactor damage popups
* Refactor death markers
* Refactor deconstruction log
* Remove FAGC logging
* Refactor discord alerts
* Refactor insert pickup
* Refactor inventory clear
* Refactor extra logging
* Refactor nuke protection
* Refactor pollution grading
* Refactor protection jail
* Refactor report jail
* Refactor mine depletion
* Refactor degrading tiles
* Refactor station auto name
* Refactor spawn area
* Refactor fast deconstruction
* Bug Fixes
2025-12-02 18:34:24 +00:00
Cooldude2606 and GitHub
f1f4117e0f
Fix blueprint revive and missing script raise event ( #401 )
...
Fixes : #397
2025-09-05 12:45:55 +01:00
Cooldude2606 and GitHub
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 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
c5b9138e4e
Fix type names for Commands
2025-08-06 16:46:57 +01:00
phidias and GitHub
8b1166a135
Fix wagons being put into automatic mode ( #393 )
2025-05-15 14:22:27 +01:00
c984907aec
Dual Mode for Waterfill Command ( #391 )
...
* Update waterfill.lua
* Update waterfill.lua
* Update waterfill.lua
* Clean up water fill logic
* Update waterfill.lua
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2025-04-26 23:35:25 +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
Cooldude2606 and GitHub
aedc3cff6b
Fix lint errors on new luals version ( #384 )
2025-04-06 17:05:40 +01:00
Cooldude2606
7504043b05
Remove admin_only from get-roles
2025-03-07 14:37:23 +00:00
f84b0adee7
Fix role check in /kill ( #375 )
...
* Update kill.lua
* Update kill.lua
---------
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2025-02-06 13:55:27 +00:00
phidias and GitHub
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
phidias and GitHub
7adf4a4477
Add Kill Effect ( #366 )
...
* Update kill.lua
* Update kill.lua
* Update kill.lua
2025-02-03 21:36:40 +00:00
phidias and GitHub
44d025edd6
Fix "repair:6:3439203 'health': real number expected got inf." ( #372 )
2025-02-03 21:25:03 +00:00
phidias and GitHub
420e3cdfca
Fix non english locale issue ( #368 )
...
* Update cheat.lua
* Update zh-CN.cfg
* Update zh-TW.cfg
2025-02-02 22:43:16 +00:00
Cooldude2606
bd6781b3a0
Start converting GUI modules
2025-01-30 00:07:07 +00:00
Cooldude2606
1042897d0f
Fix comparator for all role types
2025-01-03 23:32:34 +00:00
Cooldude2606
7f14fd359b
Fix comparator for lower_role type
2025-01-03 18:10:01 +00:00
phidias and GitHub
6c6a8e03ff
Adjust Auto Research Queued Number ( #345 )
2025-01-02 20:28:58 +00:00
phidias and GitHub
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
phidias and Cooldude2606
4118acf91a
Research ( #2 )
2024-11-19 22:37:52 +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
Cooldude2606
4b6872c14c
Migrate all commands to new lib
2024-11-19 22:36:52 +00:00
Cooldude2606
e78234898e
Setup exp_scenario for commands
2024-11-19 22:35:44 +00:00