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:
@@ -15,4 +15,7 @@ public class CreateSpawnableRequest
|
||||
|
||||
// Should the spawnable be removed after a successful action?
|
||||
public bool ConsumeOnSuccess { get; set; } = false;
|
||||
|
||||
// Number of successful actions allowed before it disappears (0 for unlimited)
|
||||
public int Uses { get; set; } = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user