First work on dialogic, resized guild, and started implementing portraits.

This commit is contained in:
2025-08-14 10:26:24 -04:00
parent 95a7db036b
commit 3aeb3d44e6
959 changed files with 47688 additions and 46 deletions

View File

@@ -0,0 +1,40 @@
@tool
extends DialogicVisualEditorField
## Event block field for a single line of text.
var placeholder := "":
set(value):
placeholder = value
self.placeholder_text = placeholder
#region MAIN METHODS
################################################################################
func _ready() -> void:
self.text_changed.connect(_on_text_changed)
func _load_display_info(info:Dictionary) -> void:
self.placeholder = info.get('placeholder', '')
func _set_value(value:Variant) -> void:
self.text = str(value)
func _autofocus() -> void:
grab_focus()
#endregion
#region SIGNAL METHODS
################################################################################
func _on_text_changed(value := "") -> void:
value_changed.emit(property_name, self.text)
#endregion