16 lines
317 B
GDScript
16 lines
317 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()
|
|
LetterGeneration.generate_offer()
|