Skip to content

SpawnTablesEditor ​

Inherits: ResourceEditor < Control

The Spawn Tables editor (the SpawnTableDefinition database, World > Spawn Tables): a name, a description and the lines of the table. A line says what can appear (an NPC, an interactable, a dropped item, some money, a loot table roll, another table, or nothing), how likely it is next to the others (its weight, with the chance it gives in percent), and for NPCs how many appear together, at what level and whether they fight as one; for items and money how many. Roll 100 times shows what the table gives. See docs: World > Spawn Tables.

Variables ​

SpawnTableDefinition:current_table
FoldableContainerentries_section
VBoxContainerentries_box
Labelproblems_label
Labelroll_label
Array[Label]chance_labels[]

Variable descriptions ​

SpawnTableDefinition: current_table ​

No description yet.

FoldableContainer entries_section ​

No description yet.

VBoxContainer entries_box ​

No description yet.

Label problems_label ​

No description yet.

Label roll_label ​

No description yet.

Array[Label] chance_labels = [] ​

No description yet.