mirror of
https://github.com/tpawstdio/skyscraperrising.git
synced 2025-05-06 22:54:49 -04:00
When an office is no longer vacant, rent timer will start and the player will be paid on and the timer will be restarted on timeout.
10 lines
292 B
Text
10 lines
292 B
Text
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://src/office.gd" type="Script" id=1]
|
|
|
|
[node name="Office" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Rent" type="Timer" parent="."]
|
|
wait_time = 5.0
|
|
[connection signal="timeout" from="Rent" to="." method="_on_Rent_timeout"]
|