Items

An item is a data driven object that a player can obtain, use, equip, or drop. Each item has a set of variables that describe it, and behaviors that define how it works. This includes the item's name, what happens if it is used, stack size, the icon, the mesh, amongst many other things. See the full list of variables and learn how to make new items for your game in the create items subchapter.

Default data for each item is saved to the DT_Items data table in the Blueprints/Variables/DataTables/ folder. This data table is built off the F_Item structure found in the Blueprints/Variables/Structures/ folder. We can obtain this default data at runtime using our global getItem function and our ItemRowName from our data table.

Your game’s rules control an item’s life cycle (how it is spawned, obtained, modified, and removed).

The provided demo content includes 38 items. I recommend spending some time checking these out to help familiarize yourself with how the different subsystems work.