Ejemplo n.º 1
0
def base_info(m: "MonsterModel"):
    return Box(
        Box('\N{DOWN-POINTING RED TRIANGLE}',
            IdView.normal_awakenings_row(m) if len(m.awakenings) != 0 else Box(
                Text('No Awakenings')),
            delimiter=' '),
        IdView.super_awakenings_row(m),
        # the transform base of the base is the same
        IdView.killers_row(m, m))
Ejemplo n.º 2
0
def base_info(m: "MonsterModel"):
    return Box(
        Box(BASE_EMOJI,
            IdView.normal_awakenings_row(m) if len(m.awakenings) != 0 else Box(
                Text('No Awakenings')),
            delimiter=' '), IdView.super_awakenings_row(m))