integrated mapBonus object logic into mapEditor