added working vending machine

This commit is contained in:
derek
2024-07-17 17:05:46 -05:00
parent 9a15224df9
commit 4511023fcc
12 changed files with 240 additions and 37 deletions

12
scripts/Label3D.gd Normal file
View File

@@ -0,0 +1,12 @@
extends Label3D
@onready var vendingmachine = $".."
# Called when the node enters the scene tree for the first time.
func _ready():
text = "$" + str(vendingmachine.item_price)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass