everything_has_a_price_jam/test/test_economy.gd
2026-09-26 23:54:33 -06:00

14 lines
281 B
GDScript

extends Control
func _on_get_cow_pressed() -> void:
var p := Economy.get_currency(preload("res://currency/sentient/cow.tres"))
p.amount += 1
func _on_run_simulate_pressed() -> void:
Economy.simulate()
func _on_open_inbox_pressed() -> void:
UserContext.open_inbox.emit()