Adding a property to spawnable that denotes that the spawnable is consumed when an action is successfully performed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user