Game Creator
  • Welcome to Game Creator!
  • Quickstart
    • Get Started
    • Setup
    • Tutorials
  • Game Creator
    • Game Creator
      • Actions
      • Conditions
      • Triggers
      • Hotspots
      • Characters
        • Player
        • Markers
        • Gestures
        • States
        • Advanced
          • IK in custom Animations
      • Camera
        • Camera Motors
      • Variables
        • Global Variables
        • Local Variables
        • List Variables
    • Systems
      • Localization
      • Event System
      • Timeline
      • UI
      • Module Manager
      • Game Creator Toolbar
      • Pool System
      • Game Creator API
        • Custom Actions
        • Custom Conditions
        • Custom Triggers
        • Custom Hooks
        • Custom Save & Load
        • Variables Access
        • Custom Module
  • Dialogue
    • Dialogue
      • Anatomy
      • Actors
      • Dialogue UI
      • API
  • Inventory
    • Inventory
      • Inventory Window
        • Catalogue
        • Recipes
        • Types
        • Settings
      • Merchants
      • Containers
      • Loot Tables
      • Equip Items
      • Actions
      • Conditions
      • Custom Inventory UI
  • Quests
    • Quests
      • Quests Overview
      • Create Quests
      • Quests UI
        • Custom UI
  • Stats
    • Stats
      • Stats Overview
        • Stat
        • Attributes
        • Status Effects
        • Formulas
        • Stat Modifiers
      • Stats UI
      • Common Use Cases
        • Simple Health Bar
        • Regenerative Mana
        • Poison Status Effect
        • Levels and XP
        • Strength and Armor
        • Lockpicking
  • Behavior
    • Behavior
      • Behavior Graph
        • Nodes
        • Blackboard
      • Perception
  • Shooter
    • Shooter
      • Weapons
      • Ammunition
      • Interaction
      • Examples
        • Example 1 - Get Started
        • Example 2 - Pick Weapons
        • Example 3 - Top Down
        • Example 4 - Side Scroll
        • Example 5 - First Person
        • Example 6 - Combat
      • Advanced
        • Custom Crosshairs
        • Shooter API
  • Melee
    • Melee
      • Weapons
        • Blade Component
      • Shields
      • Melee Clips
      • Combat
  • Traversal
    • Traversal
      • Obstacles
      • Climbables
      • Built-in Elements
  • Annex
    • Roadmap
    • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Inventory
  2. Inventory
  3. Inventory Window

Catalogue

An owl's wing, ... blood from a dead rat, and...! And... a troll's eye!

PreviousInventory WindowNextRecipes

Last updated 6 years ago

Was this helpful?

Items are the main object of the Inventory module. The Items Catalogue tab in the Preferences Window allows to create and set the Item's properties.

Here's an example of an empty Item:

An Item has quite a lot of options

  • Name: The name of the item (displayed in the UI)

  • Description: The description of the item (displayed in the UI)

  • Sprite: The visual representation of the item (as seen in the inventory UI)

  • Prefab: When dropping an item or instantiating it, this prefab will be used

  • Price: The price this value costs (used when buying or selling an item)

  • Max Stack: Maximum number of this items the player can carry in its inventory

  • Weight: Used for custom Inventories

  • Item Types: What category or categories this item belongs to

  • Consumable: Defines whether an item is consumable or not

If an item is marked as consumable then the Actions defined below will be executed when the player clicks on the item in the Inventory's UI or another Action forces to consume the item.

For example, if you create a Health Potion you'll want to restore some player's health (which in this example will be saved in a Variable). Then the Item would look like this.

Notice that you are not restricted to add effects to the player when consuming items.

You could, for example, instantiate another Character in front of the player when consuming an item named Magic Lamp which could be used to start a dialogue.

The possibilities are only limited by your imagination!

Since version 0.5.1 the Inventory module allows to equip and unequip items, adding new options to the Item's Catalogue. See the section for more information about equipping items.

Equip Items
(Example of an item definition)
(Example of how a Potion item looks in the RPG Inventory skin)