"""Literal native carrier capacity for the positive consumer fixture."""


class NativeCasualties(RuntimeError):
    pass


def capacity(pikis, color):
    # White/flower carry speed contributions are not carrier weight.
    return sum(10 if p['kind'] == 3 else 1 for p in pikis if p['kind'] == color)
