Adding a property to spawnable that denotes that the spawnable is consumed when an action is successfully performed

This commit is contained in:
hz
2025-06-09 18:57:59 -05:00
parent 8ac2b5865f
commit aa8c969906
3 changed files with 60 additions and 1 deletions
+3
View File
@@ -18,4 +18,7 @@ public class Spawnable
// Possible outcomes of collecting this item
public List<CollectOutcome> CollectResults { get; set; } = [];
// If true, the spawnable item is removed after a successful action
public bool ConsumeOnSuccess { get; set; } = false;
}