tonihele / OpenKeeper

Dungeon Keeper II remake
GNU General Public License v3.0
441 stars 43 forks source link

Implement chickens!!! #328

Closed tonihele closed 5 years ago

tonihele commented 5 years ago

Sum chickiiiin! Awesome. Should be somewhat easy.

Free range chickens have the same behavior as the normal chickens but they seem to wonder quite freely. They also have limited lifespan (variable). If you sell a room, I don't know what happens to the chickens the room owns. Probably we could just add a tag that they are now free range chickens as well and time will take care of them automatically.

tonihele commented 5 years ago

image

tonihele commented 5 years ago

Ok, the basic implementation is there. With the free range chickens and all. I was not sure about the generation time. The variable default value is 16, so I ended up taking it as a seconds. Initially I divided it with the ticks per second to be closer on what I observed. But that just didn't feel right. I guess it is ok now. At least the creatures can now feed themselves.