Cleaned and improved some event stuff
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user