mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-23 00:04:20 +00:00
11 lines
219 B
GDScript
11 lines
219 B
GDScript
extends RigidBody3D
|
|
|
|
|
|
@export var value = 5
|
|
|
|
@onready var player := Singletons.player
|
|
|
|
|
|
func _on_collectible_by_player_collected():
|
|
var ps: PeaShooter = player.get_node("Head/OnHand/PeaShooter")
|
|
ps.remaining += value
|