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:
bbassieandClaude Fable 5.1 committed 2026-09-07 23:16:33 +00:00
1 parent d9bce1e39e
commit 9aeb23e5da
4 files changed
+74

No files matched your search

+1
View File
@@ -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,