Condition_HasSalesRights
Description
Checks whether Self has the right to set the price (sell) of the BaseObject. Sales rights are granted to household members when the object is on sale, placed on a flea market stall, or located in the character's home site.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The game object to check sales rights on (Self or Target) |
| CompareType | Comparison operator: Equal, NotEqual |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self has the right to set the price of Target object | Target | HasSalesRights | Equal |
| Check if Self does not have pricing rights on Target | Target | HasSalesRights | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents