Merge branch 'gymkhana/main' of git.fosil.eu:gymkhana/gymkhana into gymkhana/main

This commit is contained in:
2023-08-27 03:31:27 +02:00
6 changed files with 30 additions and 74 deletions

View File

@@ -1,71 +0,0 @@
:action1
say current_player "Tiene pinta de que fuma"
:action2
> [whatsapp_blocked]
say current_player "Hola..."
say current_player "No me escucha, parece que me tiene bloqueado"
stop
set_global loom_conversation_done false
#set_gui_visible false
#turn_to eneko_smoking player
?
- "Quien eres tu?"
say current_player "Quien eres tu?"
say eneko_smoking "Soy Eneko" [!name_known]
say eneko_smoking "Ya te he dicho mi nombre!!" [name_known]
say eneko_smoking "NO PREGUNTES" [name_known]
say eneko_smoking "NI ME CONTACTES POR WHATSAPP O TE BLOQUEARE" [name_known]
set_global name_known true
- "Que haces?"
say current_player "Que haces aqui?"
say eneko_smoking "Fumar"
say eneko_smoking "no lo ves?"
# This starts an inner subset of questions
- "Can I ask you about Loom?" [!loom_conversation_done]
say current_player "What do you know about Loom?"
say eneko_smoking "What do you want to know about Loom?"
?
- "Could it be created in Escoria?" [!loom_conversation_done]
say player "Could Loom be created in Escoria?"
say eneko_smoking "Yes!"
- "Is it a fun game?" [!loom_conversation_done, !fun_game_asked]
say player "Is Loom a fun game?"
say eneko_smoking "Yes!"
set_global fun_game_asked true
- "I don't want to talk at all any more." [!loom_conversation_done]
#turn_to eneko_smoking worker_face_down
stop
# This will take you back to the outer set of questions
- "I know enough about Loom." [!loom_conversation_done]
set_global loom_conversation_done true
!
- "Agur"
say player "Agur yogur!"
#turn_to eneko_smoking player
stop
!
#set_gui_visible true
:action3 caja_herramientas
> [caja_herramientas_with_wrench]
inventory_remove caja_herramientas
say eneko_smoking "Gracias majo!"
say eneko_smoking "Te voy a desbloquear de whatsapp" [whatsapp_blocked]
set_global whatsapp_blocked false
stop
say eneko_smoking "No quiero una caja vacía" [!caja_herramientas_with_wrench]
:action3 bombona2
> [eq bombona2_offered 1]
say eneko_smoking "¡No vuelvas a hacerlo, es peligroso!"
set_global bombona2_offered 2
stop
> [eq bombona2_offered 2]
say eneko_smoking "¡SE ACABÓ, TE HE BLOQUEADO EN WHATSAPP!"
set_global whatsapp_blocked true
stop
say eneko_smoking "¿Estás loco? ¿No ves que estoy fumando?"
set_global bombona2_offered 1

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=2]
@@ -7,6 +7,7 @@
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=6]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/depth.png" type="Texture" id=7]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking.tscn" type="PackedScene" id=8]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( -768, 301, -1163, 462, -1161, 358, -532, 166, 36, 211, 193, 193, 175, 286, -86, 216, -236, 229, -87, 153, 22, 154, -360, 166 )
@@ -96,3 +97,21 @@ polygon = PoolVector2Array( 5.19019, 470.886, 6.22815, 359.494, -67.472, 360.506
position = Vector2( 1131, 460 )
script = ExtResource( 5 )
global_id = "puerta_detras_start"
[node name="EnekoSmoking" parent="." instance=ExtResource( 8 )]
position = Vector2( 813, 440 )
tooltip_name = "Objervar sujeto"
dialog_color = Color( 0, 1, 0.462745, 1 )
action1_text = "Objervar sujeto"
action2_text = "Hablar"
action3_target_texts = {
"bombona2": "Toma, un regalo",
"caja_herramientas": "Regalar"
}
target_when_selected_action_is_in = [ "action3" ]
selectable = true
[node name="ESCLocation" type="Position2D" parent="EnekoSmoking"]
position = Vector2( -44, 82 )
script = ExtResource( 5 )
global_id = "eneko_smoking"

View File

@@ -178,6 +178,7 @@ dialog_color = Color( 1, 1, 1, 1 )
action1_text = "Mirar dentro"
action2_text = "Coger"
action3_target_texts = {
"turno_cocina_bol": "Coger lentejas a ojo",
"turno_cocina_peso_bol": "Coger las lentejas exactas"
}
target_when_selected_action_is_in = [ "action3" ]

View File

@@ -4,8 +4,11 @@
:action2
say player "Necesito cogerlas con algo."
:action3 turno_cocina_bol
say player "No quiero hacer lentejas para un ejercito, debería coger la cantidad justa."
:action3 turno_cocina_peso_bol
say player "Con esto suficiente"
say player "Con esto suficiente."
inventory_remove turno_cocina_peso_bol
inventory_add turno_cocina_bol_lentejas
inventory_add turno_cocina_peso