def gen_aquatic_shark_white(level, coords): pos = level.world.component_for_player(Position) x, y = coords level.world.create_entity(Health(20), Position(x, y), Attacker(attack=5, defense=1, hit_chance=90, evasion_chance=30), Name("Great White Shark"), AiChase(pos), Renderable(depth=constants.DEPTH_CREATURE, animation_key="A_AQUATIC_SHARK_WHITE"), Energy(100), BlocksMovement(), Alignment(CreatureAlignment.FOE), Experience(on_death=100), Death(animation_key="S_FLESH_FISH") )
def gen_boss_aquatic_kraken(level, coords): pos = level.world.component_for_player(Position) x, y = coords level.world.create_entity(Health(100), Position(x, y), Attacker(attack=12, defense=4, hit_chance=75, evasion_chance=1), Name("The KRAKEN"), AiChase(pos), Renderable(depth=constants.DEPTH_CREATURE, animation_key="A_BOSS_AQUATIC_KRAKEN"), Energy(60), BlocksMovement(), Alignment(CreatureAlignment.FOE), Experience(on_death=10000), Death(animation_key="S_FLESH_FISH") )
def gen_demon_buffla(level, coords): pos = level.world.component_for_player(Position) x, y = coords level.world.create_entity(Health(100), Position(x, y), Attacker(attack=12, defense=4, hit_chance=75, evasion_chance=1), Name("Buffla"), AiChase(pos), Renderable(depth=constants.DEPTH_CREATURE, animation_key="A_DEMON_BUFFLA"), Energy(100), BlocksMovement(), Alignment(CreatureAlignment.FOE), Experience(on_death=1000), Death(animation_key="S_DEAD_DEMON") )
def gen_aquatic_frog_hypno(level, coords): pos = level.world.component_for_player(Position) x, y = coords level.world.create_entity(Health(20), Position(x, y), Attacker(attack=6, defense=3, hit_chance=80, evasion_chance=20), Name("Hypno Frog"), AiChase(pos), Renderable(depth=constants.DEPTH_CREATURE, animation_key="A_AQUATIC_FROG_HYPNO"), Energy(100), BlocksMovement(), Alignment(CreatureAlignment.FOE), Experience(on_death=100), Death(animation_key="S_FLESH_FISH") )