Cleaned and improved some event stuff

This commit is contained in:
2025-05-26 13:11:27 -05:00
parent c1d8dd46d8
commit d6a2f4b567
27 changed files with 296 additions and 108 deletions

View File

@@ -31,4 +31,9 @@ func make(inventory:Inventory = null) -> void:
for output in outputs:
inventory.addItem(output.type, output.quantity)
timesMade += 1
timesMade += 1
func getTransContext() -> TransContext:
var ctx = TransContext.new()
ctx.addTrans("title", title)
return ctx