1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-29 10:54:18 +00:00
swear-jar/entity/gem/RandomValue.gd
2023-10-02 18:42:10 +02:00

9 lines
157 B
GDScript

extends Node
@export var min_value: int
@export var max_value: int
func _ready():
get_parent().value = Randomizer.rng.randi_range(min_value, max_value)