Systems
WebsiteGitHubGitBook
  • πŸ•ΉοΈSystems Intro
    • Game Controls
    • User Interface
    • Item Sprite Generation
  • πŸ“¦Asset Data
    • How Asset Data works
    • Using Asset Data
    • Creating an Asset Database
    • Known Issues
  • πŸ“‘Traits
    • Containers & Items
    • Roles
  • πŸ”«Gamemodes
    • Adding objectives
    • Adding game modes
  • πŸŽ₯Roles
    • Adding a new role
    • Adding a new permission
  • πŸ–οΈInteractions
    • Interactions Guide
  • 🧰Containers
    • Using containers in game
    • Setting up a container
      • Fields description
      • Networking a container
      • Custom storage conditions
    • FAQ
  • πŸ‘œInventories
    • Developer Guide
  • πŸ—ΊοΈTilemaps
    • Creating Maps
    • Adding new items & objects
      • Adjacency Connections
    • Technical Implementation
    • Refactor notes
    • Interface
  • πŸ’Entities
    • 🩲Character Customization
  • πŸ›‹οΈLobby
  • πŸ› οΈCrafting
  • πŸ’¬Chat
    • Channels
      • Department specific channels
      • Distance based channels
  • πŸ“£Audios
  • πŸ”ŽExamine
    • How it works
    • Setting up a game object to be examinable
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF

Traits

The traits system is a simple way of checking for basic properties in objects.

PreviousKnown IssuesNextContainers & Items

Last updated 1 year ago

Was this helpful?

Ideas for Traits can be found .

Traits can be used to check for basic properties by name, like what category an item is part of or what permissions an ID Card holds, they can also be separated into categories, currently there are just two, "None" and ID Permission.

Item Traits and Filters

You don't have to set anything up, just name the Trait, first be certain there are no other traits in the project with the same name.

To create a trait go to Assets/Content/Data/Traits, right click and go Create -> Inventory -> Traits -> Trait.

Filters are used by container to filter which items can be stored inside them, they check for traits in the items for that.

To create a filter go to Assets/Content/Data/Filter, right click and go Create -> Inventory -> Traits -> Filter.

here
πŸ“‘
Page cover image