despensa
This commit is contained in:
6
gymkhana/items/inventory/turno_cocina_bol_inventario.esc
Normal file
6
gymkhana/items/inventory/turno_cocina_bol_inventario.esc
Normal file
@@ -0,0 +1,6 @@
|
||||
:action1
|
||||
say player "Que cosa tan curiosa"
|
||||
|
||||
:action2
|
||||
say player "No lo quiero coger"
|
||||
|
||||
34
gymkhana/items/inventory/turno_cocina_bol_inventario.tscn
Normal file
34
gymkhana/items/inventory/turno_cocina_bol_inventario.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=5 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_bol_inventario.png" type="Texture" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 22.5, 12.5 )
|
||||
|
||||
[node name="turno_cocina_bol_inventario" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "turno_cocina_bol_inventario"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_bol_inventario.esc"
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
action1_text = "¿Que es esto?"
|
||||
action2_text = "Coger"
|
||||
action3_text = "Mirar"
|
||||
action4_text = "Usar"
|
||||
animations = null
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -2, 0 )
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -1.5, -0.5 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="ESCLocation" type="Position2D" parent="."]
|
||||
position = Vector2( -51, 69 )
|
||||
script = ExtResource( 3 )
|
||||
@@ -1,6 +1,13 @@
|
||||
:action1
|
||||
say player "Que cosa tan curiosa"
|
||||
say player "Hay una patata!"
|
||||
|
||||
:action2
|
||||
say player "No lo quiero coger"
|
||||
say current_player "Bieeen!!! una patata!"
|
||||
set_active turno_cocina_patata_grande false
|
||||
inventory_add turno_cocina_patata_grande
|
||||
|
||||
:action3
|
||||
say current_player "Es bien grande"
|
||||
|
||||
:action4
|
||||
say current_player "Así no me sirve de nada"
|
||||
@@ -1,17 +1,17 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
[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_patata_grande.png" type="Texture" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 22.5, 12.5 )
|
||||
extents = Vector2( 40.5, 60.5 )
|
||||
|
||||
[node name="turno_cocina_patata_grande" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "turno_cocina_patata_grande"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_patata_grande.esc"
|
||||
combine_when_selected_action_is_in = [ ]
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
action1_text = "¿Que es esto?"
|
||||
@@ -20,15 +20,6 @@ action3_text = "Mirar"
|
||||
action4_text = "Usar"
|
||||
animations = null
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -2, 0 )
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -1.5, -0.5 )
|
||||
position = Vector2( -2.5, 4 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="ESCLocation" type="Position2D" parent="."]
|
||||
position = Vector2( -51, 69 )
|
||||
script = ExtResource( 3 )
|
||||
@@ -0,0 +1,6 @@
|
||||
:action3
|
||||
say player "Con esto la clavo con el peso"
|
||||
|
||||
:action4
|
||||
say player "Usar"
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=5 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_peso_bol_inventario.png" type="Texture" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 22.5, 12.5 )
|
||||
|
||||
[node name="turno_cocina_peso_bol_inventario" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "turno_cocina_peso_bol_inventario"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_peso_bol_inventario.esc"
|
||||
combine_when_selected_action_is_in = [ "action4" ]
|
||||
target_when_selected_action_is_in = [ "action3" ]
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
action1_text = "¿Que es esto?"
|
||||
action2_text = "Coger"
|
||||
action3_text = "Mirar"
|
||||
action4_text = "Usar"
|
||||
animations = null
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -2, 0 )
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -1.5, -0.5 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="ESCLocation" type="Position2D" parent="."]
|
||||
position = Vector2( -51, 69 )
|
||||
script = ExtResource( 3 )
|
||||
@@ -0,0 +1,6 @@
|
||||
:action1
|
||||
say player "Que cosa tan curiosa"
|
||||
|
||||
:action2
|
||||
say player "No lo quiero coger"
|
||||
|
||||
34
gymkhana/items/inventory/turno_cocina_peso_inventario.tscn
Normal file
34
gymkhana/items/inventory/turno_cocina_peso_inventario.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=5 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_peso_inventario.png" type="Texture" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 22.5, 12.5 )
|
||||
|
||||
[node name="turno_cocina_peso_inventario" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "turno_cocina_peso_inventario"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_peso_inventario.esc"
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
action1_text = "¿Que es esto?"
|
||||
action2_text = "Coger"
|
||||
action3_text = "Mirar"
|
||||
action4_text = "Usar"
|
||||
animations = null
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -2, 0 )
|
||||
scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -1.5, -0.5 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="ESCLocation" type="Position2D" parent="."]
|
||||
position = Vector2( -51, 69 )
|
||||
script = ExtResource( 3 )
|
||||
Reference in New Issue
Block a user