← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~notabilis27/widelands/casern into lp:widelands

 

The proposal to merge lp:~notabilis27/widelands/casern into lp:widelands has been updated.

Description changed to:

Implements a worker queue which allows production buildings to consume
workers as input.

Adds:
- Adds worker queue for production buildings.
- The "inputs" in the lua files for the buildings can now contains worker names and amounts.
- Production programs can consume workers from the queues.

Changes:
- The barracks-building (new in trunk) now requests and stores carriers required for recruiting.
- Soldiers can no longer be created in warehouses.
- Renamed the c-for-lua function {set,get,valid}_wares() of production buildings to {set,get,valid}_inputs() since they now be used to set the to-be-consumed workers.
- Modified the lua function prefilled_buildings() to required the argument "inputs" instead of "wares" for production sites.
- Affected scripts should be updated (but only some are tested).

For more details, see:
https://code.launchpad.net/~notabilis27/widelands/casern/+merge/309763
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~notabilis27/widelands/casern into lp:widelands.