api:resource
Table of Contents
RESOURCE
Properties
ResourceName
OrderId
Icon
ResourceTypeList
ResourceLayoutType
- Type:
RESOURCE_LAYOUT_TYPE
- Expected:
enum value
- Default value:
RESOURCE_LAYOUT_TYPE.CRATES
IsUnique
IsTradable
TradeBuyingPrice
- Can also be built from:
list<RESOURCE_QUANTITY_PAIR>
- Expected:
RESOURCE_COLLECTION_VALUE value
orlist of RESOURCE_QUANTITY_PAIR values
- Default value:
nil
TradeSellingPrice
- Can also be built from:
list<RESOURCE_QUANTITY_PAIR>
- Expected:
RESOURCE_COLLECTION_VALUE value
orlist of RESOURCE_QUANTITY_PAIR values
- Default value:
nil
CanGoNegative
DisplayInInventory
DisplayInToolbar
DisplayGizmo
IsDisplayContainerTracker
DepositSoundEvent
GatheringSoundEvent
PlantingSoundEvent
ResourceVisualPrefabList
Used for the display of multiple unit of the resource (i.e: for warehouses). If multiple prefab are set, will randomly pick one in the list
- Expected:
list of asset IDs
IndividualResourceVisualPrefabList
Used for the display of a single unit of the resource (i.e: for market stand). If multiple prefab are set, will randomly pick one in the list
- Expected:
list of asset IDs
IsOnWater
TransportInteractiveLocationSetup
- Expected:
asset ID
- Default value:
nil
api/resource.txt · Last modified: 2025/04/09 13:37 by 127.0.0.1