QOL and Inventory

This commit is contained in:
dingo
2026-01-21 13:34:05 -05:00
parent a1c6140143
commit 0863fe1a9f
4 changed files with 146 additions and 7 deletions
+3
View File
@@ -164,6 +164,9 @@ public class MobInstance
public List<LootDrop>? DeathLoot { get; set; }
public long DeathLootGold { get; set; }
// Corpse cleanup tracking
public long? LootEmptiedAtTick { get; set; } // Tick when loot became empty (for corpse removal timer)
/// <summary>Check if this mob has loot available</summary>
public bool HasDeathLoot => DeathLoot != null && (DeathLoot.Count > 0 || DeathLootGold > 0);