function init(hero) {
    hero.setName("Brightburn/\u00A79\u00A7lCHP\u00A7r");
    hero.setAliases("bb");
    hero.setTier(9);
    
    hero.setHelmet("Mask"); 
    hero.setChestplate("item.superhero_armor.piece.torso");
    hero.setLeggings("item.superhero_armor.piece.legs");
    hero.setBoots("item.superhero_armor.piece.boots");
    
    hero.addPowers("chipzpack:extraterrestrial");
    hero.addAttribute("PUNCH_DAMAGE", 8.0, 0);
    hero.addAttribute("BASE_SPEED_LEVELS", 2.0, 0);
    
    hero.addKeyBind("SUPER_SPEED", "key.superSpeed", 1);
    hero.addKeyBind("SLOW_MOTION", "key.slowMotion", 2);
    hero.addKeyBind("HEAT_VISION", "key.heatVision", 3);
    hero.addKeyBind("HOVER", "key.hover", 4);
    
    hero.setDefaultScale(1.0);
    hero.setHasProperty(hasProperty);
}

function hasProperty(entity, property) {
    return property == "BREATHE_SPACE";
}

function hasPermission(entity, permission) {
    return true;
}

function hasProperty(entity, property) {
    switch (property) {
    case "MASK_TOGGLE":
        return true;
    default:
        return false;
    }
}
