const orders = Game.market.getAllOrders(order => order.type === ORDER_BUY && order.resourceType === resourceType);