Skip to content

Interaction types ​

The interaction of an interactable is the thing that happens when it is used. Pick one in the editor: every kind below has its own fields.

Each type has a section of its own in the editor. There are three families:

FamilyWorks onTypes
Object interactionsInteractable objectsDoor, Container, Switch, Light, Ladder, Rabbit Hole, Trap, Readable, Gather
Common interactionsObjects and NPCsSpeak, Conversation, Vendor, Crafting, Grant Quest, Show UI Panel
Entity interactionsNPCs and other entitiesLoot, Join Party, Mount

Mount ​

Walk up to the NPC and use it: the player sits on the first free seat. It is for a creature you ride (a horse, a griffin) and for a cart, a tank or a boat. The one field is the Mount of the Database (Entities > Mounts): how the NPC moves, how it is steered and where riders sit. The NPC keeps its health and stats and its own behavior waits while it is ridden. See Mounts and vehicles.

Gather ​

A gathering node: an ore vein, an herb, a tree to chop, a fishing spot. Using it gives the user what the node's loot rules of the trigger On Gathered roll, straight to the bag. It uses everything from Using an object: a profession level as a requirement, a time to gather with a cast bar, the animation of the gatherer.

FieldWhat it doesDefault
ChargesHow many times the node can be gathered from before it is used up. A mining node of 3 is gone after three gathers1
Loot modeTo the bag: what a gather rolls goes straight to the gatherer's bag. Window: it goes into the inventory of the node and a loot window opens, like a chest (see below). On the ground: it lies around the node as dropped items, and a full bag does not stop the gatherTo the bag
Auto close distanceWindow: the window closes when the gatherer walks this far (2 to 20)4
When depletedStays: the node stays where it is, cannot be used, and plays its depleted animation. Disappears: it cannot be seen, hit or usedStays
Respawn secondsGame seconds until a used-up node is full again. 0 = never (until an event brings it back)0
Profession (Craft school)The profession a gather raises (Mining, Herbalism). 0 = nonenone
Skill pointsWhat one gather gives (Points mode), or the weight of the chance of a skill-up (Skill-ups mode)1
Skill up from / untilThe skill range the node teaches in, with a curve inside it, exactly as a recipe does. From the until level the node teaches nothing (grey). 0 = it never stops1, 0
Full / Gather / Depleted animationAnimations of the object's model: when it is full (and comes back), at every gather, when it is used upnone

Where the loot comes from. Add a loot rule to the object with the trigger On Gathered. Each gather rolls it again, so a node with a table of three herbs gives one of them each time. A rule can give currency too.

Loot window. With Loot mode: Window the node keeps what it rolled in an inventory of its own (no slot limit) and opens it like a container. What the gatherer does not take stays:

  • Using the node again opens the same window with the same loot. It takes no time, uses no charge and gives no skill: nothing new is rolled until the node is empty.
  • When the window is emptied the next gather rolls again (a charge, skill), and takes its time as usual.
  • A node with no charges left is not used up while loot is still waiting: it is used up when the last loot is taken.
  • What is waiting in the node is saved. A node that comes back after being used up is full and empty of loot.
  • There is no "bag is full" check: the gatherer takes what fits.

No room (to the bag). The loot goes into the gatherer's bag or not at all. A gatherer whose bag has no room at all is told "Your bag is full" before the time starts. A bag with some room but not enough for the whole roll fails when the time is up: nothing is given, the charge is not used, and the node stays as it was. A quest item that is kept aside and a currency take no room.

Profession and skill. Gate a node with the Requirements of the object: Needs Mining 25. The node teaches the profession only while the gatherer's skill is inside the node's range; a copper vein at skill 300 gives nothing to learn.

Quests. The Player Gathered trigger counts gathers (of any node, or of one kind) for an objective: Gather 8 Moonpetal, with a tally.

Saving. The charges left, whether the node is used up and how long until it returns are saved.

A used-up node can be brought back by an event or later by a spawner; today it comes back on its own when it has a respawn time.

Door ​

FieldWhat it doesDefault
Is openThe door starts openoff
Can open when damagedA damaged door can still be openedon
Auto close, Auto close delayThe door closes by itself after this many secondsoff, 5
AnimationsThe animations of opening, closing and being locked. Choose them from the scene's animationsopen, close, locked
SoundsOpen, close, locked, creaknone

A closed door blocks the way; an open door does not. A locked door shows its locked animation and plays its locked sound until the key is used.

Container ​

A chest, a crate, a corpse-less loot pile.

FieldWhat it doesDefault
InventoryAn older setting: items and currency in it from the start. It keeps working (as a loot rule on Initialize); new containers use loot rulesempty
Max slotsHow many slots it has20
Inventory styleOwn rules for this container: no limit, a weight limit ... Off = the container inventory style of the Gameplay Config. See Inventoriesoff
Loot tableAn older setting: a loot table rolled into the container when it is created. Use a loot rule instead: it can roll when the chest is first opened, at the level of the one who opens itnone
Auto close, Auto close distanceThe container closes when the player walks this many metres away (2 to 10)on, 4
Animations, SoundsClosed, locked, open; open, close, locked

A container can be locked with the object's key. Using the key opens the lock and the chest in one go.

A destroyed container that still holds something stays lootable, like a corpse; a broken lock does not hold. See Loot.

Switch and Light ​

FieldWhat it doesDefault
Current state, Starts onON, OFF, BROKEN or COOLDOWN, and whether it starts onoff
Cooldown enabled, Cooldown durationThe switch cannot be used again for this longoff, 2
Animations, SoundsOn, off, broken, locked

A switch raises signals your events can react to: a lever that opens a gate.

A Light is a switch that lights something: Light type (Omni or Spot), color, energy, shadows, the range and attenuation of each type, the spot angle, and an optional VFX while it is on. A coloured light is saved with its color.

Ladder ​

FieldWhat it doesDefault
Climb speedMetres per second3
Allow multiple climbersMore than one entity on the ladder at onceoff

The scene of a ladder needs a path with a start marker and an end marker. While climbing, the controls of the climber are locked.

Rabbit hole ​

A teleporter between two places in the same world, like a staircase or a tunnel. Both ends are rabbit holes.

FieldWhat it doesDefault
Destination rabbit holeThe other endnone
Arrival position, Arrival rotationWhere and how the traveler appears, relative to the destinationzero
AnimationsIdle, disabled, broken

Trap ​

FieldWhat it doesDefault
Trap effectThe effect applied to whoever sets it offnone
Trigger modeProximity (something walks in), Interaction (it is used) or Event call (only an event triggers it)Proximity
ReusabilityOne time, Cooldown (with Cooldown duration) or UnlimitedOne time
Visible when armedThe trap can be seenon
Trigger on players / NPCs / petsWho sets it offplayers and NPCs
Use relationship filter, Trigger relationshipAlso ask the faction: only whoever is hostile to the trap sets it off. A trap that was summoned always asks, and only hurts the enemies of its summoneroff
Fixed target position, Use fixed targetApply the effect at a fixed point instead of on the one who set it offoff
Detection shape, Detection offset, Trigger delayThe shape that notices entities, where it sits, and a delay after noticing
Repeat timer (enabled, interval, count)The trap goes off again on a timer, a number of times (-1 = for ever)off
Lifetime (enabled, duration, cancel persistent effects)The trap expires after a time and ends the lasting effects it appliedoff
Trigger sound

Readable ​

FieldWhat it does
Readable titleThe heading of the panel
PagesThe text of each page. BBCode works
Background textureAn image behind the text

A sign, a book on a lectern, a note on a corpse. Using it opens the reading panel. (An item can be a readable too: see Items.)

Speak ​

FieldWhat it doesDefault
TextA line that floats over the object or NPC when it is used
Font, Text size, Outline size, Text colorHow it looks
Text durationSeconds the line stays. A longer voice line makes it stay longer5
Voice line, AnimationA voice line and a social animation that go with it. The voice line is picked in the same window as in a conversation (it only offers voice lines). It is speech: it plays from the entity on the Voice channel, in the voice language of the player, with its subtitlenone
Kind, Emote, Audience, Range, Trigger areaThe text is also written in the chat: as something said, yelled or described, or as an emote of the library. By default the player who talked to it reads itSay

Show UI Panel ​

Opens a panel of the interface when the NPC or the object is used: a wardrobe that opens the inventory, a notice board that opens a bounty panel of your own, a mirror that opens the character sheet.

FieldWhat it doesDefault
Panel nameThe panel to open: a list of the panels that the in-game scene has (the ones in its UIPanels node that have a Panel Name: the character sheet, the spellbook, the quest log, and any you add)none
Close when farThe panel closes when the player walks further than the interaction distance from the NPC or the objecton

The panel closes when the player walks away, when they close it themselves, or when the interaction ends. Using it opens the panel for the player who used it, and the other windows close.

A panel of your own. Make a panel that extends PanelUI, give it a Panel Name, and put it in the UIPanels node of your in-game scene: it is in the list. The panel can override on_opened_by_interaction(interaction, player) to know what opened it (which notice board, whose chest), for example to fill itself with the contents of that object. A panel with a key number can be opened by its key and by the interaction.

Conversation ​

FieldWhat it does
ConversationThe conversation that opens when the object or NPC is used

Vendor ​

FieldWhat it does
VendorThe vendor whose shop opens
Shop open sound, Shop animationPlayed when it opens

The shop closes if the customer walks away.

Crafting ​

FieldWhat it doesDefault
Craft schoolThe craft school whose recipes this station offersnone
Requires personal materialsThe crafter needs the materials in their own bagon
Open sound, AnimationPlayed when it opens

Grant quest ​

FieldWhat it doesDefault
QuestThe quest given when the object is usednone
Disable after grantThe interaction is switched off once it has given the queston
Hide if quest startedThe prompt is hidden when the quest is already active or doneon
Custom interaction nameThe text of the prompt. Empty uses the quest's name

Show UI panel ​

Opens a panel of your own interface. It has no fields; the object only raises the request.

Entity interactions ​

TypeWhat it does
LootOpens the loot window of a dead NPC. The game installs it by itself on a corpse that has something to loot, and takes it away when the corpse is empty or the NPC is resurrected
Join partyRecruits a playable character into the party (or the reserve when the party is full). Field: Character definition