Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Values from 'Build a Room' processes in keepcompp.cfg shifted, AI can't build dungeon correctly #785
How a Computer Player builds his dungeon is defined by the AI's defined in KeepCompp.cfg. Mainly the processes that define which rooms to build. Like this one:
See the 5 values of this process, the first one is the priority, the room is build 3x3, the room number is 9 (scavenger room) and the computer will prefer to build it attached to room 4(Prison)
However, the last variable is shifted one down. When a room is supposed to attach to a prison(4) it is instead build attached to a Library(3). This is true for all rooms in the list, when a room is supposed to attach to a Lair(14) it will attach to the Garden(13) instead.
Originated from the forum here, which also includes an easy path to reproduce.
This is a major cause why all computer players on all maps build inefficiently designed dungeons.