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 )