1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-12-01 11:54:18 +00:00
swear-jar/entity/gem/RandomValue.gd

10 lines
157 B
GDScript3
Raw Normal View History

2023-10-02 12:58:17 +00:00
extends Node
2023-10-02 16:42:10 +00:00
@export var min_value: int
@export var max_value: int
2023-10-02 12:58:17 +00:00
func _ready():
2023-10-02 16:42:10 +00:00
get_parent().value = Randomizer.rng.randi_range(min_value, max_value)