Skip to content

Entities ​

An entity is anything in the world that has a body and can act or be acted on: the characters of the player, the creatures and people of the world, and the objects you can use or destroy. This category holds their definitions.

Start here

Build an NPC who talks and sells: an NPC, a shop and a conversation, placed in a world, about 20 minutes.

TabWhat it defines
Playable CharacterA character the player can control or recruit: its class, level, model, inventory and equipment
Player ClassesWhat a character can do: stats, abilities, starting gear, level rewards, skill trees, companion AI
NPCsEverything that is not a player: enemies, townspeople, animals, bosses, vendors
InteractablesObjects: doors, chests, switches, ladders, traps, signs, crafting stations, destructible barrels
MountsHorses, griffins, carts, tanks and boats the player rides: how they move, how they are steered, and the seats with the abilities of each
Spawn TablesWhat can appear and how likely each thing is (NPCs in groups, interactables, dropped items and money, nothing): the lists the spawners roll
Growth ProfilesHow a kind of NPC gains stats with its level (heavy, caster, minion), shared by every NPC that uses the profile

The kinds of entity ​

KindIn the editorNotes
PlayerA character of a classEvery member of the party is a player. The one you control is the current player; the others are companions that fight and follow on their own
NPCAn NPC definitionPlaced in the world as a unique, spawned by an event or an encounter, or summoned
PetAn NPC that was summoned by an effectIt has a summoner, follows it in formation and leaves when it dies
Interactable objectAn interactable definitionA static body with one interaction

What every entity has ​

Whatever it is, an entity is made of the same parts, and they come from its definition:

PartWhere it comes from
Model and animationsThe skeleton and animation type of the definition, and the weapon tags of its weapon class
Stats and poolsThe stats data of the class or NPC: which pools it has, its stats, its immunities, the growth per level
AbilitiesThe basic attack and the active and passive abilities of the definition
EffectsApplied by abilities, items and the world
Inventory and equipmentThe items it starts with, and the slots it wears them in
FactionThe faction decides who it fights, who it helps and who ignores it
BehaviorThe behavior script (what it does when nothing is happening) and the combat script (what it does in a fight)
Entity typeThe entity type of the definition (Humanoid, Beast, Undead): conditions read it, and the effects of the type are put on the entity

Entity types in the definition ​

Every entity definition has an Entity type. Choose the type the creature is: a skeleton is Undead. A stat effect, an effect or a requirement can then ask "is it Undead?", and the effects the type brings (undead take more holy damage) are on the creature from the start. An entity has one type.

Templates ​

An NPC or an interactable can follow a template: the stats, pools, immunities, growth and abilities that many of them share. Change the template and everything that follows it changes, keeping what each one did for itself. See Templates. The player class editor has a Templates menu that makes a new class from a saved one.

See also ​