This commit is contained in:
E250429F
2026-09-17 23:19:43 +02:00
parent 025a866eef
commit 3e857fa9f3
281 changed files with 38006 additions and 970 deletions
+15 -1
View File
@@ -8,18 +8,32 @@ extends Node3D
@onready var timer: Timer = $Timer
@onready var water_mill: MultiMeshInstance3D = $".."
@onready var player: CharacterBody3D = $"../../Player"
@onready var frog: CharacterBody3D = $"../../frog"
var x_seconds: float = 15:
set(value):
x_seconds = value
timer.wait_time = value
func _ready() -> void:
sprite_3d.visible = false
func _on_timer_timeout() -> void:
func _on_timer_timeout() -> void:
var new_client = client.instantiate()
new_client.player = player
water_mill.add_child(new_client)
new_client.global_position = global_position
new_client.entry_path = entry_path
new_client.exit_path = exit_path
player._start_action()
if !player.one_time_cpt_feather:
timer.stop()
func start_timer():
timer.start()