Cutting the big potato
This commit is contained in:
BIN
gymkhana/items/inventory/assets/turno_cocina_ajo.png
Normal file
BIN
gymkhana/items/inventory/assets/turno_cocina_ajo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 856 B |
BIN
gymkhana/items/inventory/assets/turno_cocina_cacerola.png
Normal file
BIN
gymkhana/items/inventory/assets/turno_cocina_cacerola.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
gymkhana/items/inventory/assets/turno_cocina_cuchillo.png
Normal file
BIN
gymkhana/items/inventory/assets/turno_cocina_cuchillo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
2
gymkhana/items/inventory/turno_cocina_cuchillo.esc
Normal file
2
gymkhana/items/inventory/turno_cocina_cuchillo.esc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
:action3
|
||||||
|
say player "Tiene una inscripción: \"Para Uli-Alto de parte de Tronceda\"."
|
||||||
18
gymkhana/items/inventory/turno_cocina_cuchillo.tscn
Normal file
18
gymkhana/items/inventory/turno_cocina_cuchillo.tscn
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_cuchillo.png" type="Texture" id=2]
|
||||||
|
|
||||||
|
[node name="turno_cocina_cuchillo" type="Area2D"]
|
||||||
|
pause_mode = 1
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
global_id = "turno_cocina_cuchillo"
|
||||||
|
esc_script = "res://gymkhana/items/inventory/turno_cocina_cuchillo.esc"
|
||||||
|
combine_when_selected_action_is_in = [ "action4" ]
|
||||||
|
inventory_texture = ExtResource( 2 )
|
||||||
|
dialog_color = Color( 1, 1, 1, 1 )
|
||||||
|
animations = null
|
||||||
|
tooltips = {
|
||||||
|
"action3": "Mirar",
|
||||||
|
"action4": "Usar",
|
||||||
|
}
|
||||||
@@ -9,5 +9,11 @@ inventory_add turno_cocina_patata_grande
|
|||||||
:action3
|
:action3
|
||||||
say current_player "Es la segunda patata más grande que he visto nunca."
|
say current_player "Es la segunda patata más grande que he visto nunca."
|
||||||
|
|
||||||
|
:action3 turno_cocina_cuchillo
|
||||||
|
item_count_add turno_cocina_patata 2
|
||||||
|
inventory_add turno_cocina_patata
|
||||||
|
inventory_remove turno_cocina_patata_grande
|
||||||
|
say current_player "Toma ya, ahora son dos patatas!"
|
||||||
|
|
||||||
:action4
|
:action4
|
||||||
say current_player "Creo que necesito patatas normales, no patatas gigantes..."
|
say current_player "Creo que necesito patatas normales, no patatas gigantes..."
|
||||||
|
|||||||
@@ -12,3 +12,7 @@ combine_when_selected_action_is_in = [ ]
|
|||||||
inventory_texture = ExtResource( 2 )
|
inventory_texture = ExtResource( 2 )
|
||||||
dialog_color = Color( 1, 1, 1, 1 )
|
dialog_color = Color( 1, 1, 1, 1 )
|
||||||
animations = null
|
animations = null
|
||||||
|
action3_target_texts = {
|
||||||
|
"turno_cocina_cuchillo": "Partir la patata en dos"
|
||||||
|
}
|
||||||
|
target_when_selected_action_is_in = [ "action3" ]
|
||||||
|
|||||||
@@ -173,6 +173,27 @@ polygon = PoolVector2Array( 1800, 276, 1804, 280, 1895, 273, 1883, 266, 1863, 26
|
|||||||
position = Vector2( 1800, 300 )
|
position = Vector2( 1800, 300 )
|
||||||
script = ExtResource( 5 )
|
script = ExtResource( 5 )
|
||||||
|
|
||||||
|
[node name="cuchillos" type="Area2D" parent="."]
|
||||||
|
pause_mode = 1
|
||||||
|
script = ExtResource( 6 )
|
||||||
|
global_id = "cocina_cuchillos"
|
||||||
|
esc_script = "res://gymkhana/rooms/turno_cocina/cocina/esc/cuchillos.esc"
|
||||||
|
combine_when_selected_action_is_in = [ ]
|
||||||
|
dialog_color = Color( 1, 1, 1, 1 )
|
||||||
|
tooltips = {
|
||||||
|
"action1": "Contar los cuchillos",
|
||||||
|
"action2": "Coger un buen cuchillo"
|
||||||
|
}
|
||||||
|
animations = null
|
||||||
|
|
||||||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="cuchillos"]
|
||||||
|
position = Vector2( 1452, -245 )
|
||||||
|
polygon = PoolVector2Array( 469, 375, 454, 391, 508, 399, 530, 385 )
|
||||||
|
|
||||||
|
[node name="ESCLocation" type="Position2D" parent="cuchillos"]
|
||||||
|
position = Vector2( 1987, 370 )
|
||||||
|
script = ExtResource( 5 )
|
||||||
|
|
||||||
[node name="debajo_sofa" type="Area2D" parent="."]
|
[node name="debajo_sofa" type="Area2D" parent="."]
|
||||||
pause_mode = 1
|
pause_mode = 1
|
||||||
script = ExtResource( 6 )
|
script = ExtResource( 6 )
|
||||||
|
|||||||
12
gymkhana/rooms/turno_cocina/cocina/esc/cuchillos.esc
Normal file
12
gymkhana/rooms/turno_cocina/cocina/esc/cuchillos.esc
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
:action1
|
||||||
|
say player "Uno, dos, tres, cuatro, cinco, seis, siete, ocho, nueve, diez y once." [!turno_cocina_cuchillo_en_inventario]
|
||||||
|
say player "Uno, dos, tres, cuatro, cinco, seis, siete, ocho, nueve, diez y once." [turno_cocina_cuchillo_en_inventario]
|
||||||
|
say player "Que raro, sigue habiendo once cuchillos." [turno_cocina_cuchillo_en_inventario]
|
||||||
|
|
||||||
|
:action2
|
||||||
|
> [turno_cocina_cuchillo_en_inventario]
|
||||||
|
say player "¿Qué puedo hacer con dos cuchillos que no pueda hacer con solo uno?"
|
||||||
|
stop
|
||||||
|
say player "Este parece bien afilado."
|
||||||
|
set_global turno_cocina_cuchillo_en_inventario true
|
||||||
|
inventory_add turno_cocina_cuchillo
|
||||||
Reference in New Issue
Block a user