

A colonist who is really hungry might eat something off the floor. A colonist that becomes scared of toilets might always pee on the floor. It would be lame if every colonist always used the same objects with the exact same priority.Ī fancy-pants, high status colonist might refuse to ever sleep on the floor. The objects that a colonist considers valid can change throughout a colonist’s life. If no floors are found, the AI state fails. If no potted plants are found, he looks for a floor. If none are found, he looks for a potted plant. So a colonist will first look for a toilet. The colonist just looks for each object in the specified order, if no object is found, he looks for the next object. He’s looking for a “urination” object.Ī colonist should pee in a toilet before he pees on the floor, and he should probably pee in a potted plant before he pees in a bed. When a colonist needs to urinate, he’s not looking for a toilet. In solving the urination crisis it became obvious that colonists almost always have a reason for doing something, and that multiple objects can be considered valid for each reason. That poses a problem, though, if the colonist isn’t looking for a toilet, what is he looking for? Object Purpose So of course we’re going to make the colonist pee somewhere else. We strive to have a complex world in which one object can be used a thousand different ways. What should happen when a colonist needs to urinate, but no toilet is available?Ĭolonist waits to urinate until a toilet is available (he’ll wait forever)Ĭolonist pees his pants (maybe after waiting for a bit)
