Skip to content

DatabaseIdField ​

Inherits: ConfigField < HBoxContainer

An int property that is the id of a resource of the project (an effect, an ability ...), picked by name from a drop-down of everything of that kind, with an entry for none (0). An id of something that was deleted stays chosen and reads "Missing id". Set the Database type (effect) in the inspector.

Properties ​

Stringdatabase_type"effect"
Stringnone_text"(none)"

Property descriptions ​

String database_type = "effect" ​

The database type the ids belong to (the key of Database.REGISTRY: effect, ability, item ...)

String none_text = "(none)" ​

No description yet.