feat: Oier does not speak to Eneko at startup, now the game has no story and is very boring

fix: remember picked items to avoid appering in scene again
fix: counting potatoes
This commit is contained in:
2023-10-06 00:08:33 +02:00
parent a857d326ce
commit d1fc5995d4
16 changed files with 32 additions and 138 deletions

View File

@@ -1,6 +0,0 @@
:action1
say player "Que cosa tan curiosa"
:action2
say player "No lo quiero coger"

View File

@@ -1,36 +0,0 @@
[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_cuatro_patatas.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_cuatro_patatas" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "turno_cocina_cuatro_patatas"
esc_script = "res://gymkhana/items/inventory/turno_cocina_cuatro_patatas.esc"
inventory_texture = ExtResource( 2 )
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "¿Que es esto?",
"action2": "Coger",
"action3": "Mirar",
"action4": "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 )

View File

@@ -1,6 +0,0 @@
:action1
say player "Que cosa tan curiosa"
:action2
say player "No lo quiero coger"

View File

@@ -1,36 +0,0 @@
[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_dos_patatas.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_dos_patatas" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "turno_cocina_dos_patatas"
esc_script = "res://gymkhana/items/inventory/turno_cocina_dos_patatas.esc"
inventory_texture = ExtResource( 2 )
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "¿Que es esto?",
"action2": "Coger",
"action3": "Mirar",
"action4": "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 )

View File

@@ -1,3 +1,3 @@
:action3
say player "Tengo que conseguir tres patatas más." [eq turno_cocina_patata 1]
say player "Ya tengo {turno_cocina_patata} patatas!" [!eq turno_cocina_patata 1]
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]

View File

@@ -4,6 +4,7 @@ say player "Solo veo pieles de cebollas."
:action2
say current_player "Bieeen!!! Había una patata!"
set_active turno_cocina_patata_grande false
set_global turno_cocina_patata_grande_picked true
inventory_add turno_cocina_patata_grande
:action3

View File

@@ -1,6 +0,0 @@
:action1
say player "Que cosa tan curiosa"
:action2
say player "No lo quiero coger"

View File

@@ -1,36 +0,0 @@
[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_tres_patatas.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_tres_patatas" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "turno_cocina_tres_patatas"
esc_script = "res://gymkhana/items/inventory/turno_cocina_tres_patatas.esc"
inventory_texture = ExtResource( 2 )
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "¿Que es esto?",
"action2": "Coger",
"action3": "Mirar",
"action4": "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 )