nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Replace entity instruction system with jobs system #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An entity asks for a job, and is given one based on it's preference. From 
there, it is up to the entity to execute the given job. The job object has 
several operators to help it respond to dynamic changes and locks:

A given job is locked and assigned to the recieving dwarf. If the dwarf fails 
to reach that job, they may resign the job, and ask another form the jobs pool.

Original issue reported on code.google.com by nin...@gmail.com on 13 Mar 2012 at 3:25

GoogleCodeExporter commented 9 years ago
Done, with better error handling

Original comment by nin...@gmail.com on 14 Mar 2012 at 2:20