Combine wrench with caja_herramientas and give to Eneko

This commit is contained in:
2023-03-09 13:29:38 +01:00
parent 1445f1db78
commit 41496f5d52
5 changed files with 17 additions and 14 deletions

View File

@@ -6,5 +6,11 @@ say current_player "Podria ser util!!"
set_active caja_herramientas false
inventory_add caja_herramientas
:action3 wrench
say current_player "Parece buen sitio para guardarla"
inventory_remove wrench
set_global caja_herramientas_with_wrench true
:action3
say current_player "Hay de too!"
say current_player "Hay de too!" [caja_herramientas_with_wrench]
say current_player "Está vacía" [!caja_herramientas_with_wrench]

View File

@@ -20,6 +20,10 @@ action1_text = "¿Que es esto?"
action2_text = "Coger"
action3_text = "Mirar dentro"
action4_text = "Usar"
action3_target_texts = {
"wrench": "Guardarla en la caja"
}
target_when_selected_action_is_in = [ "action3" ]
animations = null
[node name="Sprite" type="Sprite" parent="."]

View File

@@ -16,7 +16,7 @@ action1_text = "¿Que es esto?"
action2_text = "Coger"
action3_text = "¿Que es esto?"
action4_text = "Usar"
combine_when_selected_action_is_in = PoolStringArray( "use" )
combine_when_selected_action_is_in = [ "action4" ]
use_from_inventory_only = true
inventory_texture = ExtResource( 1 )
dialog_color = Color( 1, 1, 1, 1 )

View File

@@ -2,22 +2,11 @@
say player "Parece que veo a Mikel"
:action2
#say player "Esta cerrada por dentro."
play_snd res://game/sfx/sounds/doorOpen_2.ogg
change_scene "res://gymkhana/rooms/interior_cocina/interior_cocina.tscn"
:action3 bombona2
say player "He usado la 'bombona' con la puerta"
# > [eq r5_dialog_advance 2]
# say player "I already fixed the water leak."
# stop
# accept_input SKIP
# set_state r5_pipe stop_water
# set_global r5_pipe_broken false
# say player "The leak's now fixed."
# set_global r5_dialog_advance 2
# accept_input ALL
:action4 bombona2
say player "No creo que les haga gracia"

View File

@@ -45,7 +45,11 @@ set_global loom_conversation_done false
#set_gui_visible true
:action3 caja_herramientas
say eneko_smoking "No quiero una caja vacía"
> [caja_herramientas_with_wrench]
inventory_remove caja_herramientas
say eneko_smoking "Gracias majo!"
stop
say eneko_smoking "No quiero una caja vacía" [!caja_herramientas_with_wrench]
:action3 bombona2
> [eq bombona2_offered 1]