81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://cepk612gi1akw"]
|
|
|
|
[ext_resource type="Resource" uid="uid://c4lhcwvjqx5ty" path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" id="1"]
|
|
[ext_resource type="Script" uid="uid://clg4yrj7v7eae" path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" id="2"]
|
|
[ext_resource type="Texture2D" uid="uid://c7y54yhu3kxh5" path="res://gymkhana/characters/talking-heads/assets/oier-avatar-talking.png" id="3"]
|
|
|
|
[sub_resource type="AtlasTexture" id="2"]
|
|
atlas = ExtResource("3")
|
|
region = Rect2(0, 0, 72, 72)
|
|
|
|
[sub_resource type="AtlasTexture" id="3"]
|
|
atlas = ExtResource("3")
|
|
region = Rect2(0, 0, 72, 72)
|
|
|
|
[sub_resource type="AtlasTexture" id="4"]
|
|
atlas = ExtResource("3")
|
|
region = Rect2(72, 0, 72, 72)
|
|
|
|
[sub_resource type="SpriteFrames" id="1"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("2")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("4")
|
|
}],
|
|
"loop": true,
|
|
"name": &"speak",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="5"]
|
|
radius = 40.1123
|
|
|
|
[node name="ESCPlayerWithTooltip2" type="Area2D"]
|
|
process_mode = 1
|
|
script = ExtResource("2")
|
|
global_id = "oier_head"
|
|
is_interactive = false
|
|
is_movable = true
|
|
player_orients_on_arrival = false
|
|
combine_when_selected_action_is_in = []
|
|
dialog_color = Color(0.584314, 0.490196, 0.270588, 1)
|
|
custom_data = {
|
|
"tooltips": {
|
|
"action1": "cocina_delante_eneko_smoking_action1",
|
|
"action2": "cocina_delante_eneko_smoking_action2"
|
|
}
|
|
}
|
|
action3_target_texts = {
|
|
"turno_cocina_frontal": "Ofrecer",
|
|
"turno_cocina_madera": "Ofrecerle leña"
|
|
}
|
|
target_when_selected_action_is_in = ["action3"]
|
|
selectable = true
|
|
animations = ExtResource("1")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(-1, 0)
|
|
scale = Vector2(1.67778, 1.67778)
|
|
frames = SubResource("1")
|
|
animation = "speak"
|
|
flip_h = true
|
|
|
|
[node name="dialog_position" type="Marker2D" parent="."]
|
|
position = Vector2(-1, -153)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
position = Vector2(0, 1)
|
|
shape = SubResource("5")
|