Disable items in cocina intro. PENDING RE-ENABLING THEM!

This commit is contained in:
2024-01-28 14:17:59 +01:00
parent d7d97d1440
commit 3d6545ad79
3 changed files with 21 additions and 2 deletions

View File

@@ -480,3 +480,9 @@ func get_video_player() -> Node:
func play_video(video_file: String) -> void:
$CanvasLayer/video_player.visible = true
$CanvasLayer/video_player.play(video_file)
# Clears the tooltip content (if an ESCTooltip node exists in UI)
# MODIFIED FOR RTMIUI
func clear_tooltip():
if tooltip_node != null:
(tooltip_node as ESCRichTooltip).clear()

View File

@@ -323,7 +323,7 @@ scale = Vector2( 1.06318, 1.06318 )
tooltips = {
"action1": "Mirar",
"action2": "Coger",
"action3": "Mirar"
"action3": "Leer"
}
[node name="ESCLocation" type="Position2D" parent="turno_cocina_libro_de_cocina"]

View File

@@ -34,7 +34,20 @@ set_active turno_cocina_economica false [turno_cocina_economica_con_olla]
:ready
> [!cocina_intro_played]
set_global cocina_intro_played true
set_active turno_cocina_economica false
set_interactive turno_cocina_peso false
set_active turno_cocina_cocina_gas false
set_active turno_cocina_bol false
set_interactive turno_cocina_carton false
set_active cocina_cuchillos false
set_active cocina_fregadero_izq false
set_active cocina_fregadero_der false
set_active cocina_puerta_delante false
set_active cocina_puerta_detras false
set_interactive cocina_patata false
set_active cocina_debajo_sofa false
accept_input SKIP
set_angle player 180
say player "Debo hacer algo de comer"
say player "No se me ocurre ningún plato, debería buscar un libro de recetas."
say player "Si mantienes MAYÚSCULAS pulsado los objetos con los que puedes interactuar aparecerán marcados."
accept_input ALL