-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFactory.tscn
37 lines (27 loc) · 1.25 KB
/
Factory.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Building.tscn" type="PackedScene" id=1]
[ext_resource path="res://Factory.gd" type="Script" id=2]
[ext_resource path="res://assets/gfx/sprites/factory.png" type="Texture" id=3]
[ext_resource path="res://BuildingAction.tscn" type="PackedScene" id=4]
[node name="Factory" instance=ExtResource( 1 )]
script = ExtResource( 2 )
texture = ExtResource( 3 )
[node name="texture" parent="base" index="0"]
texture = ExtResource( 3 )
[node name="smoke_pos1" type="Position2D" parent="." index="8" groups=[
"smoke_positions",
]]
position = Vector2( -8.34698, -11.8118 )
[node name="smoke_pos2" type="Position2D" parent="." index="9" groups=[
"smoke_positions",
]]
position = Vector2( 3.77975, -11.8118 )
[node name="upgrade_available_pos" type="Position2D" parent="." index="10"]
position = Vector2( -15.347, -20.2215 )
[node name="cycle_timer" type="Timer" parent="." index="11"]
autostart = true
[node name="actions" type="Node" parent="." index="12"]
[node name="cycle" parent="actions" index="0" instance=ExtResource( 4 )]
title = "Manual Cycle"
description = "Manually perform one cycle of building operation by clicking the button."
[connection signal="timeout" from="cycle_timer" to="." method="_on_cycle_timer_timeout"]