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