preview:api:resource
This is an old revision of the document!
Table of Contents
RESOURCE
Category: Asset
Properties
ResourceName
- Type:
String
Icon
- Type:
TEXTURE
- Expected:
Asset ID
ResourceTypeList
ResourceLayoutType
- Type:
RESOURCE_LAYOUT_TYPE
- Expected:
String Enum Value
- Default value:
CRATES
IsTradable
- Type:
Boolean
- Default value:
true
FillnessPerc
- Type:
Float
- Default value:
1.0f
SellingPrice
- Type:
Float
- Default value:
1.0f
BuyingPrice
- Type:
Float
- Default value:
1.0f
VillagerBuyingPrice
- Type:
RESOURCE_QUANTITY_PAIR
- Default value:
nil
CanGoNegative
- Type:
Boolean
- Default value:
false
DisplayInInventory
- Type:
Boolean
- Default value:
true
DisplayInToolbar
- Type:
Boolean
- Default value:
false
DepositSoundEvent
- Type:
String
GatheringSoundEvent
- Type:
String
PlantingSoundEvent
- Type:
String
ConsumptionBehaviorOverride
- Type:
BEHAVIOR_TREE
- Expected:
Asset ID
- Default value:
nil
ResourceVisualPrefab
- Type:
PREFAB
- Expected:
Asset ID
- Default value:
nil
IsOnWater
- Type:
Boolean
- Default value:
false
preview/api/resource.1570055999.txt.gz · Last modified: 2019/10/02 18:39 by maxime