====== RESOURCE ====== **Category**: Asset Parent class: [[:api:asset|ASSET]]\\ Inherited by [[:api:blueprint|BLUEPRINT]] [[:assets:resource| List of RESOURCE assets]] ===== Properties ===== ---- ==== ResourceName ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== OrderId ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== Icon ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:atlas_cell|ATLAS_CELL]]'' * **Expected**: ''asset ID'' ---- ==== ResourceTypeList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:resource_type|RESOURCE_TYPE]]>'' * **Expected**: ''list of enum values'' ---- ==== ResourceLayoutType ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:resource_layout_type|RESOURCE_LAYOUT_TYPE]]'' * **Expected**: ''enum value'' * **Default value**: ''RESOURCE_LAYOUT_TYPE.CRATES'' ---- ==== IsUnique ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== IsTradable ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== TradeBuyingPrice ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:resource_collection_value|RESOURCE_COLLECTION_VALUE]]'' * **Can also be built from**: ''[[:data-types#list|list]]<[[:api:resource_quantity_pair|RESOURCE_QUANTITY_PAIR]]>'' * **Expected**: ''RESOURCE_COLLECTION_VALUE value'' or ''list of RESOURCE_QUANTITY_PAIR values'' * **Default value**: ''nil'' ---- ==== TradeSellingPrice ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:resource_collection_value|RESOURCE_COLLECTION_VALUE]]'' * **Can also be built from**: ''[[:data-types#list|list]]<[[:api:resource_quantity_pair|RESOURCE_QUANTITY_PAIR]]>'' * **Expected**: ''RESOURCE_COLLECTION_VALUE value'' or ''list of RESOURCE_QUANTITY_PAIR values'' * **Default value**: ''nil'' ---- ==== CanGoNegative ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== DisplayInInventory ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== DisplayInToolbar ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== DisplayGizmo ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== IsDisplayContainerTracker ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== DepositSoundEvent ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== GatheringSoundEvent ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== PlantingSoundEvent ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== ResourceVisualPrefab ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:prefab|PREFAB]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== IndividualResourceVisualPrefab ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:prefab|PREFAB]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== IsOnWater ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false''