Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/c/r/crashRun-HEAD/src/Robots.py   crashRun(Download)
    def __init__(self, dm, row, col):
        CleanerBot.__init__(self)
        BaseMonster.__init__(self, vision_radius=6, ac=20, hp_low=15, hp_high=25, dmg_dice=6, 
            dmg_rolls=2, ab=2, dm=dm, ch='i', fg='grey', bg='black', lit='white', 
            name='docbot', row=row, col=col, xp_value=15, gender='male', level=7)
    def __init__(self, dm, row, col):
        CleanerBot.__init__(self)
        BaseMonster.__init__(self, vision_radius=6, ac=18, hp_low=15, hp_high=20, dmg_dice=6, 
            dmg_rolls=1, ab=2, dm=dm, ch='i', fg='yellow-orange', bg='black', lit='yellow',
            name='repair bot', row=row, col=col, xp_value=10, gender='male', level=5)
    def __init__(self, dm, row, col):
        CleanerBot.__init__(self)
        BaseMonster.__init__(self, vision_radius=5, ac=18, hp_low=15, hp_high=20, dmg_dice=3, 
            dmg_rolls=1, ab=2, dm=dm, ch='o', fg='darkgrey', bg='black', lit='grey',
            name='roomba', row=row, col=col, xp_value=20, gender='male', level=5)
    def __init__(self, dm, row, col):
        BasicBot.__init__(self)
        BaseMonster.__init__(self, vision_radius=5, ac=19, hp_low=10, hp_high=20, dmg_dice=3, 
            dmg_rolls=2, ab=2, dm=dm, ch='i', fg='red', bg='black', lit='red', 
            name='incinerator', row=row, col=col, xp_value=25, gender='male', level=5)
    def __init__(self, dm, row, col):
        BaseMonster.__init__(self, vision_radius=5, ac=16, hp_low=2, hp_high=10, dmg_dice=2, 
            dmg_rolls=1, ab=2, dm=dm, ch='i', fg='blue', bg='black', lit='blue', 
            name='surveillance drone', row=row, col=col, xp_value=3, gender='male', level=2)
        self.conditions.append((('flying', 0, 0), self))