User Tools

Site Tools


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

SellingPrice

Serialized

  • Type: float
  • Expected: float value
  • Default value: 1.0f

BuyingPrice

Serialized

  • Type: float
  • Expected: float value
  • Default value: 1.0f

VillagerBuyingPrice

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
api/resource.txt · Last modified: 2022/02/15 14:51 (external edit)