Envoi sur GitHub du projet updated

This commit is contained in:
Maurane
2026-01-07 12:47:48 +01:00
parent 34e887afd2
commit 3f1863f0c1
434 changed files with 16021 additions and 5685 deletions
+5 -4
View File
@@ -2,14 +2,11 @@
class_name DialogueResponse extends RefCounted
const _DialogueConstants = preload("./constants.gd")
## The ID of this response
var id: String
## The internal type of this dialogue object, always set to [code]TYPE_RESPONSE[/code].
var type: String = _DialogueConstants.TYPE_RESPONSE
var type: String = DMConstants.TYPE_RESPONSE
## The next line ID to use if this response is selected by the player.
var next_id: String = ""
@@ -17,6 +14,9 @@ var next_id: String = ""
## [code]true[/code] if the condition of this line was met.
var is_allowed: bool = true
## The original condition text.
var condition_as_text: String = ""
## A character (depending on the "characters in responses" behaviour setting).
var character: String = ""
@@ -48,6 +48,7 @@ func _init(data: Dictionary = {}) -> void:
text_replacements = data.text_replacements
tags = data.tags
translation_key = data.translation_key
condition_as_text = data.condition_as_text
func _to_string() -> String: