Skip to content

Item Definition

zcaliptium edited this page Jun 3, 2021 · 4 revisions

File: GDInv_ItemDefinition.gd

Description

Some kind of item template. All of these templates stored at Item Database.

It has such fields:

  • Identifier (String);
  • Max Stack Size (int)
  • Attributes (Dictionary).

Identifier

Unique String that used to refer dialog at Item Database. Should NOT be altered anyhow by your code it should be same as key-string used at database.

Item Attributes

Set of constants related to specific item type. It lays on your own that attributes you will have.

Clone this wiki locally