Se nos viene la olla
This commit is contained in:
2
gymkhana/items/inventory/turno_cocina_olla_llena.esc
Normal file
2
gymkhana/items/inventory/turno_cocina_olla_llena.esc
Normal file
@@ -0,0 +1,2 @@
|
||||
:action3
|
||||
say player "Está llena de agua."
|
||||
29
gymkhana/items/inventory/turno_cocina_olla_llena.tscn
Normal file
29
gymkhana/items/inventory/turno_cocina_olla_llena.tscn
Normal file
@@ -0,0 +1,29 @@
|
||||
[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_olla_inv_con_agua.png" type="Texture" id=2]
|
||||
|
||||
[node name="turno_cocina_olla_llena" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "turno_cocina_olla_llena"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_olla_llena.esc"
|
||||
combine_when_selected_action_is_in = [ "action4" ]
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
tooltips = {
|
||||
"action1": "Mirar dentro",
|
||||
"action3": "Mirar",
|
||||
"action4": "Poner encima de la económica"
|
||||
}
|
||||
action4_target_texts = {
|
||||
"turno_cocina_ajo": "Echar en la olla.",
|
||||
"turno_cocina_bol_lentejas": "Echar en la olla.",
|
||||
"turno_cocina_patata": "Echar en la olla.",
|
||||
"turno_cocina_romero": "Echar en la olla."
|
||||
}
|
||||
target_when_selected_action_is_in = [ "action4" ]
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PoolVector2Array( -18, -4, -5, 18, 17, 4, 20, -13, -12, -29 )
|
||||
12
gymkhana/items/inventory/turno_cocina_olla_vacia.esc
Normal file
12
gymkhana/items/inventory/turno_cocina_olla_vacia.esc
Normal file
@@ -0,0 +1,12 @@
|
||||
:action1
|
||||
say player "Una olla estupenda para hacer lentejas."
|
||||
|
||||
:action2
|
||||
say current_player "Podria ser útil!!"
|
||||
set_active turno_cocina_olla_vacia false
|
||||
inventory_add turno_cocina_olla_vacia
|
||||
|
||||
:action3
|
||||
say player "Está vacia."
|
||||
|
||||
|
||||
27
gymkhana/items/inventory/turno_cocina_olla_vacia.tscn
Normal file
27
gymkhana/items/inventory/turno_cocina_olla_vacia.tscn
Normal file
@@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=4 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_olla_inv_vacia.png" type="Texture" id=2]
|
||||
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_olla.png" type="Texture" id=3]
|
||||
|
||||
[node name="turno_cocina_olla_vacia" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "turno_cocina_olla_vacia"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_olla_vacia.esc"
|
||||
combine_when_selected_action_is_in = [ "action4" ]
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
tooltips = {
|
||||
"action1": "Mirar",
|
||||
"action2": "Coger",
|
||||
"action3": "Mirar",
|
||||
"action4": "Llenar de agua"
|
||||
}
|
||||
animations = null
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PoolVector2Array( -59, 41, -59, -44, -63, -48, -62, -52, -59, -54, -49, -58, -34, -60, -16, -62, 1, -61, 21, -60, 44, -57, 57, -53, 61, -47, 58, -41, 56, -29, 62, -29, 64, -27, 58, -25, 56, -21, 53, 33, 50, 44, 44, 52, 33, 55, 12, 59, -12, 59, -40, 56, -54, 50 )
|
||||
Reference in New Issue
Block a user