[gd_scene load_steps=7 format=2]

[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=1]
[ext_resource path="res://game/characters/worker/worker_animations.tres" type="Resource" id=2]
[ext_resource path="res://game/characters/worker/png/worker.png" type="Texture" id=4]

[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 4 )
region = Rect2( 0, 0, 24, 70 )

[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ SubResource( 1 ) ],
"loop": true,
"name": "idle_front",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 40.4907, 142.11 )

[node name="worker" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "worker"
esc_script = "res://game/rooms/room6/esc/worker.esc"
is_movable = true
tooltip_name = "Worker"
default_action = "look"
dialog_color = Color( 0.501961, 0.882353, 1, 1 )
animations = ExtResource( 2 )

[node name="sprite" type="AnimatedSprite" parent="."]
position = Vector2( 0.0280151, -16.7213 )
scale = Vector2( 4, 4 )
frames = SubResource( 2 )
animation = "idle_front"
offset = Vector2( -0.0280151, -30.9602 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -1.662, -141.108 )
shape = SubResource( 3 )

[node name="dialog_position" type="Position2D" parent="."]
position = Vector2( 0.0280151, -352.44 )
scale = Vector2( 4, 4 )
