Add new resource for testing

This commit is contained in:
2026-03-22 15:14:30 +01:00
parent 726f2bb5a3
commit 2743fd314a
11 changed files with 91 additions and 28 deletions

View File

@@ -493,10 +493,10 @@ func _resolve_buff_cost_currency_id(buff: GeneratorBuffData) -> StringName:
return GameState.get_currency_id(cost_currency)
func _resolve_purchase_currency() -> Currency:
if data != null and data.purchase_currency != null:
return data.purchase_currency
if data == null:
return null
return currency
return data.purchase_currency
func _resolve_buff_target_currency_id(buff: GeneratorBuffData) -> StringName:
if buff == null: