QOL and Inventory
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user