FutureProg functions
setcondition
setcondition overload 1
Boolean setcondition(Item item, Number condition)
Available in
- computer function
- computer program
- standard futureprog
This function sets the condition percentage of an item to whatever amount you specify.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item whose condition you wish to set |
condition |
Number |
The condition of the item, between 0.0 and 1.0 |