more hub world tweaking
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
extends StaticBody3D
|
||||
|
||||
@onready var amount: Label3D = $Amount
|
||||
@onready var currently_held_money: Label3D = $"Currently Held Money"
|
||||
@onready var deposited: Label3D = $Deposited
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
@@ -9,7 +10,8 @@ func _ready() -> void:
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
currently_held_money.text = "cash on hand: $" + str(int(GameGlobals.money))
|
||||
deposited.text = "deposited: $" + str(GameGlobals.deposited_money)
|
||||
|
||||
func interact():
|
||||
SignalBus.emit_signal("money_deposited")
|
||||
|
||||
Reference in New Issue
Block a user