Condition_HomeCleanliness
Description
Compares the cleanliness (dust) value of the character's home site against the specified threshold using the given comparison type.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose home site cleanliness is checked (Self or Target). |
| CompareType | Comparison type: Less, Greater, Equal, GreaterOrEqual, LessOrEqual, InRange, OutRange. |
| F1 | Threshold value (or minimum value for InRange/OutRange). |
| F2 | Maximum value for InRange/OutRange comparison. |
Examples
| Description | BaseObject | Command | CompareType | F1 | F2 |
|---|---|---|---|---|---|
| Checks if Self's home site cleanliness is less than 40 | Self | HomeCleanliness | Less | 40 | |
| Checks if Target's home site cleanliness equals 0 | Target | HomeCleanliness | Equal | 0 | |
| Checks if Self's home site cleanliness is between 10 and 50 | Self | HomeCleanliness | InRange | 10 | 50 |
| Checks if Self's home site cleanliness is 80 or greater | Self | HomeCleanliness | GreaterOrEqual | 80 |
Back to Command FinderSearch and filter all 491 Script Condition documents