It would be extra-funny if said fireworks code had a small random chance (based on dexterity) to blow your fingers off (one hour debuff to dexterity), or a slightly larger chance to actually work (one hour buff to charisma).