eneko
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
[gd_scene load_steps=21 format=2]
|
||||
|
||||
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
|
||||
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-011.png" type="Texture" id=3]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-005.png" type="Texture" id=4]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-002.png" type="Texture" id=5]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-003.png" type="Texture" id=6]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-001.png" type="Texture" id=7]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-010.png" type="Texture" id=8]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-016.png" type="Texture" id=9]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-009.png" type="Texture" id=10]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-008.png" type="Texture" id=11]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-012.png" type="Texture" id=12]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-013.png" type="Texture" id=13]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-004.png" type="Texture" id=14]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-006.png" type="Texture" id=15]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-007.png" type="Texture" id=16]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-015.png" type="Texture" id=17]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-014.png" type="Texture" id=18]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 7 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 14 ), ExtResource( 4 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 11 ), ExtResource( 10 ), ExtResource( 8 ), ExtResource( 3 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 18 ), ExtResource( 17 ), ExtResource( 9 ) ],
|
||||
"loop": true,
|
||||
"name": "idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 7 ) ],
|
||||
"loop": true,
|
||||
"name": "speak",
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 103.0
|
||||
height = 238.0
|
||||
|
||||
[node name="ESCPlayerWithTooltip" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 2 )
|
||||
global_id = "eneko_smoking"
|
||||
esc_script = "res://gymkhana/characters/eneko/eneko_smoking.esc"
|
||||
is_movable = true
|
||||
default_action = "action1"
|
||||
combine_when_selected_action_is_in = [ ]
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = ExtResource( 1 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( 32.625, -50.56 )
|
||||
scale = Vector2( 1.71167, 1.71167 )
|
||||
frames = SubResource( 1 )
|
||||
animation = "idle"
|
||||
flip_h = true
|
||||
|
||||
[node name="dialog_position" type="Position2D" parent="."]
|
||||
position = Vector2( -1, -223 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 26, -42 )
|
||||
shape = SubResource( 2 )
|
||||
71
gymkhana/characters/eneko/eneko_smoking.esc
Normal file
71
gymkhana/characters/eneko/eneko_smoking.esc
Normal file
@@ -0,0 +1,71 @@
|
||||
: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
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=21 format=2]
|
||||
[gd_scene load_steps=20 format=2]
|
||||
|
||||
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
|
||||
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2]
|
||||
@@ -32,15 +32,11 @@ animations = [ {
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 103.0
|
||||
height = 238.0
|
||||
|
||||
[node name="ESCPlayerWithTooltip" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 2 )
|
||||
global_id = "eneko_smoking"
|
||||
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/p_eneko_smoking.esc"
|
||||
esc_script = "res://gymkhana/characters/eneko/eneko_smoking.esc"
|
||||
is_movable = true
|
||||
default_action = "action1"
|
||||
combine_when_selected_action_is_in = [ ]
|
||||
@@ -49,7 +45,7 @@ animations = ExtResource( 1 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( 32.625, -50.56 )
|
||||
scale = Vector2( 1.71167, 1.71167 )
|
||||
scale = Vector2( 0.8, 0.8 )
|
||||
frames = SubResource( 1 )
|
||||
animation = "idle"
|
||||
flip_h = true
|
||||
@@ -57,6 +53,5 @@ flip_h = true
|
||||
[node name="dialog_position" type="Position2D" parent="."]
|
||||
position = Vector2( -1, -223 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 26, -42 )
|
||||
shape = SubResource( 2 )
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PoolVector2Array( -5, 6, -4, 22, -7, 32, -10, 39, -6, 43, 7, 43, 12, 35, 14, 25, 12, 12, 10, -25, 31, -38, 32, 37, 48, 37, 49, 28, 46, 22, 50, -1, 51, -35, 57, -39, 57, -72, 58, -74, 70, -68, 76, -69, 79, -76, 78, -81, 72, -89, 67, -104, 56, -114, 47, -115, 45, -120, 46, -140, 38, -145, 34, -146, 28, -144, 24, -139, 22, -129, 24, -122, 23, -119, 17, -114, 5, -109, -7, -80, -7, -62, 4, -58, 5, -53, -7, -34 )
|
||||
|
||||
Reference in New Issue
Block a user