House Supply Logic

The House Delivery logic works as follows:

Markets will connect to houses meeting any of these condition:
 * At or within 4 grid units in either direction
 * At or within a circular radius of 28 grid units, if connected by a contiguous network of Foot Paths or Roads

Additionally, all houses must be at or within 12 height units of the market. There is no longer a maximum road/footpath distance as long as the House meets these conditions.

The Market will distribute its goods to linked Houses as follows:


 * Starting from 'Next House Delivery Index', loop through houses and if any House is Unhappy for a category that the Market has in inventory, deliver the item
 * Repeat until no more linked Unhappy houses are found
 * If any item was delivered, set the 'Next House Delivery Index' as the last successful delivery index + 1.
 * Repeat this loop again for any Houses that are Hungry for an item (is Happy, but is not currently consuming)
 * Repeat this loop again for any Houses that have Spare Capacity for an item (Is Happy, and Consuming, but inventory is not full of the item)