summaryrefslogtreecommitdiff
path: root/item
diff options
context:
space:
mode:
Diffstat (limited to 'item')
-rw-r--r--item/item.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/item/item.gd b/item/item.gd
index 4f99999..fa00841 100644
--- a/item/item.gd
+++ b/item/item.gd
@@ -2,5 +2,9 @@ class_name Item
extends Node2D
+func _ready() -> void:
+ $Sprite2D.modulate = Color(max(0.1, randf()), max(0.1, randf()), max(0.1, randf()))
+
+
func apply(_player: Player):
pass