26 lines
768 B
Plaintext
26 lines
768 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://baoec8cqmedf6"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Scripts/slot_button.gd" id="1_fras1"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1gv0f"]
|
||
|
size = Vector2(152, 214)
|
||
|
|
||
|
[node name="Worker Slot" type="Node2D"]
|
||
|
script = ExtResource("1_fras1")
|
||
|
|
||
|
[node name="Label" type="Label" parent="."]
|
||
|
offset_left = -72.0
|
||
|
offset_top = -14.0
|
||
|
offset_right = 72.0
|
||
|
offset_bottom = 12.0
|
||
|
text = "Empty Worker Slot"
|
||
|
|
||
|
[node name="Area2D" type="Area2D" parent="."]
|
||
|
position = Vector2(-76, -103)
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||
|
position = Vector2(76, 107)
|
||
|
shape = SubResource("RectangleShape2D_1gv0f")
|
||
|
|
||
|
[connection signal="input_event" from="Area2D" to="." method="_on_area_2d_input_event"]
|