feat(ai): Implement wild creature spawning logic in SimpleHeuristicAI class

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-04-16 00:08:18 -07:00
parent edba5d8e10
commit af338877a1

View file

@ -493,7 +493,7 @@ static func _decide_production(
# match enemy's FULL army when they're closing on us so we don't lose
# on parity once reserves arrive.
var enemy_mil: int = enemy_total if threatened else 0
var mil_target: int = maxi(2, city_count * 2)
var mil_target: int = maxi(4, city_count * 2)
if enemy_mil > 0:
mil_target = maxi(mil_target, enemy_mil + 1)
var want_military: bool = military_count < mil_target