Barbarian campaing, scenario 2: yellow brother bails out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was slowly playing the Barbarian campaign again. When I finally got to the two warring brothers, I found the yellow territory empty, no military sites to defeat. The military might graph shows a rather sudden, but not immediate, drop for yellow. I suppose this AI just blew up its own buildings, as he figures (after a few hours) he has lost, that is, he has no warehouses left. (I've seen this happen before, (after a long time) to a disconnected part of an AI empire.)
This doesn't look very impressive, we'd better give the poor warlord a warehouse. ;) There's probably more to be done to make the area look more like a ravaged city, instead of the snowy desert it is now, but that's another matter/bug.
(Easily reproducible: start scenario and let it run for a few game-hours.)
Related branches
- GunChleoc: Approve
-
Diff: 38 lines (+8/-2)2 files modifieddata/campaigns/bar02.wmf/player_names (+1/-1)
data/campaigns/bar02.wmf/scripting/starting_conditions.lua (+7/-1)
tags: | added: barbarians campaign |
Changed in widelands: | |
milestone: | none → build20-rc1 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
AI has a policy to dismantle a site if not connected to warehouse for some time. Soldiers can find a way home and productionsites are useless if not connected to warehouse.
But I can imagine an exemption here - do not dismantle unconnected buildings if a player has no warehouse at all, makes sense.
Assigning it to me, I hope I will not forget about it...