调整 dialogue manager 插件配置与代码

This commit is contained in:
cakipaul 2025-01-08 22:08:37 +08:00
parent 48d9d0e737
commit 6f5713cfa7
31 changed files with 2332 additions and 475 deletions

View File

@ -5,7 +5,6 @@
## A RichTextLabel specifically for use with [b]Dialogue Manager[/b] dialogue.
class_name DialogueLabel extends RichTextLabel
## Emitted for each letter typed out.
signal spoke(letter: String, letter_index: int, speed: float)
@ -13,11 +12,10 @@ signal spoke(letter: String, letter_index: int, speed: float)
signal paused_typing(duration: float)
## Emitted when the player skips the typing of dialogue.
signal skipped_typing()
signal skipped_typing
## Emitted when typing finishes.
signal finished_typing()
signal finished_typing
# The action to press to skip typing.
@export var skip_action: StringName = &"ui_cancel"
@ -29,19 +27,19 @@ signal finished_typing()
@export var pause_at_characters: String = ".?!"
## Don't auto pause if the character after the pause is one of these.
@export var skip_pause_at_character_if_followed_by: String = ")\""
@export var skip_pause_at_character_if_followed_by: String = ')"'
## Don't auto pause after these abbreviations (only if "." is in `pause_at_characters`).[br]
## Abbreviations are limitted to 5 characters in length [br]
## Does not support multi-period abbreviations (ex. "p.m.")
@export var skip_pause_at_abbreviations: PackedStringArray = ["Mr", "Mrs", "Ms", "Dr", "etc", "eg", "ex"]
@export
var skip_pause_at_abbreviations: PackedStringArray = ["Mr", "Mrs", "Ms", "Dr", "etc", "eg", "ex"]
## The amount of time to pause when exposing a character present in `pause_at_characters`.
@export var seconds_per_pause_step: float = 0.3
var _already_mutated_indices: PackedInt32Array = []
## The current line of dialogue.
var dialogue_line:
set(next_dialogue_line):
@ -87,7 +85,12 @@ func _unhandled_input(event: InputEvent) -> void:
# Note: this will no longer be reached if using Dialogue Manager > 2.32.2. To make skip handling
# simpler (so all of mouse/keyboard/joypad are together) it is now the responsibility of the
# dialogue balloon.
if self.is_typing and visible_ratio < 1 and InputMap.has_action(skip_action) and event.is_action_pressed(skip_action):
if (
self.is_typing
and visible_ratio < 1
and InputMap.has_action(skip_action)
and event.is_action_pressed(skip_action)
):
get_viewport().set_input_as_handled()
skip_typing()
@ -125,7 +128,8 @@ func skip_typing() -> void:
# Type out the next character(s)
func _type_next(delta: float, seconds_needed: float) -> void:
if _is_awaiting_mutation: return
if _is_awaiting_mutation:
return
if visible_characters == get_total_character_count():
return
@ -133,7 +137,8 @@ func _type_next(delta: float, seconds_needed: float) -> void:
if _last_mutation_index != visible_characters:
_last_mutation_index = visible_characters
_mutate_inline_mutations(visible_characters)
if _is_awaiting_mutation: return
if _is_awaiting_mutation:
return
var additional_waiting_seconds: float = _get_pause(visible_characters)
@ -149,7 +154,11 @@ func _type_next(delta: float, seconds_needed: float) -> void:
else:
visible_characters += 1
if visible_characters <= get_total_character_count():
spoke.emit(get_parsed_text()[visible_characters - 1], visible_characters - 1, _get_speed(visible_characters))
spoke.emit(
get_parsed_text()[visible_characters - 1],
visible_characters - 1,
_get_speed(visible_characters)
)
# See if there's time to type out some more in this frame
seconds_needed += seconds_per_step * (1.0 / _get_speed(visible_characters))
if seconds_needed > delta:
@ -189,19 +198,23 @@ func _mutate_inline_mutations(index: int) -> void:
_already_mutated_indices.append(index)
_is_awaiting_mutation = true
# The DialogueManager can't be referenced directly here so we need to get it by its path
await Engine.get_singleton("DialogueManager").mutate(inline_mutation[1], dialogue_line.extra_game_states, true)
await Engine.get_singleton("DialogueManager").mutate(
inline_mutation[1], dialogue_line.extra_game_states, true
)
_is_awaiting_mutation = false
# Determine if the current autopause character at the cursor should qualify to pause typing.
func _should_auto_pause() -> bool:
if visible_characters == 0: return false
if visible_characters == 0:
return false
var parsed_text: String = get_parsed_text()
# Avoid outofbounds when the label auto-translates and the text changes to one shorter while typing out
# Note: visible characters can be larger than parsed_text after a translation event
if visible_characters >= parsed_text.length(): return false
if visible_characters >= parsed_text.length():
return false
# Ignore pause characters if they are next to a non-pause character
if parsed_text[visible_characters] in skip_pause_at_character_if_followed_by.split():
@ -218,13 +231,19 @@ func _should_auto_pause() -> bool:
if "." in pause_at_characters and parsed_text[visible_characters - 1] == ".":
for abbreviation in skip_pause_at_abbreviations:
if visible_characters >= abbreviation.length():
var previous_characters: String = parsed_text.substr(visible_characters - abbreviation.length() - 1, abbreviation.length())
var previous_characters: String = parsed_text.substr(
visible_characters - abbreviation.length() - 1, abbreviation.length()
)
if previous_characters == abbreviation:
return false
# Ignore two non-"." characters next to each other
var other_pause_characters: PackedStringArray = pause_at_characters.replace(".", "").split()
if visible_characters > 1 and parsed_text[visible_characters - 1] in other_pause_characters and parsed_text[visible_characters] in other_pause_characters:
if (
visible_characters > 1
and parsed_text[visible_characters - 1] in other_pause_characters
and parsed_text[visible_characters] in other_pause_characters
):
return false
return parsed_text[visible_characters - 1] in pause_at_characters.split()

View File

@ -594,6 +594,7 @@ func export_translations_to_csv(path: String) -> void:
var default_locale_column: int = 1
var character_column: int = -1
var notes_column: int = -1
var tags_coloumn: int = -1
if FileAccess.file_exists(path):
file = FileAccess.open(path, FileAccess.READ)
var is_first_line = true
@ -610,6 +611,8 @@ func export_translations_to_csv(path: String) -> void:
character_column = i
elif line[i] == "_notes":
notes_column = i
elif line[i] == "_tags":
tags_coloumn = i
# Make sure the line isn't empty before adding it
if line.size() > 0 and line[0].strip_edges() != "":
@ -627,6 +630,12 @@ func export_translations_to_csv(path: String) -> void:
column_count += 1
existing_csv["keys"].append("_notes")
# include tags
if tags_coloumn == -1:
tags_coloumn = column_count
column_count += 1
existing_csv["keys"].append("_tags")
# Start a new file
file = FileAccess.open(path, FileAccess.WRITE)
@ -638,6 +647,8 @@ func export_translations_to_csv(path: String) -> void:
if DialogueSettings.get_setting("include_notes_in_translation_exports", false):
notes_column = headings.size()
headings.append("_notes")
tags_coloumn = headings.size()
headings.append("_tags")
file.store_csv_line(headings)
column_count = headings.size()
@ -670,6 +681,8 @@ func export_translations_to_csv(path: String) -> void:
line_to_save[character_column] = "(response)" if line.type == DialogueConstants.TYPE_RESPONSE else line.character
if notes_column > -1:
line_to_save[notes_column] = line.notes
if tags_coloumn > -1 and line.tags.size() > 0:
line_to_save[tags_coloumn] = "[#" + "][#".join(line.tags) + "]"
lines_to_save.append(line_to_save)
@ -685,9 +698,9 @@ func export_translations_to_csv(path: String) -> void:
plugin.get_editor_interface().get_file_system_dock().call_deferred("navigate_to_path", path)
# Add it to the project l10n settings if it's not already there
var language_code: RegExMatch = RegEx.create_from_string("^[a-z]{2,3}").search(default_locale)
var translation_path: String = path.replace(".csv", ".%s.translation" % language_code.get_string())
call_deferred("add_path_to_project_translations", translation_path)
# var language_code: RegExMatch = RegEx.create_from_string("^[a-z]{2,3}").search(default_locale)
# var translation_path: String = path.replace(".csv", ".%s.translation" % language_code.get_string())
# call_deferred("add_path_to_project_translations", translation_path)
func export_character_names_to_csv(path: String) -> void:
@ -761,11 +774,24 @@ func import_translations_from_csv(path: String) -> void:
# Open the CSV file and build a dictionary of the known keys
var keys: Dictionary = {}
var file: FileAccess = FileAccess.open(path, FileAccess.READ)
var tag_col_index := -1
var tags: Dictionary = {}
# get tags index from csv's first line
if !file.eof_reached():
var first_line: Array = file.get_csv_line()
for i in range(first_line.size()):
if first_line[i] == "_tags":
tag_col_index = i
break
var csv_line: Array
while !file.eof_reached():
csv_line = file.get_csv_line()
if csv_line.size() > 1:
keys[csv_line[0]] = csv_line[1]
if tag_col_index >= 0 and csv_line.size() > tag_col_index:
tags[csv_line[0]] = csv_line[tag_col_index]
var parser: DialogueManagerParser = DialogueManagerParser.new()
@ -783,7 +809,13 @@ func import_translations_from_csv(path: String) -> void:
line = line.replace("\\:", "!ESCAPED_COLON!")
if ": " in line:
start_index = line.find(": ") + 2
lines[i] = (line.substr(0, start_index) + keys.get(translation_key) + " [ID:" + translation_key + "]").replace("!ESCAPED_COLON!", ":")
var line_text = line.substr(0, start_index) + keys.get(translation_key)
# append tags
if tags.has(translation_key):
var tag_str = tags.get(translation_key).strip_edges()
if tag_str:
line_text += " " + tag_str + " "
lines[i] = (line_text + " [ID:" + translation_key + "]").replace("!ESCAPED_COLON!", ":")
elif parser.is_response_line(line):
start_index = line.find("- ") + 2
@ -802,6 +834,8 @@ func import_translations_from_csv(path: String) -> void:
code_edit.set_cursor(cursor)
parser.free()
_on_code_edit_text_changed()
func show_search_form(is_enabled: bool) -> void:

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://cbuf1q3xsse3q"]
[gd_scene load_steps=17 format=3 uid="uid://cbuf1q3xsse3q"]
[ext_resource type="Script" path="res://addons/dialogue_manager/views/main_view.gd" id="1_h6qfq"]
[ext_resource type="PackedScene" uid="uid://civ6shmka5e8u" path="res://addons/dialogue_manager/components/code_edit.tscn" id="2_f73fm"]
@ -7,11 +7,13 @@
[ext_resource type="PackedScene" uid="uid://co8yl23idiwbi" path="res://addons/dialogue_manager/components/update_button.tscn" id="2_ph3vs"]
[ext_resource type="PackedScene" uid="uid://gr8nakpbrhby" path="res://addons/dialogue_manager/components/search_and_replace.tscn" id="6_ylh0t"]
[ext_resource type="PackedScene" uid="uid://cs8pwrxr5vxix" path="res://addons/dialogue_manager/components/errors_panel.tscn" id="7_5cvl4"]
[ext_resource type="FontFile" uid="uid://bohyohbujly5f" path="res://asset/font/字体/方正楷体简体.TTF" id="7_dpqa4"]
[ext_resource type="Script" path="res://addons/dialogue_manager/components/code_edit_syntax_highlighter.gd" id="7_necsa"]
[ext_resource type="FontFile" uid="uid://c4xo4de2eokky" path="res://asset/font/字体/三极行楷简体-粗.ttf" id="8_iqnmi"]
[ext_resource type="PackedScene" uid="uid://cpg4lg1r3ff6m" path="res://addons/dialogue_manager/views/settings_view.tscn" id="9_8bf36"]
[ext_resource type="PackedScene" uid="uid://0n7hwviyyly4" path="res://addons/dialogue_manager/components/find_in_files.tscn" id="10_yold3"]
[sub_resource type="Image" id="Image_68x0r"]
[sub_resource type="Image" id="Image_ekypq"]
data = {
"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
"format": "RGBA8",
@ -20,22 +22,14 @@ data = {
"width": 16
}
[sub_resource type="ImageTexture" id="ImageTexture_ka3gk"]
image = SubResource("Image_68x0r")
[sub_resource type="ImageTexture" id="ImageTexture_jjt2y"]
image = SubResource("Image_ekypq")
[sub_resource type="Image" id="Image_j5bhl"]
data = {
"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
"format": "RGBA8",
"height": 16,
"mipmaps": false,
"width": 16
}
[sub_resource type="FontVariation" id="FontVariation_d3ufv"]
fallbacks = Array[Font]([ExtResource("8_iqnmi")])
base_font = ExtResource("7_dpqa4")
[sub_resource type="ImageTexture" id="ImageTexture_57eek"]
image = SubResource("Image_j5bhl")
[sub_resource type="SyntaxHighlighter" id="SyntaxHighlighter_bxc68"]
[sub_resource type="SyntaxHighlighter" id="SyntaxHighlighter_q4u2v"]
script = ExtResource("7_necsa")
[node name="MainView" type="Control"]
@ -68,7 +62,6 @@ metadata/_edit_layout_mode = 1
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
dragger_visibility = 1
[node name="SidePanel" type="VBoxContainer" parent="Margin/Content"]
custom_minimum_size = Vector2(150, 0)
@ -82,47 +75,55 @@ layout_mode = 2
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Start a new file"
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="OpenButton" type="MenuButton" parent="Margin/Content/SidePanel/Toolbar"]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Open a file"
item_count = 9
icon = SubResource("ImageTexture_jjt2y")
item_count = 10
popup/item_0/text = "Open..."
popup/item_0/icon = SubResource("ImageTexture_ka3gk")
popup/item_0/icon = SubResource("ImageTexture_jjt2y")
popup/item_0/id = 100
popup/item_1/icon = SubResource("ImageTexture_ka3gk")
popup/item_1/text = "Quick open..."
popup/item_1/icon = SubResource("ImageTexture_jjt2y")
popup/item_1/id = 101
popup/item_2/id = -1
popup/item_2/separator = true
popup/item_3/text = "res://examples/dialogue.dialogue"
popup/item_3/icon = SubResource("ImageTexture_ka3gk")
popup/item_3/text = "res://asset/dialogue/c02.dialogue"
popup/item_3/icon = SubResource("ImageTexture_jjt2y")
popup/item_3/id = 3
popup/item_4/text = "res://examples/dialogue_with_input.dialogue"
popup/item_4/icon = SubResource("ImageTexture_ka3gk")
popup/item_4/text = "res://asset/dialogue/c01.dialogue"
popup/item_4/icon = SubResource("ImageTexture_jjt2y")
popup/item_4/id = 4
popup/item_5/text = "res://examples/dialogue_for_point_n_click.dialogue"
popup/item_5/icon = SubResource("ImageTexture_ka3gk")
popup/item_5/text = "res://asset/dialogue/item_description.dialogue"
popup/item_5/icon = SubResource("ImageTexture_jjt2y")
popup/item_5/id = 5
popup/item_6/text = "res://examples/dialogue_for_visual_novel.dialogue"
popup/item_6/icon = SubResource("ImageTexture_ka3gk")
popup/item_6/text = "res://asset/dialogue/c02.dialogue"
popup/item_6/icon = SubResource("ImageTexture_jjt2y")
popup/item_6/id = 6
popup/item_7/id = -1
popup/item_7/separator = true
popup/item_8/text = "Clear recent files"
popup/item_8/id = 102
popup/item_7/text = "res://asset/dialogue/c01.dialogue"
popup/item_7/icon = SubResource("ImageTexture_jjt2y")
popup/item_7/id = 7
popup/item_8/id = -1
popup/item_8/separator = true
popup/item_9/text = "Clear recent files"
popup/item_9/id = 102
[node name="SaveAllButton" type="Button" parent="Margin/Content/SidePanel/Toolbar"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="FindInFilesButton" type="Button" parent="Margin/Content/SidePanel/Toolbar"]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Find in files..."
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="Bookmarks" type="VSplitContainer" parent="Margin/Content/SidePanel"]
@ -131,7 +132,6 @@ size_flags_vertical = 3
[node name="FilesList" parent="Margin/Content/SidePanel/Bookmarks" instance=ExtResource("2_npj2k")]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_vertical = 3
@ -140,7 +140,6 @@ unique_name_in_owner = true
[node name="TitleList" parent="Margin/Content/SidePanel/Bookmarks" instance=ExtResource("2_onb4i")]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="CodePanel" type="VBoxContainer" parent="Margin/Content"]
@ -154,72 +153,72 @@ layout_mode = 2
[node name="InsertButton" type="MenuButton" parent="Margin/Content/CodePanel/Toolbar"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
text = "Insert"
icon = SubResource("ImageTexture_jjt2y")
item_count = 15
popup/item_0/text = "Wave BBCode"
popup/item_0/icon = SubResource("ImageTexture_57eek")
popup/item_0/icon = SubResource("ImageTexture_jjt2y")
popup/item_1/text = "Shake BBCode"
popup/item_1/icon = SubResource("ImageTexture_57eek")
popup/item_1/icon = SubResource("ImageTexture_jjt2y")
popup/item_1/id = 1
popup/item_2/id = -1
popup/item_2/separator = true
popup/item_3/text = "Typing pause"
popup/item_3/icon = SubResource("ImageTexture_57eek")
popup/item_3/icon = SubResource("ImageTexture_jjt2y")
popup/item_3/id = 3
popup/item_4/text = "Typing speed change"
popup/item_4/icon = SubResource("ImageTexture_57eek")
popup/item_4/icon = SubResource("ImageTexture_jjt2y")
popup/item_4/id = 4
popup/item_5/text = "Auto advance"
popup/item_5/icon = SubResource("ImageTexture_57eek")
popup/item_5/icon = SubResource("ImageTexture_jjt2y")
popup/item_5/id = 5
popup/item_6/text = "Templates"
popup/item_6/id = -1
popup/item_6/separator = true
popup/item_7/text = "Title"
popup/item_7/icon = SubResource("ImageTexture_57eek")
popup/item_7/icon = SubResource("ImageTexture_jjt2y")
popup/item_7/id = 6
popup/item_8/text = "Dialogue"
popup/item_8/icon = SubResource("ImageTexture_57eek")
popup/item_8/icon = SubResource("ImageTexture_jjt2y")
popup/item_8/id = 7
popup/item_9/text = "Response"
popup/item_9/icon = SubResource("ImageTexture_57eek")
popup/item_9/icon = SubResource("ImageTexture_jjt2y")
popup/item_9/id = 8
popup/item_10/text = "Random lines"
popup/item_10/icon = SubResource("ImageTexture_57eek")
popup/item_10/icon = SubResource("ImageTexture_jjt2y")
popup/item_10/id = 9
popup/item_11/text = "Random text"
popup/item_11/icon = SubResource("ImageTexture_57eek")
popup/item_11/icon = SubResource("ImageTexture_jjt2y")
popup/item_11/id = 10
popup/item_12/text = "Actions"
popup/item_12/id = -1
popup/item_12/separator = true
popup/item_13/text = "Jump to title"
popup/item_13/icon = SubResource("ImageTexture_57eek")
popup/item_13/icon = SubResource("ImageTexture_jjt2y")
popup/item_13/id = 11
popup/item_14/text = "End dialogue"
popup/item_14/icon = SubResource("ImageTexture_57eek")
popup/item_14/icon = SubResource("ImageTexture_jjt2y")
popup/item_14/id = 12
[node name="TranslationsButton" type="MenuButton" parent="Margin/Content/CodePanel/Toolbar"]
unique_name_in_owner = true
layout_mode = 2
disabled = true
text = "Translations"
icon = SubResource("ImageTexture_jjt2y")
item_count = 5
popup/item_0/text = "Generate line IDs"
popup/item_0/icon = SubResource("ImageTexture_57eek")
popup/item_0/icon = SubResource("ImageTexture_jjt2y")
popup/item_0/id = 100
popup/item_1/id = -1
popup/item_1/separator = true
popup/item_2/text = "Save character names to CSV..."
popup/item_2/icon = SubResource("ImageTexture_57eek")
popup/item_2/icon = SubResource("ImageTexture_jjt2y")
popup/item_2/id = 201
popup/item_3/text = "Save lines to CSV..."
popup/item_3/icon = SubResource("ImageTexture_57eek")
popup/item_3/icon = SubResource("ImageTexture_jjt2y")
popup/item_3/id = 202
popup/item_4/text = "Import line changes from CSV..."
popup/item_4/icon = SubResource("ImageTexture_57eek")
popup/item_4/icon = SubResource("ImageTexture_jjt2y")
popup/item_4/id = 203
[node name="Separator" type="VSeparator" parent="Margin/Content/CodePanel/Toolbar"]
@ -229,15 +228,15 @@ layout_mode = 2
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Search for text"
disabled = true
toggle_mode = true
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="TestButton" type="Button" parent="Margin/Content/CodePanel/Toolbar"]
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Test dialogue"
disabled = true
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="Separator3" type="VSeparator" parent="Margin/Content/CodePanel/Toolbar"]
@ -247,6 +246,7 @@ layout_mode = 2
unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Settings"
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="Spacer2" type="Control" parent="Margin/Content/CodePanel/Toolbar"]
@ -258,6 +258,7 @@ unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Support Dialogue Manager"
text = "Sponsor"
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="Separator4" type="VSeparator" parent="Margin/Content/CodePanel/Toolbar"]
@ -267,13 +268,14 @@ layout_mode = 2
unique_name_in_owner = true
layout_mode = 2
text = "Docs"
icon = SubResource("ImageTexture_jjt2y")
flat = true
[node name="VersionLabel" type="Label" parent="Margin/Content/CodePanel/Toolbar"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.490196)
layout_mode = 2
text = "v2.42.2"
text = "v2.44.1"
vertical_alignment = 1
[node name="UpdateButton" parent="Margin/Content/CodePanel/Toolbar" instance=ExtResource("2_ph3vs")]
@ -286,53 +288,538 @@ layout_mode = 2
[node name="CodeEdit" parent="Margin/Content/CodePanel" instance=ExtResource("2_f73fm")]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_colors/current_line_color = Color(0.266667, 0.278431, 0.352941, 0.243137)
theme_override_colors/background_color = Color(0.156863, 0.164706, 0.211765, 1)
theme_override_colors/font_color = Color(0.972549, 0.972549, 0.94902, 1)
theme_override_font_sizes/font_size = 14
theme_override_colors/current_line_color = Color(1, 1, 1, 0.07)
theme_override_colors/background_color = Color(0.1155, 0.132, 0.1595, 1)
theme_override_colors/font_color = Color(0.8025, 0.81, 0.8225, 1)
theme_override_fonts/font = SubResource("FontVariation_d3ufv")
theme_override_font_sizes/font_size = 28
theme_override_colors/bookmark_color = Color(1, 0.333333, 0.333333, 1)
text = "~ start
text = "#场景一
~ c02_s01_menpai
##孤寂的氛围
芦昌路26弄3号 [ID:芦昌路26]
吕萍: “这是梦里的那栋楼” [ID:c02_吕萍_001_梦楼]
=> END
Nathan: Hi, I'm Nathan and this is Coco.
Coco: Meow.
Nathan: Here are some response options.
- First one
Nathan: You picked the first one.
- Second one
Nathan: You picked the second one.
- Start again => start
- End the conversation => END
Nathan: I hope this example is helpful.
Coco: Meow.
~ c02_s01_xunren
(似乎是一张寻人启示) [ID:tf6373b1461]
(脸的部分被撕掉了,看不清) [ID:tace136aa1d]
=> END
#~ c02_s01_boy1
#(男孩在玩弹珠)
#吕萍: “小朋友,先让一让好哇,让姐姐先进去”
#=> END
#~ c02_s01_boy2
#男孩: “我在等人......”
#=> END
#
#~ c02_s01_boy3
#吕萍: “......诶?”
#(小男孩突然跑开)
#=> END
#场景二
~ c02_s02_tianqi
吕萍: “冷飕飕的,早知道多穿一件出来了”[next=4.2] [ID:t80736c88c5]
=> END
~ c02_s02_xuanchuanhua
(几张卫生宣传画) [ID:t8b921a1f0d]
=> END
~ c02_s02_laoshudong
(一个老鼠洞) [ID:tb3c5bdf8fa]
(在这种楼里挺常见的) [ID:t67b292ac79]
=> END
~ c02_s02_shuyihaibao
(十几年前的报纸) [ID:tc0b1d09ad5]
=> END
#场景三
~ c02_s03_tianqi
吕萍: “天色变暗了”[next=3] [ID:t697159b817]
=> END
~ c02_s03_xunren
(又是那张寻人启示) [ID:t10093c48d6]
=> END
~ c02_s03_baoweishi
(锁住了) [ID:t33de979333]
=> END
~ c02_s03_tiemen
(锁住了) [ID:t060613cc71]
=> END
~ c02_s03_1014
(锁住了) [ID:t4c83f86ec3]
=> END
~ c02_s03_1015
(锁住了) [ID:ta4d131091f]
=> END
~ c02_s03_blood
(干掉的血迹) [ID:t53107de49e]
=> END
~ c02_s03_yaoshi
(有什么东西) [ID:t6bf59cddd7]
=> END
~ c02_s03_shuhuan
(墙上的海报被撕掉了) [ID:tde8f5415c3]
=> END
~ c02_s03_mimi
吕萍: “这么冷的天,怎么这树的叶子还这么茂盛” [ID:tfbff76fa77]
#=> END
[wait=3][next=1] [ID:t88c78480dd]
~ c02_s03_mimi3
吕萍: “咪咪?” [ID:ta853571b30]
吕萍: “好多老鼠” [ID:t300a11f578]
=> END
~ c02_s03_shushu
吕萍: “去,去” [ID:t3c391a329c]
=> END
~ c02_s03_mimi2
吕萍: “你好乖啊” [ID:tac301a659a]
(咕噜咕噜) [ID:t648fa1c8e2]
=> END
~ c02_s03_mimi2_2
吕萍: “诶?怎么走了” [ID:t9a6f86b1ba]
=> END
~ c02_s03_jing
(井里有一股臭味) [ID:t70d94938c8]
=> END
~ c02_s03_xiaomaotou
吕萍: “这是什么东西?” [ID:t827e03aa77]
=> END
~ c02_s03_xiaomaotou_2
吕萍: “嘶......我的头又开始痛了”[next=6.1] [ID:t5ec7026aa0]
=> END
#[color=MEDIUM_SPRING_GREEN]小蝶[/color]
#场景四
~ c02_s04_fartherandgirl
[color=MEDIUM_SPRING_GREEN]:[/color] “爸爸,我昨晚听到有大老鼠在床边叫”[next=5] [ID:tabd2edb27e]
[color=POWDER_BLUE]:[/color] “囡囡不怕哦,你把妈妈给你做的娃娃放在床边”[next=5][ID:ta308681a21]
[color=POWDER_BLUE]:[/color] “老鼠就不敢过来了”[next=1.6] [ID:ta66609d55b]
[color=MEDIUM_SPRING_GREEN]:[/color] “嗯!爸爸什么时候让妈妈教我唱歌呀”[next=5] [ID:t38603155aa]
[color=POWDER_BLUE]:[/color] “妈妈生病嗓子坏了,等忙完这一阵,爸爸教你唱,好吗”[next=7.5] [ID:tbce77569eb]
[color=POWDER_BLUE]:[/color] “走吧,爸爸带你去把药喝了”[next=3] [ID:t4bf2f8b7dc]
[color=MEDIUM_SPRING_GREEN]:[/color] “喝完药我要吃话梅糖!”[next=3.4] [ID:t9d9d410a0b]
[color=POWDER_BLUE]:[/color] “你就记得糖”[next=4] [ID:t0e40b0a6ca]
=> END
~ c02_s04_lvping_02
吕萍: “我刚才眼花了吗” [ID:t13ffd6841d]
吕萍: “这些人从哪儿来的” [ID:t2b7f492af2]
吕萍: “......” [ID:t43e3e802fb]
吕萍: “找个人问一下吧” [ID:tc4e755f8cc]
=> END
~ c02_s04_yaoche
(车上放了一些中药材) [ID:t198fd11186]
=> END
~ c02_s04_louti
(排队的人堵住了上楼的路) [ID:t2f080e7e4f]
=> END
~ c02_s04_lishi_01
吕萍: “你好,请问陆先生住在这里吗” [ID:tef94e4cddf]
[color=SKY_BLUE]:[/color] “啊?你爸妈忙的又没空管你啦” [ID:tefe6342ef5]
[color=SKY_BLUE]:[/color] “死了滚,生意都被你家抢没了” [ID:t8ac1e1d74d]
吕萍: “她在说什么......” [ID:t385ad205e6]
=> END
~ c02_s04_lishi_02
[color=SKY_BLUE]:[/color] “册那,都趁早死死掉算了”[next=3] [ID:t0ad0a91e1f]
=> END
~ c02_s04_xiazi
吕萍: “呃......你好,请问......” [ID:te52e87e435]
[color=BURLYWOOD]:[/color] “祸福在己,当自求;兴衰有数,莫强留” [ID:tb39e6e2176]
吕萍: “......” [ID:t0c7b5487e7]
=> END!
~ c02_s04_pangzi_01
[color=DARK_KHAKI]:[/color] “老方,小朋友又不懂,和她讲这些干嘛” [ID:t55e158aa73]
[color=DARK_KHAKI]:[/color] “小蝶啊,回头记得带妈妈来叔叔这儿买肉啊” [ID:t0e5a348b5f]
[color=DARK_KHAKI]:[/color] “外面没的买,叔叔这里多的是” [ID:tbc55af8bf7]
吕萍: “这些人是在跟我说话吗” [ID:t0a091a2712]
=> END!
~ c02_s04_pangzi_02
[color=DARK_KHAKI]:[/color] “来来来,过来,过来” [ID:te49f3f6290]
=> END
~ c02_s04_pangzi_03
[color=DARK_KHAKI]:[/color] “悄悄和你讲,让你妈妈来我这里买肉,给你们家便宜点” [ID:t0b675d22e8]
[color=DARK_KHAKI]:[/color] “不行到时候我给你们把肉送到家里去,好哇” [ID:t6699cc4d89]
吕萍: “呃,不用......不用了......” [ID:te8b6cac261]
=> END
~ c02_s04_boy
小男孩: “喂,那只成天跟着你的小猫去哪里啦” [ID:t7c47b8f2ea]
小男孩: “好可爱的,也抱来给我们摸摸呗” [ID:tbcb3f3a5c8]
吕萍: “猫?你说的是那只黑色的猫吗?” [ID:t91bffb0a56]
小男孩: “对啊对啊,哦对了,你有绳子嘛” [ID:t6ebd045126]
=> END
~ c02_s04_boy01
小男孩: “对了,你有绳子嘛” [ID:tcb8871c993]
=> END
~ c02_s04_boy02
小男孩: “嘿嘿,一会儿我们要在常年青下玩游戏,这次就叫上你吧” [ID:tafbb065366]
=> END
~ xuzhang_01_04_wanglaizi
[color=SKY_BLUE]:[/color] “真的假的?你钻进去啦,你这个体型进的去哒?”[next=5] [ID:t9f383266ad]
[color=INDIAN_RED]:[/color] “你声音轻点,这种事情不要大呼小叫的”[next=4] [ID:t84153d1302]
#[color=INDIAN_RED]:[/color] “这种事情不要大呼小叫的”[next=4] [ID:t4eac89d661]
[color=SKY_BLUE]:[/color] “快说说,你都看到啥了”[next=4] [ID:t50ee4564c0]
[color=INDIAN_RED]:[/color] “他们养了只老鼠,要死掉了”[next=2.5] [ID:t42919f1d5e]
[color=INDIAN_RED]:[/color] “没看到过这么大的老鼠”[next=2] [ID:tb25a6cfd1d]
[color=SKY_BLUE]:[/color] “啊?!”[next=1] [ID:td2e2e976b7]
[color=SKY_BLUE]:[/color] “我就说他们家不对劲”[next=3] [ID:t8c2a311801]
[color=INDIAN_RED]:[/color] “晚点我要去找趟瞎子,这东西他比我们懂”[next=4] [ID:t7dbddc808e]
[color=SKY_BLUE]:[/color] “嗯,那你到时候记得......”[next=2] [ID:tb2fd086d70]
[color=INDIAN_RED]:[/color] “好了,其他的回去讲”[next=3] [ID:t86d98df806]
=> END
#场景五
~ c02_s05_jinmen
吕萍: “1014......刚刚那个小男孩说的就是这间吧” [ID:t2c185335a3]
吕萍: “这不是个空房间吗?” [ID:t203b58cab5]
=> END
~ c02_s05_men
(最好还是先不要出去) [ID:t7ff84c6134]
=> END
~ c02_s05_chuang
(太阳快落山了) [ID:t2f3f184fe8]
=> END
~ c02_s05_rili
(民国六年十月十五日) [ID:t96fe0e898a]
=> END
~ c02_s05_lijian
(打不开) [ID:t18551dadd7]
=> END
~ c02_s05_liefeng
(一个洞,里面好像还有空间) [ID:tb37ff31a1b]
=> END
#场景六
~ c02_s06_xiangzi
(工具箱) [ID:t6290eed263]
(应该能找到有用的东西) [ID:t42468d2f1f]
=> END
~ c02_s06_gaoshi
(公寓告示) [ID:t1fc2a3944c]
=> END
~ c02_s06_lijian
(通往里间的门) [ID:t0e2886f21e]
(打不开) [ID:t6742e43e04]
=> END
#场景七
~ c02_s07_guahua
(挂画) [ID:t57fa48a9de]
=> END
~ c02_s07_huamingce
(花名册) [ID:t4018c7f508]
=> END
~ c02_s07_huamingce02
吕萍: “陆仁,小蝶,吕......萍” [ID:tcee1769bea]
吕萍: “和他说的一样,为什么” [ID:t01705be451]
=> END
#场景八
~ c02_s08_kaitou01
吕萍: “怎么突然变暗了”[next=3.5] [ID:tbb8eaaac33]
=> END
~ c02_s08_kaitou02
吕萍: “嗯?玩具在发光”[next=3.5] [ID:t3f088c65fc]
=> END
~ c02_s08_rili
(罪) [ID:tecab2324ef]
=> END
~ c02_s08_men
(门上有什么东西) [ID:tb8be4f8529]
=> END
~ c02_s08_fangjian1
吕萍: “房间怎么还没有到头”[next=3.3] [ID:t585e87c2fb]
=> END
~ c02_s08_zhitiao1
(纸条) [ID:ta468951404]
=> END
~ c02_s08_zhitiao2
吕萍: “头好痛”[next=4] [ID:tb9f4a5c023]
=> END
~ c02_s08_fangjian2
吕萍: “......”[next=auto] [ID:tfab540faa7]
吕萍: “这......到底是怎么回事”[next=4.1] [ID:t6a9fae7f94]
吕萍: “我是在......做梦吗?”[next=4.1] [ID:t44b63ca9c1]
=> END
~ c02_s08_xiaodie01
[color=MEDIUM_SPRING_GREEN]:[/color]: “爸爸什么时候让妈妈教我唱歌呀”[next=auto] [ID:tba2d3b254f]
[color=POWDER_BLUE]:[/color]: “妈妈嗓子坏了,爸爸教你唱吧”[next=4] [ID:tddb946d7ab]
[color=POWDER_BLUE]:[/color]: “走吧,去把药喝了”[next=3.6] [ID:t26758aff7d]
=> END
~ c02_s08_xiaodie02
[color=MEDIUM_SPRING_GREEN]:[/color]: “妈妈,爸爸什么时候能让我出去玩呀”[next=auto] [ID:tfd98f18577]
=> END
~ c02_s08_xiaodie03
[color=MEDIUM_SPRING_GREEN]:[/color]: “妈妈,我房间里好像有一只大老鼠”[next=auto] [ID:td708807bf4]
[color=MEDIUM_SPRING_GREEN]:[/color]: “妈妈,我怕”[next=auto] [ID:t56894aa36d]
=> END
~ c02_s08_jiewei01
[color=AQUA]:[/color]: “小蝶”[next=2.1] [ID:t0bd0b50791]
=> END
~ c02_s08_jiewei02
[color=AQUA]:[/color]: “醒醒”[next=2] [ID:t7c7439fb6a]
=> END
~ c02_s08_jiewei03
吕萍: “太吵了,不要吵了”[next=3.3] [ID:te61a43eed3]
=> END
~ c02_s08_jiewei04
吕萍: “不要再说了!”[next=1.6] [ID:t96238696c3]
=> END
~ c02_s08_jiewei05
吕萍: “不要!”[next=2] [ID:t5cf3356bb1]
=> END
~ c02_s09_zhitiao
(纸条) [ID:tda6ab6a3dd]
=> END
~ c02_s09_1014
(锁住了) [ID:t371e88b879]
=> END
~ c02_s09_1015
(奠) [ID:t1207196450]
=> END
~ c02_s09_xiaochan
(寻人启事) [ID:t4d609b2543]
(失踪的小孩名叫夏小蝉) [ID:t236739888b]
=> END
# 场景十
~ c02_s10_boy01
吕萍: “你是刚刚门口那个小弟弟” [ID:t38152eaaf2]
男孩: “小蝶,你终于还是回来了” [ID:te1c5e11fdb]
吕萍: “我们认识吗?” [ID:td8476fc7cb]
吕萍: “为什么......你们都叫我小蝶” [ID:t6125b684d7]
男孩: “在你被送去孤儿院之前,我们就已经认识了” [ID:t0fd4743492]
男孩: “你爸爸叫陆仁,那件事之后,他就把你妈妈的名字给了你” [ID:t3795fee445]
男孩: “这些年来,我一直在这里等你,我们当初说好的,就在这里,你还记得吗?” [ID:t5e9e91d222]
吕萍: “你说的是……真的假的” [ID:t8504465ab1]
吕萍: “那个时候的事情,我一点也想不起来啊,你怎么......” [ID:tefe78da40f]
吕萍: “不对,不可能,你这么小,不可能知道当年发生了什么” [ID:t481232f0f7]
吕萍: “你到底是谁” [ID:td85ad730d3]
男孩: “不要害怕,我的名字叫小蝉,记得吗,小蝉” [ID:tf1a514bbe9]
吕萍: “不不不,你不要瞎说,我不记得什么小蝉” [ID:t263510936d]
吕萍: “我是来找我亲生父母的,你肯定知道他们在哪儿对不对” [ID:t4d7070829c]
男孩: “还是想不起来吗” [ID:tc28d032c92]
男孩: “没关系,我会帮你的” [ID:t67dfca0c26]
男孩: “我们现在没有办法离开这里,这栋楼已经不是当年的样子了” [ID:t6b5d5a9a88]
男孩: “你现在在这里一定要小心” [ID:t7051f8e365]
=> END
~ c02_s10_boy02
吕萍: “诶?等一下”[next=2] [ID:tde7799b60e]
=> END
~ c02_s10_boy03
男孩: “去1014” [ID:t06808e83df]
=> END
~ c02_s10_cat
吕萍: “咪咪?又是你” [ID:t36141ef025]
=> END
~ c02_s10_men
吕萍: “这是......一面墙?” [ID:t664febbf8f]
=> END
~ c02_s11_cat
(小猫的尸体已经干了) [ID:t59e8199879]
=> END
# 场景十二
~ c02_s12_kaitou
吕萍: “这是......通到什么地方去的” [ID:t7ce574125c]
=> END
~ c02_s12_yingbi
(几块大洋) [ID:t94b10f6270]
=> END
~ c02_s12_laoshu
(死掉的老鼠) [ID:td9593e553b]
=> END
~ c02_s12_hua
(石缝里开了几束花) [ID:t70c8da9593]
=> END
~ c02_s12_jiewei
(石壁另一头好像还有空间) [ID:t9b1714f00a]
=> END
# 场景十三
~ c02_s13_rili
(民国六年十二月二十一日) [ID:t9e9a33285a]
=> END
~ c02_s13_fartherandmother
[color=POWDER_BLUE]陆仁:[/color]: “你也不要太担心了,柜子我上了把锁”[next=4.3] [ID:t7147becd3a]
[color=POWDER_BLUE]陆仁:[/color]: “回头我再去问问看,说不定就是楼里的人偷的”[next=auto] [ID:tcad5305ba4]
[wait=1][next=6] [ID:t5dea58cccc]
[wait=1][next=3] [ID:t6e6d4ac32e]
[color=POWDER_BLUE]陆仁:[/color]: “你不要管他们怎么说,病确实是治好了,我们自己心里知道就可以了”[next=7.3] [ID:tcaf8437dab]
[color=POWDER_BLUE]陆仁:[/color]: “对了,昨天小蝶说她听到你做的那个娃娃开口说话了,不知道是怎么回事”[next=8.7] [ID:t39af521c31]
[color=POWDER_BLUE]陆仁:[/color]: “是不是应该让她和其他的小朋友一起多去玩玩,不要成天呆在家里”[next=6.7] [ID:t9af43f17ec]
[wait=1][next=4] [ID:tc88352dcea]
[wait=1][next=4] [ID:t78c1bab20c]
[color=POWDER_BLUE]陆仁:[/color]: “嗯......这个我也不是很懂的,那么到时候你和她说吧”[next=7.8] [ID:t3ab35a0776]
[color=POWDER_BLUE]陆仁:[/color]: “走吧,外面还有好多人等着呢,时间差不多再看几个今天就休息了”[next=8.3] [ID:t04cdb8c71c]
=> END
~ c02_s13_lock
(锁住了) [ID:t4b7e29f605]
=> END
~ c02_s13_xiangkuang
(相框) [ID:t05a04e53c5]
=> END
~ c02_s13_xin1
(一些患者的感谢信) [ID:t9ea994fc2b]
=> END
#
#~ c02_s13_shengyin
#吕萍: “进来的地方......好像有声音”
#=> END
~ c02_s13_shu
(一本被撕掉的书) [ID:t2f53cff3ba]
=> END
~ c02_s13_xiaomaoshenti
(里面有什么东西) [ID:t2292f56db2]
=> END
~ c02_s13_shi
(戏台上面刻了一首诗) [ID:td1b7d3133c]
=> END
~ c02_s13_suo
(锁开了) [ID:t4bf2612ba6]
=> END
~ c02_s14_huangguodong
(口袋里有东西) [ID:te513bf86b9]
=> END
~ c02_s15_wu
(雾太大了,看不清路)[next=auto] [ID:t809fb0c8dc]
=> END
~ c02_s15_boy
男孩: “你终于还是回来了”[next=4] [ID:t726c5cec0b]
=> END
~ c02_s16_bayinhe
(是个八音盒) [ID:t08bce48c30]
=> END
~ c02_s16_bayinhe2
(祝女儿早日康复) [ID:t744229d4f8]
=> END
~ c02_s15_fuzhou
(这图案和我手臂上的一摸一样) [ID:t2b3f3cc8b0]
=> END"
scroll_smooth = true
syntax_highlighter = SubResource("SyntaxHighlighter_bxc68")
syntax_highlighter = SubResource("SyntaxHighlighter_q4u2v")
[node name="ErrorsPanel" parent="Margin/Content/CodePanel" instance=ExtResource("7_5cvl4")]
unique_name_in_owner = true
layout_mode = 2
[node name="NewDialog" type="FileDialog" parent="."]
size = Vector2i(900, 750)
min_size = Vector2i(600, 500)
size = Vector2i(1200, 1000)
min_size = Vector2i(1200, 1000)
dialog_hide_on_ok = true
filters = PackedStringArray("*.dialogue ; Dialogue")
[node name="SaveDialog" type="FileDialog" parent="."]
size = Vector2i(900, 750)
min_size = Vector2i(600, 500)
size = Vector2i(1200, 1000)
min_size = Vector2i(1200, 1000)
dialog_hide_on_ok = true
filters = PackedStringArray("*.dialogue ; Dialogue")
[node name="OpenDialog" type="FileDialog" parent="."]
title = "Open a File"
size = Vector2i(900, 750)
min_size = Vector2i(600, 500)
size = Vector2i(1200, 1000)
min_size = Vector2i(1200, 1000)
ok_button_text = "Open"
dialog_hide_on_ok = true
file_mode = 0
@ -340,20 +827,20 @@ filters = PackedStringArray("*.dialogue ; Dialogue")
[node name="QuickOpenDialog" type="ConfirmationDialog" parent="."]
title = "Quick open"
size = Vector2i(600, 900)
min_size = Vector2i(400, 600)
size = Vector2i(800, 1200)
min_size = Vector2i(800, 1200)
ok_button_text = "Open"
[node name="QuickOpenFilesList" parent="QuickOpenDialog" instance=ExtResource("2_npj2k")]
[node name="ExportDialog" type="FileDialog" parent="."]
size = Vector2i(900, 750)
min_size = Vector2i(600, 500)
size = Vector2i(1200, 1000)
min_size = Vector2i(1200, 1000)
[node name="ImportDialog" type="FileDialog" parent="."]
title = "Open a File"
size = Vector2i(900, 750)
min_size = Vector2i(600, 500)
size = Vector2i(1200, 1000)
min_size = Vector2i(1200, 1000)
ok_button_text = "Open"
file_mode = 0
filters = PackedStringArray("*.csv ; Translation CSV")
@ -364,10 +851,10 @@ dialog_text = "You have errors in your script. Fix them and then try again."
[node name="SettingsDialog" type="AcceptDialog" parent="."]
title = "Settings"
size = Vector2i(1000, 600)
size = Vector2i(2000, 1200)
unresizable = true
min_size = Vector2i(1000, 600)
max_size = Vector2i(1000, 600)
min_size = Vector2i(2000, 1200)
max_size = Vector2i(2000, 1200)
ok_button_text = "Done"
[node name="SettingsView" parent="SettingsDialog" instance=ExtResource("9_8bf36")]
@ -391,8 +878,8 @@ dialog_text = "You're now up to date!"
[node name="FindInFilesDialog" type="AcceptDialog" parent="."]
title = "Find in files"
size = Vector2i(1200, 900)
min_size = Vector2i(800, 600)
size = Vector2i(1600, 1200)
min_size = Vector2i(1600, 1200)
ok_button_text = "Done"
[node name="FindInFiles" parent="FindInFilesDialog" node_paths=PackedStringArray("main_view", "code_edit") instance=ExtResource("10_yold3")]

View File

@ -1,43 +1,43 @@
keys,en,_character
t86c8af3834,“时辰将至,锁魂障眼,自欺欺人”,雾
taab2c4dca8,“孤魂也罢,恶鬼亦然”,雾
t1112e6f81c,“三魂皆不可阙,将它们都带回来吧”,雾
t99f770cf9f,“......”,
td6b4d77d2f,(一个老人正在喂食笼子里的老鼠) [next=auto],
tcef6a060b9,“这么多年......还是找不到......” [next=auto],老人
tb65380ea5d,“它们说......等它们吃饱了......” [next=auto],老人
t50f89a27e5,“吃饱了......就会帮我找......” [next=auto],老人
tf86e491bac,“帮我找到我的孩子......” [next=auto],老人
t45901594ba,“......” [next=auto],[color=MEDIUM_SPRING_GREEN][/color]
ta017a4466b,(无法触碰),
t80dc36183c,[/color] “在这儿吗......”[next=15],[color=MEDIUM_SPRING_GREEN]
tb5446007d7,“又是这个梦”[next=1.5],吕萍
tc2d15986d5,“这个星期已经第三次了”[next=3],吕萍
tbb5ee63a2a,“我到底是怎么了”[next=2],吕萍
te493a0d5da,“小姐,你没事吧?”[next=3],车夫
t31f7bd6bca,“啊?哦我没事”[next=3.5],吕萍
t5145e4a651,“师傅,刚刚什么事情啊?”[next=3.5],吕萍
t377527622c,“人没事就好”[next=3],车夫
t457439be08,“刚有几个小孩儿突然从路边窜出来”[next=4.5],车夫
tfd750b3caf,“还好我刹住了,大过年差点触霉头”[next=4.5],车夫
t3ca3777849,“不好意思,耽误你时间了”[next=4],车夫
t3676341a09,“没事没事,我其实也没有......那么赶时间”[next=6],吕萍
t9a1e445f9c,“哈哈,小姐你坐好了,跑了“[next=4],车夫
t8c27cd48bc,“小姐,你这是回家过年是哇?”[next=4.5],车夫
t021c82b70c,“哦,不是的......”[next=2.5],吕萍
tacea5af85e,“啊?不会是工作吧”[next=4],车夫
tdd93622a58,“这不行的,你这小年夜还要安排工作啊”[next=4.7],车夫
t56fdb18174,“你看我,拉完你这一趟,我也要准备收工了”[next=4.3],车夫
te7fe810b72,“工作什么的,今天肯定要统统结束掉的,你说对哇”[next=5],车夫
t98517902ae,“这小年夜不行么,还有大年夜的呀”[next=4],车夫
t080b02145f,“到时候回去和家里人一起好好吃个年夜饭”[next=4.3],车夫
t0720faaedd,“时间也差不多”[next=3],车夫
t18326bf9ff,“......”[next=3],吕萍
t0cf43479d8,“是到了吗,师傅”[next=2.5],吕萍
t74848a4990,“到了芦昌路26弄3号就是这里”[next=5.5],车夫
tafc8b88bf2,“嗯,钱正好,那么我先跑了”[next=4],车夫
tf7684cc8bf,“好的,谢谢师傅”[next=2.5],吕萍
ta1bb847397,“哎哟,谢什么”[next=3],车夫
tbce893354a,“哦,位子上这份信是你的吧,别忘记了”[next=4.5],车夫
t25399e2eff,“对的对的,差点就忘记了,谢谢师傅,新年快乐”[next=6.5],吕萍
tcf9f50d4e7,“新年快乐”[next=3],车夫
keys,zh_Hans,en,_character,_notes,_tags
t86c8af3834,“时辰将至,锁魂障眼,自欺欺人”,Time's coming.,,note,[#shake]
taab2c4dca8,“孤魂也罢,恶鬼亦然”,,,,[#wave]
t1112e6f81c,“三魂皆不可阙,将它们都带回来吧”,,,,[#color=orange]
t99f770cf9f,“......”,,,,
c01_老人喂食,(一个老人正在喂食笼子里的老鼠),,,,
tcef6a060b9,“这么多年......还是找不到......”,,老人,,
tb65380ea5d,“它们说......等它们吃饱了......”,,老人,,
t50f89a27e5,“吃饱了......就会帮我找......”,,老人,,
tf86e491bac,“帮我找到我的孩子......”,,老人,,
t45901594ba,“......”,,,,
ta017a4466b,(无法触碰),,,,
t80dc36183c,“在这儿吗......”,,,,
tb5446007d7,“又是这个梦”,,吕萍,,
tc2d15986d5,“这个星期已经第三次了”,,吕萍,,
tbb5ee63a2a,“我到底是怎么了”,,吕萍,,
te493a0d5da,“小姐,你没事吧?”,,车夫,,
t31f7bd6bca,“啊?哦我没事”,,吕萍,,
t5145e4a651,“师傅,刚刚什么事情啊?”,,吕萍,,
t377527622c,“人没事就好”,,车夫,,
t457439be08,“刚有几个小孩儿突然从路边窜出来”,,车夫,,
tfd750b3caf,“还好我刹住了,大过年差点触霉头”,,车夫,,
t3ca3777849,“不好意思,耽误你时间了”,,车夫,,
t3676341a09,“没事没事,我其实也没有......那么赶时间”,,吕萍,,
t9a1e445f9c,“哈哈,小姐你坐好了,跑了“,,车夫,,
t8c27cd48bc,“小姐,你这是回家过年是哇?”,,车夫,,
t021c82b70c,“哦,不是的......”,,吕萍,,
tacea5af85e,“啊?不会是工作吧”,,车夫,,
tdd93622a58,“这不行的,你这小年夜还要安排工作啊”,,车夫,,
t56fdb18174,“你看我,拉完你这一趟,我也要准备收工了”,,车夫,,
te7fe810b72,“工作什么的,今天肯定要统统结束掉的,你说对哇”,,车夫,,
t98517902ae,“这小年夜不行么,还有大年夜的呀”,,车夫,,
t080b02145f,“到时候回去和家里人一起好好吃个年夜饭”,,车夫,,
t0720faaedd,“时间也差不多”,,车夫,,
t18326bf9ff,“......”,,吕萍,,
t0cf43479d8,“是到了吗,师傅”,,吕萍,,
t74848a4990,“到了芦昌路26弄3号就是这里”,,车夫,,
tafc8b88bf2,“嗯,钱正好,那么我先跑了”,,车夫,,
tf7684cc8bf,“好的,谢谢师傅”,,吕萍,,
ta1bb847397,“哎哟,谢什么”,,车夫,,
tbce893354a,“哦,位子上这份信是你的吧,别忘记了”,,车夫,,
t25399e2eff,“对的对的,差点就忘记了,谢谢师傅,新年快乐”,,吕萍,,
tcf9f50d4e7,“新年快乐”,,车夫,,

1 keys zh_Hans en _character _notes _tags
2 t86c8af3834 “时辰将至,锁魂障眼,自欺欺人” “时辰将至,锁魂障眼,自欺欺人” Time's coming. note [#shake]
3 taab2c4dca8 “孤魂也罢,恶鬼亦然” “孤魂也罢,恶鬼亦然” [#wave]
4 t1112e6f81c “三魂皆不可阙,将它们都带回来吧” “三魂皆不可阙,将它们都带回来吧” [#color=orange]
5 t99f770cf9f “......” “......” ???
6 td6b4d77d2f c01_老人喂食 (一个老人正在喂食笼子里的老鼠) (一个老人正在喂食笼子里的老鼠) [next=auto]
7 tcef6a060b9 “这么多年......还是找不到......” “这么多年......还是找不到......” [next=auto] 老人
8 tb65380ea5d “它们说......等它们吃饱了......” “它们说......等它们吃饱了......” [next=auto] 老人
9 t50f89a27e5 “吃饱了......就会帮我找......” “吃饱了......就会帮我找......” [next=auto] 老人
10 tf86e491bac “帮我找到我的孩子......” “帮我找到我的孩子......” [next=auto] 老人
11 t45901594ba “......” “......” [next=auto] [color=MEDIUM_SPRING_GREEN]???[/color] ???
12 ta017a4466b (无法触碰) (无法触碰)
13 t80dc36183c “在这儿吗......” [/color] “在这儿吗......”[next=15] [color=MEDIUM_SPRING_GREEN]???
14 tb5446007d7 “又是这个梦” “又是这个梦”[next=1.5] 吕萍
15 tc2d15986d5 “这个星期已经第三次了” “这个星期已经第三次了”[next=3] 吕萍
16 tbb5ee63a2a “我到底是怎么了” “我到底是怎么了”[next=2] 吕萍
17 te493a0d5da “小姐,你没事吧?” “小姐,你没事吧?”[next=3] 车夫
18 t31f7bd6bca “啊?哦我没事” “啊?哦我没事”[next=3.5] 吕萍
19 t5145e4a651 “师傅,刚刚什么事情啊?” “师傅,刚刚什么事情啊?”[next=3.5] 吕萍
20 t377527622c “人没事就好” “人没事就好”[next=3] 车夫
21 t457439be08 “刚有几个小孩儿突然从路边窜出来” “刚有几个小孩儿突然从路边窜出来”[next=4.5] 车夫
22 tfd750b3caf “还好我刹住了,大过年差点触霉头” “还好我刹住了,大过年差点触霉头”[next=4.5] 车夫
23 t3ca3777849 “不好意思,耽误你时间了” “不好意思,耽误你时间了”[next=4] 车夫
24 t3676341a09 “没事没事,我其实也没有......那么赶时间” “没事没事,我其实也没有......那么赶时间”[next=6] 吕萍
25 t9a1e445f9c “哈哈,小姐你坐好了,跑了“ “哈哈,小姐你坐好了,跑了“[next=4] 车夫
26 t8c27cd48bc “小姐,你这是回家过年是哇?” “小姐,你这是回家过年是哇?”[next=4.5] 车夫
27 t021c82b70c “哦,不是的......” “哦,不是的......”[next=2.5] 吕萍
28 tacea5af85e “啊?不会是工作吧” “啊?不会是工作吧”[next=4] 车夫
29 tdd93622a58 “这不行的,你这小年夜还要安排工作啊” “这不行的,你这小年夜还要安排工作啊”[next=4.7] 车夫
30 t56fdb18174 “你看我,拉完你这一趟,我也要准备收工了” “你看我,拉完你这一趟,我也要准备收工了”[next=4.3] 车夫
31 te7fe810b72 “工作什么的,今天肯定要统统结束掉的,你说对哇” “工作什么的,今天肯定要统统结束掉的,你说对哇”[next=5] 车夫
32 t98517902ae “这小年夜不行么,还有大年夜的呀” “这小年夜不行么,还有大年夜的呀”[next=4] 车夫
33 t080b02145f “到时候回去和家里人一起好好吃个年夜饭” “到时候回去和家里人一起好好吃个年夜饭”[next=4.3] 车夫
34 t0720faaedd “时间也差不多” “时间也差不多”[next=3] 车夫
35 t18326bf9ff “......” “......”[next=3] 吕萍
36 t0cf43479d8 “是到了吗,师傅” “是到了吗,师傅”[next=2.5] 吕萍
37 t74848a4990 “到了,芦昌路26弄3号,就是这里” “到了,芦昌路26弄3号,就是这里”[next=5.5] 车夫
38 tafc8b88bf2 “嗯,钱正好,那么我先跑了” “嗯,钱正好,那么我先跑了”[next=4] 车夫
39 tf7684cc8bf “好的,谢谢师傅” “好的,谢谢师傅”[next=2.5] 吕萍
40 ta1bb847397 “哎哟,谢什么” “哎哟,谢什么”[next=3] 车夫
41 tbce893354a “哦,位子上这份信是你的吧,别忘记了” “哦,位子上这份信是你的吧,别忘记了”[next=4.5] 车夫
42 t25399e2eff “对的对的,差点就忘记了,谢谢师傅,新年快乐” “对的对的,差点就忘记了,谢谢师傅,新年快乐”[next=6.5] 吕萍
43 tcf9f50d4e7 “新年快乐” “新年快乐”[next=3] 车夫

View File

@ -1,22 +1,20 @@
~ c01_s01_heiwu
雾: “时辰将至,锁魂障眼,自欺欺人” [ID:t86c8af3834]
雾: “孤魂也罢,恶鬼亦然” [ID:taab2c4dca8]
雾: “三魂皆不可阙,将它们都带回来吧” [ID:t1112e6f81c]
#Nathan: Choose a Response...
#- Option 1
# Nathan: You chose option 1
#- Option 2
# Nathan: You chose option 2
## note
雾: “时辰将至,锁魂障眼,自欺欺人” [#shake] [ID:t86c8af3834]
##
雾: “孤魂也罢,恶鬼亦然” [#wave] [ID:taab2c4dca8]
##
雾: “三魂皆不可阙,将它们都带回来吧” [#color=orange] [ID:t1112e6f81c]
: “......” [ID:t99f770cf9f]
=> END
~ c01_s01_oldman
(一个老人正在喂食笼子里的老鼠) [next=auto][ID:td6b4d77d2f]
老人: “这么多年......还是找不到......” [next=auto][ID:tcef6a060b9]
老人: “它们说......等它们吃饱了......” [next=auto][ID:tb65380ea5d]
老人: “吃饱了......就会帮我找......” [next=auto][ID:t50f89a27e5]
老人: “帮我找到我的孩子......” [next=auto][ID:tf86e491bac]
[color=MEDIUM_SPRING_GREEN][/color]: “......” [next=auto][ID:t45901594ba]
(一个老人正在喂食笼子里的老鼠) [ID:c01_老人喂食]
老人: “这么多年......还是找不到......” [ID:tcef6a060b9]
老人: “它们说......等它们吃饱了......” [ID:tb65380ea5d]
老人: “吃饱了......就会帮我找......” [ID:t50f89a27e5]
老人: “帮我找到我的孩子......” [ID:tf86e491bac]
: “......” [ID:t45901594ba]
=> END
~ c01_s03_door
@ -24,63 +22,63 @@
=> END
~ c01_s03_feature
[color=MEDIUM_SPRING_GREEN]:[/color] “在这儿吗......”[next=15] [ID:t80dc36183c]
“在这儿吗......” [ID:t80dc36183c]
=> END
~ c01_s04_begin
吕萍: “又是这个梦”[next=1.5] [ID:tb5446007d7]
吕萍: “这个星期已经第三次了”[next=3] [ID:tc2d15986d5]
吕萍: “我到底是怎么了”[next=2] [ID:tbb5ee63a2a]
车夫: “小姐,你没事吧?”[next=3] [ID:te493a0d5da]
吕萍: “啊?哦我没事”[next=3.5] [ID:t31f7bd6bca]
吕萍: “师傅,刚刚什么事情啊?”[next=3.5] [ID:t5145e4a651]
车夫: “人没事就好”[next=3] [ID:t377527622c]
车夫: “刚有几个小孩儿突然从路边窜出来”[next=4.5] [ID:t457439be08]
车夫: “还好我刹住了,大过年差点触霉头”[next=4.5] [ID:tfd750b3caf]
车夫: “不好意思,耽误你时间了”[next=4] [ID:t3ca3777849]
吕萍: “没事没事,我其实也没有......那么赶时间”[next=6] [ID:t3676341a09]
车夫: “哈哈,小姐你坐好了,跑了“[next=4] [ID:t9a1e445f9c]
吕萍: “又是这个梦” [ID:tb5446007d7]
吕萍: “这个星期已经第三次了” [ID:tc2d15986d5]
吕萍: “我到底是怎么了” [ID:tbb5ee63a2a]
车夫: “小姐,你没事吧?” [ID:te493a0d5da]
吕萍: “啊?哦我没事” [ID:t31f7bd6bca]
吕萍: “师傅,刚刚什么事情啊?” [ID:t5145e4a651]
车夫: “人没事就好” [ID:t377527622c]
车夫: “刚有几个小孩儿突然从路边窜出来” [ID:t457439be08]
车夫: “还好我刹住了,大过年差点触霉头” [ID:tfd750b3caf]
车夫: “不好意思,耽误你时间了” [ID:t3ca3777849]
吕萍: “没事没事,我其实也没有......那么赶时间” [ID:t3676341a09]
车夫: “哈哈,小姐你坐好了,跑了“ [ID:t9a1e445f9c]
=> END
~ c01_s04_animation1
车夫: “小姐,你这是回家过年是哇?”[next=4.5] [ID:t8c27cd48bc]
车夫: “小姐,你这是回家过年是哇?” [ID:t8c27cd48bc]
=> END
~ c01_s04_animation2
吕萍: “哦,不是的......”[next=2.5] [ID:t021c82b70c]
吕萍: “哦,不是的......” [ID:t021c82b70c]
=> END
~ c01_s04_animation3
车夫: “啊?不会是工作吧”[next=4] [ID:tacea5af85e]
车夫: “啊?不会是工作吧” [ID:tacea5af85e]
=> END
~ c01_s04_animation4
车夫: “这不行的,你这小年夜还要安排工作啊”[next=4.7] [ID:tdd93622a58]
车夫: “你看我,拉完你这一趟,我也要准备收工了”[next=4.3] [ID:t56fdb18174]
车夫: “工作什么的,今天肯定要统统结束掉的,你说对哇”[next=5] [ID:te7fe810b72]
车夫: “这小年夜不行么,还有大年夜的呀”[next=4] [ID:t98517902ae]
车夫: “到时候回去和家里人一起好好吃个年夜饭”[next=4.3] [ID:t080b02145f]
车夫: “时间也差不多”[next=3] [ID:t0720faaedd]
车夫: “这不行的,你这小年夜还要安排工作啊” [ID:tdd93622a58]
车夫: “你看我,拉完你这一趟,我也要准备收工了” [ID:t56fdb18174]
车夫: “工作什么的,今天肯定要统统结束掉的,你说对哇” [ID:te7fe810b72]
车夫: “这小年夜不行么,还有大年夜的呀” [ID:t98517902ae]
车夫: “到时候回去和家里人一起好好吃个年夜饭” [ID:t080b02145f]
车夫: “时间也差不多” [ID:t0720faaedd]
=> END
~ c01_s04_animation5
吕萍: “......”[next=3] [ID:t18326bf9ff]
吕萍: “......” [ID:t18326bf9ff]
=> END
~ c01_s04_animation6
吕萍: “是到了吗,师傅”[next=2.5] [ID:t0cf43479d8]
吕萍: “是到了吗,师傅” [ID:t0cf43479d8]
=> END
~ c01_s04_animation7
车夫: “到了芦昌路26弄3号就是这里”[next=5.5] [ID:t74848a4990]
车夫: “到了芦昌路26弄3号就是这里” [ID:t74848a4990]
=> END
~ c01_s04_animation8
车夫: “嗯,钱正好,那么我先跑了”[next=4] [ID:tafc8b88bf2]
吕萍: “好的,谢谢师傅”[next=2.5] [ID:tf7684cc8bf]
车夫: “哎哟,谢什么”[next=3] [ID:ta1bb847397]
车夫: “哦,位子上这份信是你的吧,别忘记了”[next=4.5] [ID:tbce893354a]
吕萍: “对的对的,差点就忘记了,谢谢师傅,新年快乐”[next=6.5] [ID:t25399e2eff]
车夫: “新年快乐”[next=3] [ID:tcf9f50d4e7]
车夫: “嗯,钱正好,那么我先跑了” [ID:tafc8b88bf2]
吕萍: “好的,谢谢师傅” [ID:tf7684cc8bf]
车夫: “哎哟,谢什么” [ID:ta1bb847397]
车夫: “哦,位子上这份信是你的吧,别忘记了” [ID:tbce893354a]
吕萍: “对的对的,差点就忘记了,谢谢师傅,新年快乐” [ID:t25399e2eff]
车夫: “新年快乐” [ID:tcf9f50d4e7]
=> END

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,171 +1,172 @@
keys,en,_character
tf3933c836c,芦昌路26弄3号,
teb1fdd0c3d,“这是梦里的那栋楼”,吕萍
tf6373b1461,(似乎是一张寻人启示),
tace136aa1d,(脸的部分被撕掉了,看不清),
t80736c88c5,“冷飕飕的,早知道多穿一件出来了”[next=4.2],吕萍
t8b921a1f0d,(几张卫生宣传画),
tb3c5bdf8fa,(一个老鼠洞),
t67b292ac79,(在这种楼里挺常见的),
tc0b1d09ad5,(十几年前的报纸),
t697159b817,“天色变暗了”[next=3],吕萍
t10093c48d6,(又是那张寻人启示),
t33de979333,(锁住了),
t060613cc71,(锁住了),
t4c83f86ec3,(锁住了),
ta4d131091f,(锁住了),
t53107de49e,(干掉的血迹),
t6bf59cddd7,(有什么东西),
tde8f5415c3,(墙上的海报被撕掉了),
tfbff76fa77,“这么冷的天,怎么这树的叶子还这么茂盛”,吕萍
t88c78480dd,[wait=3][next=1],
ta853571b30,“咪咪?”,吕萍
t300a11f578,“好多老鼠”,吕萍
t3c391a329c,“去,去”,吕萍
tac301a659a,“你好乖啊”,吕萍
t648fa1c8e2,(咕噜咕噜),
t9a6f86b1ba,“诶?怎么走了”,吕萍
t70d94938c8,(井里有一股臭味),
t827e03aa77,“这是什么东西?”,吕萍
t5ec7026aa0,“嘶......我的头又开始痛了”[next=6.1],吕萍
tabd2edb27e,[/color] “爸爸,我昨晚听到有大老鼠在床边叫”[next=5],[color=MEDIUM_SPRING_GREEN]
ta308681a21,[/color] “囡囡不怕哦,你把妈妈给你做的娃娃放在床边”[next=5],[color=POWDER_BLUE]
ta66609d55b,[/color] “老鼠就不敢过来了”[next=1.6],[color=POWDER_BLUE]
t38603155aa,[/color] “嗯!爸爸什么时候让妈妈教我唱歌呀”[next=5],[color=MEDIUM_SPRING_GREEN]
tbce77569eb,[/color] “妈妈生病嗓子坏了,等忙完这一阵,爸爸教你唱,好吗”[next=7.5],[color=POWDER_BLUE]
t4bf2f8b7dc,[/color] “走吧,爸爸带你去把药喝了”[next=3],[color=POWDER_BLUE]
t9d9d410a0b,[/color] “喝完药我要吃话梅糖!”[next=3.4],[color=MEDIUM_SPRING_GREEN]
t0e40b0a6ca,[/color] “你就记得糖”[next=4],[color=POWDER_BLUE]
t13ffd6841d,“我刚才眼花了吗”,吕萍
t2b7f492af2,“这些人从哪儿来的”,吕萍
t43e3e802fb,“......”,吕萍
tc4e755f8cc,“找个人问一下吧”,吕萍
t198fd11186,(车上放了一些中药材),
t2f080e7e4f,(排队的人堵住了上楼的路),
tef94e4cddf,“你好,请问陆先生住在这里吗”,吕萍
tefe6342ef5,[/color] “啊?你爸妈忙的又没空管你啦”,[color=SKY_BLUE]
t8ac1e1d74d,[/color] “死了滚,生意都被你家抢没了”,[color=SKY_BLUE]
t385ad205e6,“她在说什么......”,吕萍
t0ad0a91e1f,[/color] “册那,都趁早死死掉算了”[next=3],[color=SKY_BLUE]
te52e87e435,“呃......你好,请问......”,吕萍
tb39e6e2176,[/color] “祸福在己,当自求;兴衰有数,莫强留”,[color=BURLYWOOD]
t0c7b5487e7,“......”,吕萍
t55e158aa73,[/color] “老方,小朋友又不懂,和她讲这些干嘛”,[color=DARK_KHAKI]
t0e5a348b5f,[/color] “小蝶啊,回头记得带妈妈来叔叔这儿买肉啊”,[color=DARK_KHAKI]
tbc55af8bf7,[/color] “外面没的买,叔叔这里多的是”,[color=DARK_KHAKI]
t0a091a2712,“这些人是在跟我说话吗”,吕萍
te49f3f6290,[/color] “来来来,过来,过来”,[color=DARK_KHAKI]
t0b675d22e8,[/color] “悄悄和你讲,让你妈妈来我这里买肉,给你们家便宜点”,[color=DARK_KHAKI]
t6699cc4d89,[/color] “不行到时候我给你们把肉送到家里去,好哇”,[color=DARK_KHAKI]
te8b6cac261,“呃,不用......不用了......”,吕萍
t7c47b8f2ea,“喂,那只成天跟着你的小猫去哪里啦”,小男孩
tbcb3f3a5c8,“好可爱的,也抱来给我们摸摸呗”,小男孩
t91bffb0a56,“猫?你说的是那只黑色的猫吗?”,吕萍
t6ebd045126,“对啊对啊,哦对了,你有绳子嘛”,小男孩
tcb8871c993,“对了,你有绳子嘛”,小男孩
tafbb065366,“嘿嘿,一会儿我们要在常年青下玩游戏,这次就叫上你吧”,小男孩
t9f383266ad,[/color] “真的假的?你钻进去啦,你这个体型进的去哒?”[next=5],[color=SKY_BLUE]
t84153d1302,[/color] “你声音轻点,这种事情不要大呼小叫的”[next=4],[color=INDIAN_RED]
t50ee4564c0,[/color] “快说说,你都看到啥了”[next=4],[color=SKY_BLUE]
t42919f1d5e,[/color] “他们养了只老鼠,要死掉了”[next=2.5],[color=INDIAN_RED]
tb25a6cfd1d,[/color] “没看到过这么大的老鼠”[next=2],[color=INDIAN_RED]
td2e2e976b7,[/color] “啊?!”[next=1],[color=SKY_BLUE]
t8c2a311801,[/color] “我就说他们家不对劲”[next=3],[color=SKY_BLUE]
t7dbddc808e,[/color] “晚点我要去找趟瞎子,这东西他比我们懂”[next=4],[color=INDIAN_RED]
tb2fd086d70,[/color] “嗯,那你到时候记得......”[next=2],[color=SKY_BLUE]
t86d98df806,[/color] “好了,其他的回去讲”[next=3],[color=INDIAN_RED]
t2c185335a3,“1014......刚刚那个小男孩说的就是这间吧”,吕萍
t203b58cab5,“这不是个空房间吗?”,吕萍
t7ff84c6134,(最好还是先不要出去),
t2f3f184fe8,(太阳快落山了),
t96fe0e898a,(民国六年十月十五日),
t18551dadd7,(打不开),
tb37ff31a1b,(一个洞,里面好像还有空间),
t6290eed263,(工具箱),
t42468d2f1f,(应该能找到有用的东西),
t1fc2a3944c,(公寓告示),
t0e2886f21e,(通往里间的门),
t6742e43e04,(打不开),
t57fa48a9de,(挂画),
t4018c7f508,(花名册),
tcee1769bea,“陆仁,小蝶,吕......萍”,吕萍
t01705be451,“和他说的一样,为什么”,吕萍
tbb8eaaac33,“怎么突然变暗了”[next=3.5],吕萍
t3f088c65fc,“嗯?玩具在发光”[next=3.5],吕萍
tecab2324ef,(罪),
tb8be4f8529,(门上有什么东西),
t585e87c2fb,“房间怎么还没有到头”[next=3.3],吕萍
ta468951404,(纸条),
tb9f4a5c023,“头好痛”[next=4],吕萍
tfab540faa7,“......”[next=auto],吕萍
t6a9fae7f94,“这......到底是怎么回事”[next=4.1],吕萍
t44b63ca9c1,“我是在......做梦吗?”[next=4.1],吕萍
tba2d3b254f,[/color]: “爸爸什么时候让妈妈教我唱歌呀”[next=auto],[color=MEDIUM_SPRING_GREEN]
tddb946d7ab,[/color]: “妈妈嗓子坏了,爸爸教你唱吧”[next=4],[color=POWDER_BLUE]
t26758aff7d,[/color]: “走吧,去把药喝了”[next=3.6],[color=POWDER_BLUE]
tfd98f18577,[/color]: “妈妈,爸爸什么时候能让我出去玩呀”[next=auto],[color=MEDIUM_SPRING_GREEN]
td708807bf4,[/color]: “妈妈,我房间里好像有一只大老鼠”[next=auto],[color=MEDIUM_SPRING_GREEN]
t56894aa36d,[/color]: “妈妈,我怕”[next=auto],[color=MEDIUM_SPRING_GREEN]
t0bd0b50791,[/color]: “小蝶”[next=2.1],[color=AQUA]
t7c7439fb6a,[/color]: “醒醒”[next=2],[color=AQUA]
te61a43eed3,“太吵了,不要吵了”[next=3.3],吕萍
t96238696c3,“不要再说了!”[next=1.6],吕萍
t5cf3356bb1,“不要!”[next=2],吕萍
tda6ab6a3dd,(纸条),
t371e88b879,(锁住了),
t1207196450,(奠),
t4d609b2543,(寻人启事),
t236739888b,(失踪的小孩名叫夏小蝉),
t38152eaaf2,“你是刚刚门口那个小弟弟”,吕萍
te1c5e11fdb,“小蝶,你终于还是回来了”,男孩
td8476fc7cb,“我们认识吗?”,吕萍
t6125b684d7,“为什么......你们都叫我小蝶”,吕萍
t0fd4743492,“在你被送去孤儿院之前,我们就已经认识了”,男孩
t3795fee445,“你爸爸叫陆仁,那件事之后,他就把你妈妈的名字给了你”,男孩
t5e9e91d222,“这些年来,我一直在这里等你,我们当初说好的,就在这里,你还记得吗?”,男孩
t8504465ab1,“你说的是……真的假的”,吕萍
tefe78da40f,“那个时候的事情,我一点也想不起来啊,你怎么......”,吕萍
t481232f0f7,“不对,不可能,你这么小,不可能知道当年发生了什么”,吕萍
td85ad730d3,“你到底是谁”,吕萍
tf1a514bbe9,“不要害怕,我的名字叫小蝉,记得吗,小蝉”,男孩
t263510936d,“不不不,你不要瞎说,我不记得什么小蝉”,吕萍
t4d7070829c,“我是来找我亲生父母的,你肯定知道他们在哪儿对不对”,吕萍
tc28d032c92,“还是想不起来吗”,男孩
t67dfca0c26,“没关系,我会帮你的”,男孩
t6b5d5a9a88,“我们现在没有办法离开这里,这栋楼已经不是当年的样子了”,男孩
t7051f8e365,“你现在在这里一定要小心”,男孩
tde7799b60e,“诶?等一下”[next=2],吕萍
t06808e83df,“去1014”,男孩
t36141ef025,“咪咪?又是你”,吕萍
t664febbf8f,“这是......一面墙?”,吕萍
t59e8199879,(小猫的尸体已经干了),
t7ce574125c,“这是......通到什么地方去的”,吕萍
t94b10f6270,(几块大洋),
td9593e553b,(死掉的老鼠),
t70c8da9593,(石缝里开了几束花),
t9b1714f00a,(石壁另一头好像还有空间),
t9e9a33285a,(民国六年十二月二十一日),
t7147becd3a,[/color]: “你也不要太担心了,柜子我上了把锁”[next=4.3],[color=POWDER_BLUE]陆仁
tcad5305ba4,[/color]: “回头我再去问问看,说不定就是楼里的人偷的”[next=auto],[color=POWDER_BLUE]陆仁
t5dea58cccc,[wait=1][next=6],
t6e6d4ac32e,[wait=1][next=3],
tcaf8437dab,[/color]: “你不要管他们怎么说,病确实是治好了,我们自己心里知道就可以了”[next=7.3],[color=POWDER_BLUE]陆仁
t39af521c31,[/color]: “对了,昨天小蝶说她听到你做的那个娃娃开口说话了,不知道是怎么回事”[next=8.7],[color=POWDER_BLUE]陆仁
t9af43f17ec,[/color]: “是不是应该让她和其他的小朋友一起多去玩玩,不要成天呆在家里”[next=6.7],[color=POWDER_BLUE]陆仁
tc88352dcea,[wait=1][next=4],
t78c1bab20c,[wait=1][next=4],
t3ab35a0776,[/color]: “嗯......这个我也不是很懂的,那么到时候你和她说吧”[next=7.8],[color=POWDER_BLUE]陆仁
t04cdb8c71c,[/color]: “走吧,外面还有好多人等着呢,时间差不多再看几个今天就休息了”[next=8.3],[color=POWDER_BLUE]陆仁
t4b7e29f605,(锁住了),
t05a04e53c5,(相框),
t9ea994fc2b,(一些患者的感谢信),
t2f53cff3ba,(一本被撕掉的书),
t2292f56db2,(里面有什么东西),
td1b7d3133c,(戏台上面刻了一首诗),
t4bf2612ba6,(锁开了),
te513bf86b9,(口袋里有东西),
t809fb0c8dc,(雾太大了,看不清路)[next=auto],
t726c5cec0b,“你终于还是回来了”[next=4],男孩
t08bce48c30,(是个八音盒),
t744229d4f8,(祝女儿早日康复),
t2b3f3cc8b0,(这图案和我手臂上的一摸一样),
keys,zh_Hans,en,_character,_notes,_tags
tf3933c836c,芦昌路26弄3号,,,男孩
芦昌路26,芦昌路26弄3号,,,孤寂的氛围,
c02_吕萍_001_梦楼,“这是梦里的那栋楼”, """This is the building from my dream.""" ,吕萍,,[#wave][#shake]
tf6373b1461,(似乎是一张寻人启示),,,,
tace136aa1d,(脸的部分被撕掉了,看不清),,,,
t80736c88c5,“冷飕飕的,早知道多穿一件出来了”[next=4.2],,吕萍,,
t8b921a1f0d,(几张卫生宣传画),,,,
tb3c5bdf8fa,(一个老鼠洞),,,,
t67b292ac79,(在这种楼里挺常见的),,,,
tc0b1d09ad5,(十几年前的报纸),,,,
t697159b817,“天色变暗了”[next=3],,吕萍,,
t10093c48d6,(又是那张寻人启示),,,,
t33de979333,(锁住了),,,,
t060613cc71,(锁住了),,,,
t4c83f86ec3,(锁住了),,,,
ta4d131091f,(锁住了),,,,
t53107de49e,(干掉的血迹),,,,
t6bf59cddd7,(有什么东西),,,,
tde8f5415c3,(墙上的海报被撕掉了),,,,
tfbff76fa77,“这么冷的天,怎么这树的叶子还这么茂盛”,,吕萍,,
t88c78480dd,[wait=3][next=1],,,,
ta853571b30,“咪咪?”,,吕萍,,
t300a11f578,“好多老鼠”,,吕萍,,
t3c391a329c,“去,去”,,吕萍,,
tac301a659a,“你好乖啊”,,吕萍,,
t648fa1c8e2,(咕噜咕噜),,,,
t9a6f86b1ba,“诶?怎么走了”,,吕萍,,
t70d94938c8,(井里有一股臭味),,,,
t827e03aa77,“这是什么东西?”,,吕萍,,
t5ec7026aa0,“嘶......我的头又开始痛了”[next=6.1],,吕萍,,
tabd2edb27e,[/color] “爸爸,我昨晚听到有大老鼠在床边叫”[next=5],,[color=MEDIUM_SPRING_GREEN],,
ta308681a21,[/color] “囡囡不怕哦,你把妈妈给你做的娃娃放在床边”[next=5],,[color=POWDER_BLUE],,
ta66609d55b,[/color] “老鼠就不敢过来了”[next=1.6],,[color=POWDER_BLUE],,
t38603155aa,[/color] “嗯!爸爸什么时候让妈妈教我唱歌呀”[next=5],,[color=MEDIUM_SPRING_GREEN],,
tbce77569eb,[/color] “妈妈生病嗓子坏了,等忙完这一阵,爸爸教你唱,好吗”[next=7.5],,[color=POWDER_BLUE],,
t4bf2f8b7dc,[/color] “走吧,爸爸带你去把药喝了”[next=3],,[color=POWDER_BLUE],,
t9d9d410a0b,[/color] “喝完药我要吃话梅糖!”[next=3.4],,[color=MEDIUM_SPRING_GREEN],,
t0e40b0a6ca,[/color] “你就记得糖”[next=4],,[color=POWDER_BLUE],,
t13ffd6841d,“我刚才眼花了吗”,,吕萍,,
t2b7f492af2,“这些人从哪儿来的”,,吕萍,,
t43e3e802fb,“......”,,吕萍,,
tc4e755f8cc,“找个人问一下吧”,,吕萍,,
t198fd11186,(车上放了一些中药材),,,,
t2f080e7e4f,(排队的人堵住了上楼的路),,,,
tef94e4cddf,“你好,请问陆先生住在这里吗”,,吕萍,,
tefe6342ef5,[/color] “啊?你爸妈忙的又没空管你啦”,,[color=SKY_BLUE],,
t8ac1e1d74d,[/color] “死了滚,生意都被你家抢没了”,,[color=SKY_BLUE],,
t385ad205e6,“她在说什么......”,,吕萍,,
t0ad0a91e1f,[/color] “册那,都趁早死死掉算了”[next=3],,[color=SKY_BLUE],,
te52e87e435,“呃......你好,请问......”,,吕萍,,
tb39e6e2176,[/color] “祸福在己,当自求;兴衰有数,莫强留”,,[color=BURLYWOOD],,
t0c7b5487e7,“......”,,吕萍,,
t55e158aa73,[/color] “老方,小朋友又不懂,和她讲这些干嘛”,,[color=DARK_KHAKI],,
t0e5a348b5f,[/color] “小蝶啊,回头记得带妈妈来叔叔这儿买肉啊”,,[color=DARK_KHAKI],,
tbc55af8bf7,[/color] “外面没的买,叔叔这里多的是”,,[color=DARK_KHAKI],,
t0a091a2712,“这些人是在跟我说话吗”,,吕萍,,
te49f3f6290,[/color] “来来来,过来,过来”,,[color=DARK_KHAKI],,
t0b675d22e8,[/color] “悄悄和你讲,让你妈妈来我这里买肉,给你们家便宜点”,,[color=DARK_KHAKI],,
t6699cc4d89,[/color] “不行到时候我给你们把肉送到家里去,好哇”,,[color=DARK_KHAKI],,
te8b6cac261,“呃,不用......不用了......”,,吕萍,,
t7c47b8f2ea,“喂,那只成天跟着你的小猫去哪里啦”,,小男孩,,
tbcb3f3a5c8,“好可爱的,也抱来给我们摸摸呗”,,小男孩,,
t91bffb0a56,“猫?你说的是那只黑色的猫吗?”,,吕萍,,
t6ebd045126,“对啊对啊,哦对了,你有绳子嘛”,,小男孩,,
tcb8871c993,“对了,你有绳子嘛”,,小男孩,,
tafbb065366,“嘿嘿,一会儿我们要在常年青下玩游戏,这次就叫上你吧”,,小男孩,,
t9f383266ad,[/color] “真的假的?你钻进去啦,你这个体型进的去哒?”[next=5],,[color=SKY_BLUE],,
t84153d1302,[/color] “你声音轻点,这种事情不要大呼小叫的”[next=4],,[color=INDIAN_RED],,
t50ee4564c0,[/color] “快说说,你都看到啥了”[next=4],,[color=SKY_BLUE],,
t42919f1d5e,[/color] “他们养了只老鼠,要死掉了”[next=2.5],,[color=INDIAN_RED],,
tb25a6cfd1d,[/color] “没看到过这么大的老鼠”[next=2],,[color=INDIAN_RED],,
td2e2e976b7,[/color] “啊?!”[next=1],,[color=SKY_BLUE],,
t8c2a311801,[/color] “我就说他们家不对劲”[next=3],,[color=SKY_BLUE],,
t7dbddc808e,[/color] “晚点我要去找趟瞎子,这东西他比我们懂”[next=4],,[color=INDIAN_RED],,
tb2fd086d70,[/color] “嗯,那你到时候记得......”[next=2],,[color=SKY_BLUE],,
t86d98df806,[/color] “好了,其他的回去讲”[next=3],,[color=INDIAN_RED],,
t2c185335a3,“1014......刚刚那个小男孩说的就是这间吧”,,吕萍,,
t203b58cab5,“这不是个空房间吗?”,,吕萍,,
t7ff84c6134,(最好还是先不要出去),,,,
t2f3f184fe8,(太阳快落山了),,,,
t96fe0e898a,(民国六年十月十五日),,,,
t18551dadd7,(打不开),,,,
tb37ff31a1b,(一个洞,里面好像还有空间),,,,
t6290eed263,(工具箱),,,,
t42468d2f1f,(应该能找到有用的东西),,,,
t1fc2a3944c,(公寓告示),,,,
t0e2886f21e,(通往里间的门),,,,
t6742e43e04,(打不开),,,,
t57fa48a9de,(挂画),,,,
t4018c7f508,(花名册),,,,
tcee1769bea,“陆仁,小蝶,吕......萍”,,吕萍,,
t01705be451,“和他说的一样,为什么”,,吕萍,,
tbb8eaaac33,“怎么突然变暗了”[next=3.5],,吕萍,,
t3f088c65fc,“嗯?玩具在发光”[next=3.5],,吕萍,,
tecab2324ef,(罪),,,,
tb8be4f8529,(门上有什么东西),,,,
t585e87c2fb,“房间怎么还没有到头”[next=3.3],,吕萍,,
ta468951404,(纸条),,,,
tb9f4a5c023,“头好痛”[next=4],,吕萍,,
tfab540faa7,“......”[next=auto],,吕萍,,
t6a9fae7f94,“这......到底是怎么回事”[next=4.1],,吕萍,,
t44b63ca9c1,“我是在......做梦吗?”[next=4.1],,吕萍,,
tba2d3b254f,[/color]: “爸爸什么时候让妈妈教我唱歌呀”[next=auto],,[color=MEDIUM_SPRING_GREEN],,
tddb946d7ab,[/color]: “妈妈嗓子坏了,爸爸教你唱吧”[next=4],,[color=POWDER_BLUE],,
t26758aff7d,[/color]: “走吧,去把药喝了”[next=3.6],,[color=POWDER_BLUE],,
tfd98f18577,[/color]: “妈妈,爸爸什么时候能让我出去玩呀”[next=auto],,[color=MEDIUM_SPRING_GREEN],,
td708807bf4,[/color]: “妈妈,我房间里好像有一只大老鼠”[next=auto],,[color=MEDIUM_SPRING_GREEN],,
t56894aa36d,[/color]: “妈妈,我怕”[next=auto],,[color=MEDIUM_SPRING_GREEN],,
t0bd0b50791,[/color]: “小蝶”[next=2.1],,[color=AQUA],,
t7c7439fb6a,[/color]: “醒醒”[next=2],,[color=AQUA],,
te61a43eed3,“太吵了,不要吵了”[next=3.3],,吕萍,,
t96238696c3,“不要再说了!”[next=1.6],,吕萍,,
t5cf3356bb1,“不要!”[next=2],,吕萍,,
tda6ab6a3dd,(纸条),,,,
t371e88b879,(锁住了),,,,
t1207196450,(奠),,,,
t4d609b2543,(寻人启事),,,,
t236739888b,(失踪的小孩名叫夏小蝉),,,,
t38152eaaf2,“你是刚刚门口那个小弟弟”,,吕萍,,
te1c5e11fdb,“小蝶,你终于还是回来了”,,男孩,,
td8476fc7cb,“我们认识吗?”,,吕萍,,
t6125b684d7,“为什么......你们都叫我小蝶”,,吕萍,,
t0fd4743492,“在你被送去孤儿院之前,我们就已经认识了”,,男孩,,
t3795fee445,“你爸爸叫陆仁,那件事之后,他就把你妈妈的名字给了你”,,男孩,,
t5e9e91d222,“这些年来,我一直在这里等你,我们当初说好的,就在这里,你还记得吗?”,,男孩,,
t8504465ab1,“你说的是……真的假的”,,吕萍,,
tefe78da40f,“那个时候的事情,我一点也想不起来啊,你怎么......”,,吕萍,,
t481232f0f7,“不对,不可能,你这么小,不可能知道当年发生了什么”,,吕萍,,
td85ad730d3,“你到底是谁”,,吕萍,,
tf1a514bbe9,“不要害怕,我的名字叫小蝉,记得吗,小蝉”,,男孩,,
t263510936d,“不不不,你不要瞎说,我不记得什么小蝉”,,吕萍,,
t4d7070829c,“我是来找我亲生父母的,你肯定知道他们在哪儿对不对”,,吕萍,,
tc28d032c92,“还是想不起来吗”,,男孩,,
t67dfca0c26,“没关系,我会帮你的”,,男孩,,
t6b5d5a9a88,“我们现在没有办法离开这里,这栋楼已经不是当年的样子了”,,男孩,,
t7051f8e365,“你现在在这里一定要小心”,,男孩,,
tde7799b60e,“诶?等一下”[next=2],,吕萍,,
t06808e83df,“去1014”,,男孩,,
t36141ef025,“咪咪?又是你”,,吕萍,,
t664febbf8f,“这是......一面墙?”,,吕萍,,
t59e8199879,(小猫的尸体已经干了),,,,
t7ce574125c,“这是......通到什么地方去的”,,吕萍,,
t94b10f6270,(几块大洋),,,,
td9593e553b,(死掉的老鼠),,,,
t70c8da9593,(石缝里开了几束花),,,,
t9b1714f00a,(石壁另一头好像还有空间),,,,
t9e9a33285a,(民国六年十二月二十一日),,,,
t7147becd3a,[/color]: “你也不要太担心了,柜子我上了把锁”[next=4.3],,[color=POWDER_BLUE]陆仁,,
tcad5305ba4,[/color]: “回头我再去问问看,说不定就是楼里的人偷的”[next=auto],,[color=POWDER_BLUE]陆仁,,
t5dea58cccc,[wait=1][next=6],,,,
t6e6d4ac32e,[wait=1][next=3],,,,
tcaf8437dab,[/color]: “你不要管他们怎么说,病确实是治好了,我们自己心里知道就可以了”[next=7.3],,[color=POWDER_BLUE]陆仁,,
t39af521c31,[/color]: “对了,昨天小蝶说她听到你做的那个娃娃开口说话了,不知道是怎么回事”[next=8.7],,[color=POWDER_BLUE]陆仁,,
t9af43f17ec,[/color]: “是不是应该让她和其他的小朋友一起多去玩玩,不要成天呆在家里”[next=6.7],,[color=POWDER_BLUE]陆仁,,
tc88352dcea,[wait=1][next=4],,,,
t78c1bab20c,[wait=1][next=4],,,,
t3ab35a0776,[/color]: “嗯......这个我也不是很懂的,那么到时候你和她说吧”[next=7.8],,[color=POWDER_BLUE]陆仁,,
t04cdb8c71c,[/color]: “走吧,外面还有好多人等着呢,时间差不多再看几个今天就休息了”[next=8.3],,[color=POWDER_BLUE]陆仁,,
t4b7e29f605,(锁住了),,,,
t05a04e53c5,(相框),,,,
t9ea994fc2b,(一些患者的感谢信),,,,
t2f53cff3ba,(一本被撕掉的书),,,,
t2292f56db2,(里面有什么东西),,,,
td1b7d3133c,(戏台上面刻了一首诗),,,,
t4bf2612ba6,(锁开了),,,,
te513bf86b9,(口袋里有东西),,,,
t809fb0c8dc,(雾太大了,看不清路)[next=auto],,,,
t726c5cec0b,“你终于还是回来了”[next=4],,男孩,,
t08bce48c30,(是个八音盒),,,,
t744229d4f8,(祝女儿早日康复),,,,
t2b3f3cc8b0,(这图案和我手臂上的一摸一样),,,,

Can't render this file because it has a wrong number of fields in line 2.

View File

@ -1,7 +1,8 @@
#场景一
~ c02_s01_menpai
芦昌路26弄3号 [ID:tf3933c836c]
吕萍: “这是梦里的那栋楼” [ID:teb1fdd0c3d]
##孤寂的氛围
芦昌路26弄3号 [ID:芦昌路26]
[ID:c02_吕萍_001_梦楼]
=> END
~ c02_s01_xunren

Binary file not shown.

Binary file not shown.

Binary file not shown.

1240
asset/dialogue/dialogue.pot Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://dw8rkoq2q6d33"]
[ext_resource type="Script" path="res://asset/dialogue/i_18n_test.gd" id="1_6ek5d"]
[node name="I18nTest" type="Node2D"]
script = ExtResource("1_6ek5d")

View File

@ -0,0 +1,16 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
print(tr("获得"))
print("loaded_locales:", TranslationServer.get_loaded_locales())
print("locale:", TranslationServer.get_locale())
print(tr("“时辰将至,锁魂障眼,自欺欺人” #tag1 #tag2", "t86c8af3834"))
print(tr("老人", "c01_吕萍_001_喃喃自语"))
print(tr("c01_吕萍_001_喃喃自语"))
TranslationServer.set_locale("en")
print("locale:", TranslationServer.get_locale())
print(tr("老人", "c01_吕萍_001_喃喃自语"))
print(tr("c01_吕萍_001_喃喃自语"))
print(tr("“时辰将至,锁魂障眼,自欺欺人” #tag1 #tag2", "t86c8af3834"))

View File

@ -1,16 +1,16 @@
keys,en,_character
ta3ec9a692e,: [color=orange]令牌[/color] [next=auto],获得
t3fec3a0901,[color=orange]带有灵魂的令牌[/color],获得
t1fb2eddc2c,[color=orange]院长的信件[/color],获得
t55a0bbbbe7,(一张纸条包着钥匙),
tef6a35c054,[color=orange]1012钥匙[/color],获得
t5524bf97aa,[color=orange]老虎钳[/color],获得
t14196d8fe6,[color=orange]绳子[/color],获得
t374122549a,(绳子和剪刀),
tc5eaa66290,纸条,
tbb79ae2d09,[color=orange]小猫玩具脑袋[/color],获得
t1cff5da17c,[color=orange]小猫玩具[/color],获得
ta4dd0cd59a,(这个玩具缺了个脑袋),
t5b35ef1532,[color=orange]钥匙[/color],获得
t10a9c290c4,[color=orange]火柴[/color],获得
tec813bfe32,[color=orange]1014钥匙[/color],获得
keys,zh_Hans,en,_character,_notes,_tags
ta3ec9a692e,令牌,,获得,,[#item]
t3fec3a0901,[color=orange]带有灵魂的令牌[/color],,获得,,
t1fb2eddc2c,[color=orange]院长的信件[/color],,获得,,
t55a0bbbbe7,(一张纸条包着钥匙),,,,
tef6a35c054,[color=orange]1012钥匙[/color],,获得,,
t5524bf97aa,[color=orange]老虎钳[/color],,获得,,
t14196d8fe6,[color=orange]绳子[/color],,获得,,
t374122549a,(绳子和剪刀),,,,
tc5eaa66290,纸条,,,,
tbb79ae2d09,[color=orange]小猫玩具脑袋[/color],,获得,,
t1cff5da17c,[color=orange]小猫玩具[/color],,获得,,
ta4dd0cd59a,(这个玩具缺了个脑袋),,,,
t5b35ef1532,[color=orange]钥匙[/color],,获得,,
t10a9c290c4,[color=orange]火柴[/color],,获得,,
tec813bfe32,[color=orange]1014钥匙[/color],,获得,,

1 keys zh_Hans en _character _notes _tags
2 ta3ec9a692e 令牌 : [color=orange]令牌[/color] [next=auto] 获得 [#item]
3 t3fec3a0901 [color=orange]带有灵魂的令牌[/color] [color=orange]带有灵魂的令牌[/color] 获得
4 t1fb2eddc2c [color=orange]院长的信件[/color] [color=orange]院长的信件[/color] 获得
5 t55a0bbbbe7 (一张纸条包着钥匙) (一张纸条包着钥匙)
6 tef6a35c054 [color=orange]1012钥匙[/color] [color=orange]1012钥匙[/color] 获得
7 t5524bf97aa [color=orange]老虎钳[/color] [color=orange]老虎钳[/color] 获得
8 t14196d8fe6 [color=orange]绳子[/color] [color=orange]绳子[/color] 获得
9 t374122549a (绳子和剪刀) (绳子和剪刀)
10 tc5eaa66290 纸条 纸条
11 tbb79ae2d09 [color=orange]小猫玩具脑袋[/color] [color=orange]小猫玩具脑袋[/color] 获得
12 t1cff5da17c [color=orange]小猫玩具[/color] [color=orange]小猫玩具[/color] 获得
13 ta4dd0cd59a (这个玩具缺了个脑袋) (这个玩具缺了个脑袋)
14 t5b35ef1532 [color=orange]钥匙[/color] [color=orange]钥匙[/color] 获得
15 t10a9c290c4 [color=orange]火柴[/color] [color=orange]火柴[/color] 获得
16 tec813bfe32 [color=orange]1014钥匙[/color] [color=orange]1014钥匙[/color] 获得

View File

@ -1,7 +1,7 @@
#序章
~ lingpai01
获得:: [color=orange]令牌[/color] [ID:ta3ec9a692e][next=auto]
获得: 令牌 [#item] [ID:ta3ec9a692e]
=> END
~ lingpai

Binary file not shown.

17
asset/dialogue/names.csv Normal file
View File

@ -0,0 +1,17 @@
keys,zh_Hans,en
雾,雾,
,,
老人,老人,
[color=MEDIUM_SPRING_GREEN][/color],[color=MEDIUM_SPRING_GREEN][/color],
车夫,车夫,
吕萍,吕萍,lvping
[color=MEDIUM_SPRING_GREEN],[color=MEDIUM_SPRING_GREEN],
[color=POWDER_BLUE],[color=POWDER_BLUE],
[color=SKY_BLUE],[color=SKY_BLUE],
[color=BURLYWOOD],[color=BURLYWOOD],
[color=DARK_KHAKI],[color=DARK_KHAKI],
小男孩,小男孩,
[color=INDIAN_RED],[color=INDIAN_RED],
[color=AQUA],[color=AQUA],
男孩,男孩,
[color=POWDER_BLUE]陆仁,[color=POWDER_BLUE]陆仁,
1 keys zh_Hans en
2
3 ??? ???
4 老人 老人
5 [color=MEDIUM_SPRING_GREEN]???[/color] [color=MEDIUM_SPRING_GREEN]???[/color]
6 车夫 车夫
7 吕萍 吕萍 lvping
8 [color=MEDIUM_SPRING_GREEN]??? [color=MEDIUM_SPRING_GREEN]???
9 [color=POWDER_BLUE]??? [color=POWDER_BLUE]???
10 [color=SKY_BLUE]??? [color=SKY_BLUE]???
11 [color=BURLYWOOD]??? [color=BURLYWOOD]???
12 [color=DARK_KHAKI]??? [color=DARK_KHAKI]???
13 小男孩 小男孩
14 [color=INDIAN_RED]??? [color=INDIAN_RED]???
15 [color=AQUA]??? [color=AQUA]???
16 男孩 男孩
17 [color=POWDER_BLUE]陆仁 [color=POWDER_BLUE]陆仁

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,17 @@ const CANVAS_LAYER_HD_ENTITY = 1
const AUDIO_BUS_SFX = "game_sfx"
const CHARACTER_COLOR_MAP = {
"default": Color.LIGHT_SEA_GREEN,
"吕萍": Color.ORANGE,
"": Color.MEDIUM_SEA_GREEN,
# "": Color.MEDIUM_SPRING_GREEN,
"获得": Color.WHITE,
"小蝶": Color.YELLOW,
"王癞子": Color.AQUA,
}
signal current_selected_archive_id_changed
signal auto_save_seconds_changed

View File

@ -21,6 +21,11 @@ resources_spreadsheet_view/context_menu_on_leftclick=false
[application]
config/name="xiandie"
config/name_localized={
"en": "XianDie",
"zh_Hans": "衔蝶",
"zh_Hant": "衔蝶"
}
run/main_scene="res://scene/main.tscn"
config/features=PackedStringArray("4.3", "Mobile")
config/icon="res://icon.svg"
@ -46,8 +51,9 @@ DialogueManager="*res://addons/dialogue_manager/dialogue_manager.gd"
[dialogue_manager]
general/balloon_path="res://scene/dialog/balloon.tscn"
general/default_csv_locale="zh-Hans"
general/default_csv_locale="zh_Hans"
general/include_character_in_translation_exports=true
general/include_notes_in_translation_exports=true
[display]
@ -139,8 +145,10 @@ toggle_journal={
[internationalization]
locale/translations=PackedStringArray("res://asset/dialogue/item_description.en.translation", "res://asset/dialogue/c01.en.translation", "res://asset/dialogue/c02.en.translation", "res://asset/dialogue/c01.zh.translation", "res://asset/dialogue/c02.zh.translation", "res://asset/dialogue/item_description.zh.translation")
locale/translations=PackedStringArray("res://asset/dialogue/c01.en.translation", "res://asset/dialogue/c01.zh_Hans.translation", "res://asset/dialogue/c02.en.translation", "res://asset/dialogue/c02.zh_Hans.translation", "res://asset/dialogue/item_description.en.translation", "res://asset/dialogue/item_description.zh_Hans.translation", "res://asset/dialogue/names.en.translation", "res://asset/dialogue/names.zh_Hans.translation", "res://asset/dialogue/c02.zh.translation")
locale/translations_pot_files=PackedStringArray("res://asset/dialogue/item_description.dialogue", "res://asset/dialogue/c01.dialogue", "res://asset/dialogue/c02.dialogue")
locale/test="zh-Hans"
locale/fallback="zh"
[layer_names]

View File

@ -1,5 +1,13 @@
extends CanvasLayer
@export var force_locale :String:
set(val):
force_locale = val
if force_locale:
TranslationServer.set_locale(force_locale)
@export var auto_play := true
## The action to use for advancing the dialogue
@export var next_action: StringName = &"interact"
@ -41,19 +49,19 @@ var dialogue_line: DialogueLine:
character_label.visible = not dialogue_line.character.is_empty()
character_label.text = tr(dialogue_line.character, "dialogue")
#主要角色颜色
if dialogue_line.character == "吕萍:":
character_label.modulate = Color.ORANGE
elif dialogue_line.character == "获得":
var color = dialogue_line.get_tag_value("color")
if color:
character_label.modulate = Color.WHITE
elif dialogue_line.character == "小蝶:":
character_label.modulate = Color.YELLOW
elif dialogue_line.character == "王癞子":
character_label.modulate = Color.AQUA
character_label.text = "[color=" + color + "]" + character_label.text + "[/color]"
elif GlobalConfig.CHARACTER_COLOR_MAP.has(dialogue_line.character):
character_label.modulate = GlobalConfig.CHARACTER_COLOR_MAP[dialogue_line.character]
else:
character_label.modulate = Color.LIGHT_SEA_GREEN
character_label.modulate = GlobalConfig.CHARACTER_COLOR_MAP["default"]
#print(dialogue_line.character,character_label.modulate)
dialogue_label.hide()
_setup_content_text()
dialogue_label.dialogue_line = dialogue_line
responses_menu.hide()
@ -89,7 +97,8 @@ var dialogue_line: DialogueLine:
balloon.focus_mode = Control.FOCUS_ALL
balloon.grab_focus()
# if dialogue_line.time != "":
# 不管是否配置等待时长,都执行自动播放
# auto_play: 不管是否配置等待时长,都执行自动播放
if auto_play or dialogue_line.time:
if dialogue_line.time != "auto":
audio_time_len = dialogue_line.time.to_float()
if not audio_time_len:
@ -98,8 +107,6 @@ var dialogue_line: DialogueLine:
# var time = dialogue_line.text.length() * 0.2 if dialogue_line.time == "auto" else dialogue_line.time.to_float()
# await get_tree().create_timer(time).timeout
func _ready() -> void:
balloon.hide()
Engine.get_singleton("DialogueManager").mutated.connect(_on_mutated)
@ -109,11 +116,30 @@ func _ready() -> void:
responses_menu.next_action = next_action
# 自定义获得文本,从 tags 中获取备注参数
func _setup_content_text() -> void:
var translation_key = dialogue_line.translation_key
var text = tr(translation_key, "dialogue")
if text == translation_key:
text = dialogue_line.text
if dialogue_line.tags.has("shake"):
# eg. [shake rate=20 level=10][/shake]
text = "[shake rate=20 level=6]" + text + "[/shake]"
character_label.text = "[shake rate=20 level=6]" + character_label.text + "[/shake]"
if dialogue_line.tags.has("wave"):
# eg. [wave amp=25 freq=5][/wave]
text = "[wave amp=15 freq=5]" + text + "[/wave]"
character_label.text = "[wave amp=15 freq=5]" + character_label.text + "[/wave]"
if dialogue_line.tags.has("item"):
# orange color
text = "[color=orange]" + text + "[/color]"
dialogue_line.text = text
func _unhandled_input(_event: InputEvent) -> void:
# Only the balloon is allowed to handle input while it's showing
get_viewport().set_input_as_handled()
func _notification(what: int) -> void:
# Detect a change of locale and update the current dialogue line to show the new language
if what == NOTIFICATION_TRANSLATION_CHANGED and is_instance_valid(dialogue_label):
@ -122,7 +148,6 @@ func _notification(what: int) -> void:
if visible_ratio < 1:
dialogue_label.skip_typing()
## Start some dialogue
func start(dialogue_resource: DialogueResource, title: String, extra_game_states: Array = []) -> void:
temporary_game_states = [self] + extra_game_states
@ -130,15 +155,12 @@ func start(dialogue_resource: DialogueResource, title: String, extra_game_states
resource = dialogue_resource
self.dialogue_line = await resource.get_next_dialogue_line(title, temporary_game_states)
## Go to the next line
func next(next_id: String) -> void:
self.dialogue_line = await resource.get_next_dialogue_line(next_id, temporary_game_states)
#region Signals
func _on_mutated(_mutation: Dictionary) -> void:
is_waiting_for_input = false
will_hide_balloon = true
@ -171,9 +193,7 @@ func _on_balloon_gui_input(event: InputEvent) -> void:
# if event.is_action_pressed("interact") and get_viewport().gui_get_focus_owner() == balloon:
next(dialogue_line.next_id)
func _on_responses_menu_response_selected(response: DialogueResponse) -> void:
next(response.next_id)
#endregion

View File

@ -59,6 +59,8 @@ Panel/styles/panel = SubResource("StyleBoxEmpty_jydvi")
[node name="Balloon" type="CanvasLayer"]
layer = 100
script = ExtResource("1_36de5")
force_locale = "zh"
auto_play = false
metadata/_edit_vertical_guides_ = [-78.0]
metadata/_edit_horizontal_guides_ = [276.0]
@ -106,6 +108,7 @@ alignment = 1
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Container"]
unique_name_in_owner = true
clip_contents = false
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
@ -132,10 +135,6 @@ theme_override_constants/shadow_offset_x = 1
theme_override_font_sizes/normal_font_size = 9
text = "Dialogue..."
autowrap_mode = 0
skip_action = &""
seconds_per_step = 0.05
pause_at_characters = ".?!。?!;,,"
seconds_per_pause_step = 0.15
[node name="Responses" type="MarginContainer" parent="Balloon"]
layout_mode = 1

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=54 format=3 uid="uid://fwfr0b2sylwx"]
[ext_resource type="Script" path="res://scene/little_game/书架.gd" id="1_8af23"]
[ext_resource type="AudioStream" uid="uid://bxfm22t1rj2cq" path="res://asset/audio/sfx/ui/收起纸条.mp3" id="2_glfpo"]
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/ux/sfx.tscn" id="3_03tyv"]
[ext_resource type="AudioStream" uid="uid://bpdot5dxm6vwi" path="res://asset/audio/sfx/ui/挂画查看.mp3" id="3_elhhm"]
[ext_resource type="AudioStream" uid="uid://b1fu8x6yonjgx" path="res://asset/audio/sfx/ui/物品查看.mp3" id="4_0ihy7"]
[ext_resource type="Texture2D" uid="uid://sl60ixmks0pi" path="res://asset/art/little_game/书架/书架框.png" id="5_i131t"]
[ext_resource type="Texture2D" uid="uid://1fpafer5flqw" path="res://asset/art/little_game/书架/合并.png" id="6_pxxx5"]
@ -209,7 +209,7 @@ stream = ExtResource("3_elhhm")
file = "挂画查看.mp3"
[node name="SfxSelect" parent="." instance=ExtResource("3_03tyv")]
stream = ExtResource("2_glfpo")
stream = ExtResource("4_0ihy7")
file = "物品查看.mp3"
[node name="Shelf" type="Sprite2D" parent="."]