Comment 30 for bug 1581828

Revision history for this message
GunChleoc (gunchleoc) wrote :

Regarding your NOCOM, if a tribe has less wares than the ID of the carrier, will this still requesr carriers where they are needed? The problem here is that the economy (unlike the tribes themselves) uses a concept of "wareworker".

Have a look at how the ProductionSiteDescr parses the outputs and inputs, I was thinking of having something similar:

https://bazaar.launchpad.net/~widelands-dev/widelands/trunk/view/head:/src/logic/map_objects/tribes/productionsite.cc#L81