InventoryItem¶
Extends: Resource
Description¶
An inventory item
Property Descriptions¶
title¶
export var title: String = ""
The title of the inventory item
description¶
export var description: String = ""
A description for the inventory item
image_normal¶
export var image_normal: Texture = "[Object:null]"
The image/mouse pointer for the inventory item
image_active¶
export var image_active: Texture = "[Object:null]"
The image/mouse pointer for the inventory item if it’s selected
image_big¶
export var image_big: Texture = "[Object:null]"
The big image used in detail views
combineable_with¶
export var combineable_with: Array = []
The items this item can be combined with
detail_scene¶
export var detail_scene: String = ""
A scene to load for the detail view instead of the big image
detail_show_mouse¶
export var detail_show_mouse: bool = false
Whether to show the mouse cursor in the detail view
grabbable¶
export var grabbable: bool = true
Whether the item is selectable and useable on the screen If set to false, clicking the item with either mouse button will show the (custom) detail view