Skip to reading
Lua Scripting

Designer property paths / continued

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page

Earlier edition reference / Current 0.86.4.0 property paths > p. 105

Designer property paths / continued#

icon [text] Legacy/direct icon path.

iconAnimated [boolean] Use animated inventory icon frames.

iconAssetId [record] Inventory icon asset.

iconFps [number] Animated icon frames per second.

iconLoop [boolean] Loop animated icon frames.

id [text · read only] Stable inventory item ID. Rename with the editor so references can be updated.

interactions [dictionary] Inventory interaction actions keyed by verb.

inventoryInteractions [array] Rules for using this item on inventory/world targets.

maxStack [integer] Maximum amount in one stack.

name [text] Inventory item display name.

prepositionInteractions [array] Match a verb and second object. If no rule matches, the first object's ordinary verb action receives both objects in its script context.

rarity [text] Game-defined rarity label.

sortOrder [integer] Inventory sorting order.

stackable [boolean] Whether item amounts stack.

tags [array] Item tags.

types [array] Item type/category tags.

value [number] Game-defined item value.

verbPrepositions [dictionary] Objects choose whether to use this preposition in their Verb Actions tab.

weight [number] Game-defined item weight.

LUA SCRIPTS#

custom [dictionary] Project-defined script properties.

description [text] Lua Script description.

enabled [boolean] Whether this Lua Script is enabled.

events [array] Declared Lua-script event bindings.

folder [text] Editor organization folder.

global [boolean] Whether one persistent instance listens globally.

id [text · read only] Stable Lua Script ID.

languageVersion [text · read only] Lua language version.

name [text] Lua Script display/editor name.

source [text] Lua 5.4 source text. Edit source in the Lua Designer; changes invalidate the Lua runtime cache.

Page 84 of 133Permalink
Go to page