User Tools

Site Tools


api:resource

RESOURCE

Category: Asset

Parent class: ASSET
Inherited by BLUEPRINT

List of RESOURCE assets

Properties


ResourceName

  • Type: string

OrderId

  • Type: integer
  • Default value: 0

Icon


ResourceTypeList


ResourceLayoutType


IsUnique

  • Type: boolean
  • Default value: false

IsTradable

  • Type: boolean
  • Default value: true

SellingPrice

  • Type: float
  • Default value: 1.0f

BuyingPrice

  • Type: float
  • Default value: 1.0f

VillagerBuyingPrice


CanGoNegative

  • Type: boolean
  • Default value: false

DisplayInInventory

  • Type: boolean
  • Default value: true

DisplayInToolbar

  • Type: boolean
  • Default value: false

DisplayGizmo

  • Type: boolean
  • Default value: true

DepositSoundEvent

  • Type: string

GatheringSoundEvent

  • Type: string

PlantingSoundEvent

  • Type: string

ConsumptionBehaviorOverride


ResourceVisualPrefab

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

IsOnWater

  • Type: boolean
  • Default value: false
api/resource.txt · Last modified: 2020/10/22 10:16 (external edit)