User Tools

Site Tools


preview:api:resource

RESOURCE

Category: Asset

Parent class: ASSET
Inherited by BLUEPRINT

List of RESOURCE assets

Properties


ResourceName

Serialized

  • Type: string
  • Expected: string value

OrderId

Serialized

  • Type: integer
  • Expected: integer value
  • Default value: 0

Icon

Serialized


ResourceTypeList

Serialized


ResourceLayoutType

Serialized


IsUnique

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

IsTradable

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

TradeBuyingPrice

Serialized


TradeSellingPrice

Serialized


CanGoNegative

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

DisplayInInventory

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

DisplayInToolbar

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

DisplayGizmo

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

DepositSoundEvent

Serialized

  • Type: string
  • Expected: string value

GatheringSoundEvent

Serialized

  • Type: string
  • Expected: string value

PlantingSoundEvent

Serialized

  • Type: string
  • Expected: string value

ConsumptionBehaviorOverride

Serialized


ResourceVisualPrefab

Serialized

  • Type: PREFAB
  • Expected: asset ID
  • Default value: nil

IndividualResourceVisualPrefab

Serialized

  • Type: PREFAB
  • Expected: asset ID
  • Default value: nil

IsOnWater

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false
preview/api/resource.txt · Last modified: 2022/08/12 10:40 (external edit)