Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Enhances the Smoking Experience

Open Fordoxia opened this issue 3 months ago • 1 comments

What Does This PR Do

Refactors cigarettes and lighter items.

All items capable of lighting cigarettes can now light them clicking on someone's sprite whilst targeting the mouth whilst on help intent.

Energy daggers, cauteries, laser scalpels, the Incision Management System (as it has a cautery), igniters, flamethrowers, the Staff of Lava, and the Staff of Storms can now be used as cigarette lighters.

Toy eswords have a 1% chance to light an unlit cig, otherwise they will bat it to the floor. They cannot bat a lit cig.

The flamethrower has a 50% chance to accidentally set the target on fire unless the operator is from the engineering department, or has the Badass trait.

If you are on fire and are quick enough to tap yourself with a cig before the fire gets to it, you get a unique message as you light it on your burning body.

The Wand of Fireball now only loses a charge if you accidentally discharge it when using it as a lighter.

You can now give other people cigarettes from a cigarette packet directly by attacking them on help intent whilst targeting the mouth.

Service cyborgs can now hold cigarettes and cigarette packets.

Updates tips and silly tips with new smoking-related tips.

Also does a bunch of documentation stuff.

Why It's Good For The Game

Smoking is cool.

Testing

Slipped tons of cigarettes into the mouths of many skrell, lit them with every single lighter item. Some immolation and explosions occurred as expected. Ensured that the attacks of the items were not affected outside of the cigarette interaction.

Changelog

:cl: add: A bunch of items can now light cigarettes. add: All-new smoking dialogue. tweak: Wand of Fireball will not expend a charge if a cigarette is successfully lit. tweak: You can give people cigarettes directly from a cigarette pack. /:cl:

Fordoxia avatar May 22 '24 03:05 Fordoxia