Rystic / clay

A small game I'm making with LWJGL.
0 stars 0 forks source link

BLOCKER: Dead-lock when conversion buildings are used for more than one conversion-type. #94

Closed Rystic closed 10 years ago

Rystic commented 10 years ago

Because conversion buildings block adding tasks if they have active behaviors, buildings like the Kiln (which produces Casing and Earthenware Brick) can't queue up behaviors for both at the same time, leading to deadlock (for instance, if Earthenware Brick queues itself before Casing). There should be a map in building entity that lays out what conversion tasks are being done, so these buildings can function properly.