basic natural respawn

This commit is contained in:
anonoe 2026-02-10 16:11:33 +01:00
parent bf874ba633
commit 63ca3220d1
Signed by: anonoe
SSH key fingerprint: SHA256:OnAs6gNQelOnDiY5tBpDYKQiuTgBvnmIdMo5P09cdqg
3 changed files with 35 additions and 6 deletions

View file

@ -3,7 +3,12 @@ using System.Collections.Generic;
public class SaveState
{
// Permanent one-time removals (e.g. chests, unique items)
public HashSet<string> CollectedPickups { get; set; } = new();
// Respawnables: pickupId -> unixTimeSeconds when it becomes available again
public Dictionary<string, long> PickupRespawnAt { get; set; } = new();
//public Vector2I? LastPlayerChunk { get; set; } // optional debug, requires "using Godot;"
//public int[]? LastPlayerChunk { get; set; } // [x,y] same debug as above, does not require Godot
}