mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 08:23:12 +09:00
Sync roboport, movement bonus, and game view settings in inventory_sync
The built-in shortcuts are not toggleable in their prototypes and set_shortcut_toggled only affects custom Lua shortcuts, so the state behind them is synced instead: allow_dispatching_robots on the character, inhibit_movement_bonus on the armor grid, and every field of game_view_settings. map_view_settings is write-only and cannot be read. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
d9bce1e39e
commit
9aeb23e5da
4 files changed
+74
No files matched your search
@@ -13,6 +13,7 @@ export type IpcPlayerData = {
|
||||
cheat_mode: boolean,
|
||||
flashlight: boolean,
|
||||
shortcuts?: Record<string, boolean>,
|
||||
game_view_settings?: Record<string, boolean>,
|
||||
ticks_to_respawn?: number,
|
||||
character?: any,
|
||||
inventories?: any,
|
||||
|
||||
Reference in new issue
Block a user