Bertram {l Wrote}:Feel free to steal the issue from me. I added the links to the necessary resources there.
Ok I will have a look.
Danimal {l Wrote}:Please hold onto that forcing logic, we will need it for researching, praying, forging...
Yes, that's what I've prepared. For coders, I renamed the training variables in the creatures by working variables (I tried to be as generic as possible). When a creature is dropped in a room, I added an overridable function to decide if a creature can be dropped there (so that each room can decide if the creature can work there or not). If it returns true, the working room is set and the creature is added in the list of creatures using the room. From there, the room handles the creature logic as it can be very different depending on which room (torture, prison, training, ...).
If someone wants to do that in a room, he can just have a look in the training room to see how it is done. Unless there is an unusual behaviour, modding the room should be enough when adding new rooms. There is still one thing we have to decide : how do we handle specific creatures to go to specific rooms (like black mistress ib torture room, wizards in library, ...) ? Could be something in creature def...