Implemented a property that will allow a spawnable to be acted on a variable number of times before being consumed.

This commit is contained in:
hz
2025-06-09 23:05:40 -05:00
parent 5a27adf034
commit 43f3e8f0e7
12 changed files with 83 additions and 7 deletions
+4
View File
@@ -21,4 +21,8 @@ public class Spawnable
// If true, the spawnable item is removed after a successful action
public bool ConsumeOnSuccess { get; set; } = false;
// Number of times this spawnable can be successfully acted upon
// before it is removed. A value of 0 means unlimited uses.
public int Uses { get; set; } = 0;
}