Difference between revisions of "0542"
Jump to navigation
Jump to search
m (fixed property ids) |
(page updates + named values) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|VC}} '''SET_PROPERTY_AS_OWNED''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Adds a property to the property owned stat | |
− | + | '''Syntax''' | |
− | + | : 0542: add_property [''int''] to_property_own_stats | |
− | + | '''Parameter''' | |
+ | : [''int''] | ||
+ | :: Integer value | ||
− | {| | + | This opcode adds a property to the "Property Owned" stat ([[GXT]] string <code>PROPOWN</code>). The number of property is incremented by one and the name is added to the list of properties. Values higher than the ones in the game can be used but only the number of properties will be incremented; the property name will not show up. |
+ | |||
+ | {| class="wikitable" | ||
! Value | ! Value | ||
+ | ! Enum | ||
+ | ! [[GXT]] | ||
! Property | ! Property | ||
|- | |- | ||
| 0 | | 0 | ||
+ | | PROP_MALIBU | ||
+ | | STPR_1 | ||
| The Malibu | | The Malibu | ||
|- | |- | ||
| 1 | | 1 | ||
+ | | PROP_PRINTWORKS | ||
+ | | STPR_2 | ||
| Print Works | | Print Works | ||
|- | |- | ||
| 2 | | 2 | ||
+ | | PROP_FILMSTUDIO | ||
+ | | STPR_3 | ||
| Film Studio | | Film Studio | ||
|- | |- | ||
| 3 | | 3 | ||
+ | | PROP_ICECREAM | ||
+ | | STPR_4 | ||
| Ice Cream Factory | | Ice Cream Factory | ||
|- | |- | ||
| 4 | | 4 | ||
+ | | PROP_CARSHOWROOM | ||
+ | | STPR_5 | ||
| Car Showroom | | Car Showroom | ||
|- | |- | ||
| 5 | | 5 | ||
+ | | PROP_TAXICO | ||
+ | | STPR_6 | ||
| Taxi Company | | Taxi Company | ||
|- | |- | ||
| 6 | | 6 | ||
+ | | PROP_BOATYARD | ||
+ | | STPR_7 | ||
| Boatyard | | Boatyard | ||
|- | |- | ||
| 7 | | 7 | ||
+ | | PROP_STRIPCLUB | ||
+ | | STPR_8 | ||
| Pole Position Club | | Pole Position Club | ||
|- | |- | ||
| 8 | | 8 | ||
+ | | PROP_VICEPOINT | ||
+ | | STPR_9 | ||
| 3321 Vice Point | | 3321 Vice Point | ||
|- | |- | ||
| 9 | | 9 | ||
+ | | PROP_LINKSVIEW | ||
+ | | STPR_10 | ||
| Links View Apartment | | Links View Apartment | ||
|- | |- | ||
| 10 | | 10 | ||
+ | | PROP_EL_SWANKO | ||
+ | | STPR_11 | ||
| El Swanko Casa | | El Swanko Casa | ||
|- | |- | ||
| 11 | | 11 | ||
+ | | PROP_WASHINGTON_STREET | ||
+ | | STPR_12 | ||
| 1102 Washington Street | | 1102 Washington Street | ||
|- | |- | ||
| 12 | | 12 | ||
+ | | PROP_OCEANHEIGHTS | ||
+ | | STPR_13 | ||
| Ocean Heights Apartment | | Ocean Heights Apartment | ||
|- | |- | ||
| 13 | | 13 | ||
+ | | PROP_SKUMOLESHACK | ||
+ | | STPR_14 | ||
| Skumole Shack | | Skumole Shack | ||
|- | |- | ||
| 14 | | 14 | ||
+ | | PROP_HYMAN_CONDO | ||
+ | | STPR_15 | ||
| Hyman Condo | | Hyman Condo | ||
|} | |} | ||
− | ==Keywords== | + | == Keywords == |
add, increment, property, properties, owned, stat, statistics | add, increment, property, properties, owned, stat, statistics | ||
+ | |||
+ | [[Category:OpCodes]] |
Revision as of 04:58, 9 January 2015
Description
- Adds a property to the property owned stat
Syntax
- 0542: add_property [int] to_property_own_stats
Parameter
- [int]
- Integer value
This opcode adds a property to the "Property Owned" stat (GXT string PROPOWN
). The number of property is incremented by one and the name is added to the list of properties. Values higher than the ones in the game can be used but only the number of properties will be incremented; the property name will not show up.
Value | Enum | GXT | Property |
---|---|---|---|
0 | PROP_MALIBU | STPR_1 | The Malibu |
1 | PROP_PRINTWORKS | STPR_2 | Print Works |
2 | PROP_FILMSTUDIO | STPR_3 | Film Studio |
3 | PROP_ICECREAM | STPR_4 | Ice Cream Factory |
4 | PROP_CARSHOWROOM | STPR_5 | Car Showroom |
5 | PROP_TAXICO | STPR_6 | Taxi Company |
6 | PROP_BOATYARD | STPR_7 | Boatyard |
7 | PROP_STRIPCLUB | STPR_8 | Pole Position Club |
8 | PROP_VICEPOINT | STPR_9 | 3321 Vice Point |
9 | PROP_LINKSVIEW | STPR_10 | Links View Apartment |
10 | PROP_EL_SWANKO | STPR_11 | El Swanko Casa |
11 | PROP_WASHINGTON_STREET | STPR_12 | 1102 Washington Street |
12 | PROP_OCEANHEIGHTS | STPR_13 | Ocean Heights Apartment |
13 | PROP_SKUMOLESHACK | STPR_14 | Skumole Shack |
14 | PROP_HYMAN_CONDO | STPR_15 | Hyman Condo |
Keywords
add, increment, property, properties, owned, stat, statistics