mirror of
https://git.kittycat.homes/BatHeartTiger/untitled-plant-game.git
synced 2024-08-15 03:16:27 +00:00
25 lines
775 B
Text
25 lines
775 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Music/WaterSFX.wav" type="AudioStream" id=1]
|
|
[ext_resource path="res://World/Plant.gd" type="Script" id=2]
|
|
|
|
[node name="Plant" type="Node2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.25
|
|
autostart = true
|
|
|
|
[node name="WaterTimer" type="Timer" parent="."]
|
|
wait_time = 20.0
|
|
autostart = true
|
|
|
|
[node name="TalkTimer" type="Timer" parent="."]
|
|
|
|
[node name="WaterSFX" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 1 )
|
|
bus = "SFX"
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="step"]
|
|
[connection signal="timeout" from="WaterTimer" to="." method="_on_WaterTimer_timeout"]
|
|
[connection signal="timeout" from="TalkTimer" to="." method="_on_TalkTimer_timeout"]
|