Compare commits

...

2 Commits

4 changed files with 37 additions and 4 deletions

View File

@@ -117,6 +117,8 @@ func say(character: String, line: String) :
_current_line = line
show()
# Hide in case the same box is used
%ClickToContinueTip.visible = false
_is_speeding_up = false
@@ -231,6 +233,8 @@ func _on_dialog_finished():
var click_to_continue = custom_setings[RTMISimpleDialogSettings.CLEAR_TEXT_BY_CLICK_ONLY_KEY] if custom_setings.has(RTMISimpleDialogSettings.CLEAR_TEXT_BY_CLICK_ONLY_KEY) else false
if not click_to_continue:
say_finished.emit()
else:
%ClickToContinueTip.visible = true
# Handler managing pause notification from Escoria

View File

@@ -1,8 +1,12 @@
[gd_scene load_steps=4 format=3 uid="uid://cp75ofyuetxux"]
[gd_scene load_steps=7 format=3 uid="uid://cp75ofyuetxux"]
[ext_resource type="Script" uid="uid://d12nyx86nlc6h" path="res://addons/escoria-ui-return-monkey-island-dialog-simple/types/floating.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://cn1fjp4q7b5e0" path="res://addons/escoria-ui-return-monkey-island/cursors/rounded_mouse_left.png" id="2_4itiw"]
[ext_resource type="Theme" uid="uid://dvwfrnya2nhxu" path="res://addons/escoria-ui-return-monkey-island-dialog-simple/theme/dialog.tres" id="2_7uovn"]
[ext_resource type="Theme" uid="uid://dlo07cyfhpilq" path="res://addons/escoria-ui-return-monkey-island-dialog-simple/theme.tres" id="2_f1tsx"]
[ext_resource type="Theme" uid="uid://bf2eet52fueam" path="res://addons/escoria-ui-return-monkey-island/theme/ui.tres" id="3_xhqtt"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4itiw"]
[node name="dialog_box" type="Window"]
transparent_bg = true
@@ -31,7 +35,11 @@ theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15
[node name="text_node" type="RichTextLabel" parent="PanelContainer/MarginContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 20
[node name="text_node" type="RichTextLabel" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
clip_contents = false
layout_mode = 2
@@ -43,3 +51,23 @@ fit_content = true
scroll_active = false
autowrap_mode = 2
justification_flags = 171
[node name="ClickToContinueTip" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="icon" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/ClickToContinueTip"]
position = Vector2(1, 8)
scale = Vector2(0.583333, 0.583333)
texture = ExtResource("2_4itiw")
offset = Vector2(-28, 1)
[node name="label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/ClickToContinueTip"]
layout_mode = 2
theme = ExtResource("3_xhqtt")
theme_override_font_sizes/font_size = 12
theme_override_styles/normal = SubResource("StyleBoxEmpty_4itiw")
text = "CLICK_TO_CONTINUE_TIP"

View File

@@ -6,8 +6,8 @@
:action2
if cocina_delante_catando:
if not $turno_cocina_pegatina in inventory:
inventory_add($turno_cocina_pegatina)
if not $turno_cocina_pegatina_picked:
inventory_add("turno_cocina_pegatina")
say($player, "Soy más listo que el hambre.", "cocina_delante_pegatinas_action2_done")
stop
else:

View File

@@ -22,3 +22,4 @@ YES,Yes,Oui,Ja,Sí
NO,No,Non,Nein,No
CLICK_TO_CONTINUE,Click to continue dialog,,,Click para avanzar dialogos
VIDEO_SUBTITLES,Show subtitles,,,Mostrar subtítulos
CLICK_TO_CONTINUE_TIP,Click to continue,,,Click para avanzar
1 keys en fr de es
22 NO No Non Nein No
23 CLICK_TO_CONTINUE Click to continue dialog Click para avanzar dialogos
24 VIDEO_SUBTITLES Show subtitles Mostrar subtítulos
25 CLICK_TO_CONTINUE_TIP Click to continue Click para avanzar