Acetylene torch code does almost everything that’s needed here. The message about acetylene doesn’t mean that the torch needs to be acetylene, only that it needs more charges.
The number of charges needed is hardcoded, though. It’s quite low (15 for a metal door).
If you copied the torch item, changed its ammo to batteries and allowed reloading it, it would work just fine, I think. Except it would consume stupidly low amount of batteries.