Too high ware preciousness can hurt AI
Bug #1767976 reported by
TiborB
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Currently each ware has a preciousness defined in init.lua and AI is using it when making decisions what buildings to build.
However late bug 1767187 revealed that too hing number (254 in the case of bug) badly confused AI into insane building of metalworks. So the conclusion is that upper limit for preciousness is needed.
I want to propose value 25, that would be hardcoded and if exceeded throw an exemption.
Note that normal players would never see this error, only if somebody is fiddling with init.lua files.
Changed in widelands: | |
milestone: | none → build21-rc1 |
To post a comment you must log in.
As already stated I think 25 is far to less of a value. For the beginning I think 100 would be fine.