feat: expand progression and multiplayer systems
Add named save slots, progression import/export, and a unified play flow. Add live friend requests, presence, invitations, and relationship controls without durable discovery-server social storage. Advance the network protocol with isolated channels, movement reconciliation, late-join recovery, fishing replication, and animation synchronization. Preserve per-species catch totals, refine generated-world startup and water recovery, and complete the related input and interface improvements.
This commit is contained in:
parent
1db1a5b754
commit
3b84bfe3a0
97 changed files with 7869 additions and 982 deletions
|
|
@ -54,6 +54,10 @@ func load_settings() -> bool:
|
|||
if (
|
||||
typeof(accessibility.get("auto_click_enabled")) != TYPE_BOOL
|
||||
or typeof(camera.get("invert_vertical")) != TYPE_BOOL
|
||||
or (
|
||||
camera.has("swap_hotbar_camera_scroll")
|
||||
and typeof(camera["swap_hotbar_camera_scroll"]) != TYPE_BOOL
|
||||
)
|
||||
or (
|
||||
accessibility.has("on_screen_keyboard_enabled")
|
||||
and typeof(accessibility["on_screen_keyboard_enabled"]) != TYPE_BOOL
|
||||
|
|
@ -109,6 +113,9 @@ func load_settings() -> bool:
|
|||
-1.0
|
||||
)
|
||||
loaded.invert_camera_y = camera["invert_vertical"]
|
||||
loaded.swap_hotbar_camera_scroll = bool(
|
||||
camera.get("swap_hotbar_camera_scroll", false)
|
||||
)
|
||||
loaded.on_screen_keyboard_enabled = bool(
|
||||
accessibility.get("on_screen_keyboard_enabled", false)
|
||||
)
|
||||
|
|
@ -237,6 +244,9 @@ func save_now() -> bool:
|
|||
"mouse_sensitivity": current_settings.mouse_camera_sensitivity,
|
||||
"controller_sensitivity": current_settings.controller_camera_sensitivity,
|
||||
"invert_vertical": current_settings.invert_camera_y,
|
||||
"swap_hotbar_camera_scroll": (
|
||||
current_settings.swap_hotbar_camera_scroll
|
||||
),
|
||||
},
|
||||
"audio": {
|
||||
"master": current_settings.master_volume,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue