AD&D 1e used xp for treasure and gold, xp for defeating traps and outwitting monsters, and bonus xp for dying (which yeah, that one's likely not amounting to much), in addition to xp for combat. If you had enough money to afford to pay for your leveling up, then the xp for treasure and coin was...