debug: log AI set_production actions
This commit is contained in:
parent
c9c5dcf2a9
commit
1ef1c53caa
1 changed files with 1 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ static func _apply_set_production(action: Dictionary, player: RefCounted) -> boo
|
|||
cost = int(bdata.get("cost", 0))
|
||||
city.production_queue = [{"type": item_type, "id": item_id, "cost": cost}]
|
||||
city.production_progress = 0
|
||||
print("[AI] P%d set_production: %s %s (cost=%d)" % [player.index, item_type, item_id, cost])
|
||||
return true
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue