Skip to content

UniquesDatabaseEditor ​

Inherits: Control

The editor of the Uniques tab (World > Uniques): lists the placed NPCs and objects of every world, filtered by kind, world and a search bar, and shows the unique that is selected.

Variables ​

UniqueTypecurrent_typeUniqueType.ENTITIES
ResourceManagerresource_manager
Stringcurrent_search_text""
intcurrent_map_filter-1 # -1 means "All Maps"

Methods ​

voidrefresh_list()
Resourceget_selected_unique()
voidselect_unique_by_id( unique_id: int )
voidfilter_by_map( map_id: int )
voidclear_filter()

Signals ​

unique_selected( unique_data: Resource ) ​

unique_double_clicked( unique_data: Resource ) ​

Enumerations ​

enum UniqueType ​

  • ENTITIES = 0
  • INTERACTABLES = 1
  • TRIGGER_AREAS = 2
  • ENCOUNTERS = 3
  • SPAWNERS = 4

Variable descriptions ​

UniqueType current_type = UniqueType.ENTITIES ​

No description yet.

ResourceManager resource_manager ​

No description yet.

String current_search_text = "" ​

No description yet.

int current_map_filter = -1 # -1 means "All Maps" ​

No description yet.

Method descriptions ​

void refresh_list() ​

No description yet.

Resource get_selected_unique() ​

No description yet.

void select_unique_by_id( unique_id: int ) ​

No description yet.

void filter_by_map( map_id: int ) ​

No description yet.

void clear_filter() ​

No description yet.