straywild/save/player_save_inspection.gd
Voyager 3b84bfe3a0 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.
2026-08-23 20:49:54 -04:00

30 lines
616 B
GDScript

class_name PlayerSaveInspection
extends RefCounted
enum Status {
MISSING,
VALID_SUPPORTED,
MALFORMED,
UNSUPPORTED_VERSION,
IO_ERROR,
}
var status: Status = Status.MISSING
var detected_version: int = -1
var catch_count: int = 0
var wallet_balance: int = 0
var discovered_species_count: int = 0
var total_experience: int = 0
var player_level: int = 1
var world_layout: StringName = &"generated_world"
var world_seed: int = 0
var has_primary_file: bool = false
var message: String = ""
func can_continue() -> bool:
return status == Status.VALID_SUPPORTED
func can_delete() -> bool:
return has_primary_file