more hub world tweaking

This commit is contained in:
Derek
2025-02-23 16:11:53 -06:00
parent fd2a32dde9
commit a303eb6430
18 changed files with 557 additions and 143 deletions

View File

@@ -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")