Now About Social Code
summaryrefslogtreecommitdiff
path: root/scripts/locker.gd
blob: b19d23a5b52030642775524c0831766fe4cbb2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
extends Area3D

var contents: int = 0
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	contents = randi_range(0, 20)

func get_contents() -> int:
	var con = contents
	contents = 0
	return con