feat: potatoes!

This commit is contained in:
2023-10-26 23:43:36 +02:00
parent 8138d3055b
commit 68f68357a6
8 changed files with 32 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,3 +1,9 @@
:action3
say player "Tengo que conseguir tres patatas más." [eq count/turno_cocina_patata 1]
say player "Ya tengo {count/turno_cocina_patata} patatas!" [!eq count/turno_cocina_patata 1]
:action3 turno_cocina_cuchillo
say current_player "No pienso pelarlas, son de la huerta."
:action4 turno_cocina_cuchillo
say current_player "La receta no dice nada de cortarlas, supongo que enteras estarán más ricas."

View File

@@ -17,6 +17,13 @@ dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action3": "Contar las patatas",
}
action3_target_texts = {
"turno_cocina_cuchillo": "Pelar patatas"
}
action4_target_texts = {
"turno_cocina_cuchillo": "Trocear patatas"
}
target_when_selected_action_is_in = [ "action3", "action4" ]
animations = null
count_textures = [
{ "start": 1, "texture": "res://gymkhana/items/inventory/assets/turno_cocina_patata.png" },

View File

@@ -1,8 +1,9 @@
:action1
say player "Solo veo pieles de cebollas."
say current_player "Solo veo pieles de cebollas."
:action2
say current_player "Bieeen!!! Había una patata!"
say current_player "Creo que es demasiado grande, no sé si me valdrá."
set_active turno_cocina_patata_grande false
set_global turno_cocina_patata_grande_picked true
inventory_add turno_cocina_patata_grande
@@ -11,10 +12,15 @@ inventory_add turno_cocina_patata_grande
say current_player "Es la segunda patata más grande que he visto nunca."
:action3 turno_cocina_cuchillo
inventory_add turno_cocina_patata
item_count_add turno_cocina_patata 2
inventory_remove turno_cocina_patata_grande
say current_player "Toma ya, ahora son dos patatas!"
say current_player "Quieres que pele la patata? Pero sí la piel es dónde más vitaminas hay!"
:action4
say current_player "Creo que necesito patatas normales, no patatas gigantes..."
:action4 turno_cocina_cuchillo
inventory_add turno_cocina_patata
item_count_add turno_cocina_patata 2
inventory_remove turno_cocina_patata_grande
say current_player "Tenía una patata demasiado grande y ahora tengo dos patatas perfectas." [eq count/turno_cocina_patata 2]
say current_player "Soy más listo que el hambre." [eq count/turno_cocina_patata 2]
say current_player "Ya tengo {count/turno_cocina_patata} patatas!" [!eq count/turno_cocina_patata 2]

View File

@@ -13,6 +13,9 @@ inventory_texture = ExtResource( 2 )
dialog_color = Color( 1, 1, 1, 1 )
animations = null
action3_target_texts = {
"turno_cocina_cuchillo": "Pelar la patata"
}
action4_target_texts = {
"turno_cocina_cuchillo": "Partir la patata en dos"
}
target_when_selected_action_is_in = [ "action3" ]
target_when_selected_action_is_in = [ "action3", "action4" ]