-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpersonnel.tscn
48 lines (37 loc) · 1.47 KB
/
personnel.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[gd_scene load_steps=3 format=3 uid="uid://olf32fbnmnh6"]
[ext_resource type="Script" path="res://Game/world/personnel.gd" id="1_4btn7"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ksukp"]
size = Vector2(40, 40)
[node name="Personnel" type="CharacterBody2D"]
motion_mode = 1
script = ExtResource("1_4btn7")
[node name="ColorRect" type="ColorRect" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 1, 1, 1)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_ksukp")
[node name="WaterTimer" type="Timer" parent="."]
wait_time = 240.0
[node name="WasteTimer" type="Timer" parent="."]
wait_time = 240.0
[node name="FoodTimer" type="Timer" parent="."]
wait_time = 360.0
[node name="BowelTimer" type="Timer" parent="."]
wait_time = 600.0
[node name="BlinkTimer" type="Timer" parent="."]
wait_time = 3.0
[connection signal="timeout" from="WaterTimer" to="." method="_on_water_timer_timeout"]
[connection signal="timeout" from="WasteTimer" to="." method="_on_waste_timer_timeout"]
[connection signal="timeout" from="FoodTimer" to="." method="_on_food_timer_timeout"]
[connection signal="timeout" from="BowelTimer" to="." method="_on_bowel_timer_timeout"]
[connection signal="timeout" from="BlinkTimer" to="." method="_on_blink_timer_timeout"]