====== UNLOCKABLE ====== **Category**: Asset Parent class: [[preview:api:asset|ASSET]]\\ Inherited by: * [[preview:api:unlockable_edict|UNLOCKABLE_EDICT]] * [[preview:api:unlockable_privilege|UNLOCKABLE_PRIVILEGE]] * [[preview:api:unlockable_technology|UNLOCKABLE_TECHNOLOGY]] [[preview:assets:unlockable| List of UNLOCKABLE assets]] ===== Properties ===== ---- ==== Name ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== Description ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== OptionalNameParameter ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== BoughtText ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== DataCost ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:api:unlockable_cost|UNLOCKABLE_COST]]'' * **Expected**: ''UNLOCKABLE_COST value'' * **Default value**: ''nil'' ---- ==== PrerequisiteUnlockableList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#list|list]]<[[preview:api:unlockable|UNLOCKABLE]]>'' * **Expected**: ''list of asset IDs'' ---- ==== IsRecurrent ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== IsComingSoon ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== DaysBeforeBuyingAgain ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== ActionList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#list|list]]<[[preview:api:game_action|GAME_ACTION]]>'' * **Expected**: ''list of GAME_ACTION values'' ---- ==== UnlockableImage ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:api:atlas_cell|ATLAS_CELL]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil''