Skip to content

ListCatalog ​

Inherits: ConfirmationDialog

The catalog that picks one thing out of a list of database resources of any kind (NPCs, items, abilities, quests, skill trees, worlds ...): a search bar, a type filter and a list. load_objects(kind) fills it for a kind of thing, and selection_made gives the path, the id and the type of what was chosen.

Variables ​

Array[Dictionary]all_objects[]
Stringcurrent_filter""
Stringcurrent_search""

Methods ​

voidload_objects( object_type: String )
voidopen_for_active_ability_selection()
voidopen_for_passive_ability_selection()
voidopen_for( object_type: String, dialog_title: String = "" )
voidopen_for_abilities()
voidopen_for_items_compatible_with_slot( slot_def: EquipmentSlotDefinition )

Signals ​

selection_made( object_path: String, object_id: int, object_type: String ) ​

Enumerations ​

enum ObjectType ​

  • ALL = 0
  • ABILITIES = 1
  • ACTIVE_ABILITIES = 2
  • PASSIVE_ABILITIES = 3
  • EFFECTS = 4
  • SKELETONS = 5
  • INTERACTABLE_MODELS = 6
  • ENTITIES = 7
  • TEMPLATES = 8
  • PLAYER_CLASSES = 9
  • CHARACTERS = 10
  • PLAYER_CLASS_TEMPLATES = 11
  • SKILL_TREES = 12
  • ITEMS = 13
  • EQUIPMENT = 14
  • WEAPONS = 15
  • CONSUMABLES = 16
  • MATERIALS = 17
  • QUEST_ITEMS = 18
  • LOOT_TABLES = 19
  • COMBAT_SCRIPTS = 20
  • BEHAVIOR_SCRIPTS = 21
  • CONVERSATIONS = 22
  • CRAFT_RECIPES = 23
  • CRAFT_SCHOOLS = 24
  • VENDORS = 25
  • FACTIONS = 26
  • STATS = 27
  • DAMAGE_TYPES = 28
  • SCHOOL_TYPES = 29
  • POOLS = 30
  • IMMUNITIES = 31
  • STATUS_EFFECTS = 32
  • ARMOR_CLASSES = 33
  • WEAPON_CLASSES = 34
  • EQUIPMENT_TYPES = 35
  • WEAPON_TYPES = 36
  • EQUIPMENT_SLOTS = 37
  • QUALITIES = 38
  • SET_BONUSES = 39
  • SOCKETS = 40
  • TRIGGER_AREAS = 41
  • QUESTS = 42
  • QUESTLINES = 43
  • EVENTS = 44
  • WORLDS = 45
  • ENVIRONMENTS = 46
  • SKY_CONFIGS = 47
  • SUN_CONFIGS = 48
  • TIME_CONFIGS = 49
  • WEATHER_CONFIGS = 50
  • GLOBAL_VARIABLES = 51
  • SKILL_POOLS = 52
  • INTERACTABLES = 53
  • UNIQUE_ENTITIES = 54
  • UNIQUE_INTERACTABLES = 55
  • UNIQUE_TRIGGER_AREAS = 56
  • UNIQUE_ENCOUNTERS = 57
  • UNIQUE_SPAWNERS = 58

Variable descriptions ​

Array[Dictionary] all_objects = [] ​

No description yet.

String current_filter = "" ​

No description yet.

No description yet.

Method descriptions ​

void load_objects( object_type: String ) ​

No description yet.

void open_for_active_ability_selection() ​

No description yet.

void open_for_passive_ability_selection() ​

No description yet.

void open_for( object_type: String, dialog_title: String = "" ) ​

Opens the catalog for one kind of resource ("ability", "effect", "weapon_class" ...): the kinds load_objects knows

void open_for_abilities() ​

No description yet.

void open_for_items_compatible_with_slot( slot_def: EquipmentSlotDefinition ) ​

No description yet.