tgstation/-tg-station — pull request #734 by Incoming5643 (2013-06-08 01:47:42+00:00)
Title: Adds the Syndicate Minibomb and Syndicate Bomb to traitor PDAs

Syndicate Minibomb
--
The minibomb is based on grenade code with a blast radius of 1,2,4 and is found in syndieminibomb.dm. This is the same power as the default tank transfer bombs spawned on the syndicate shuttle.

It features new sprites by teh_wolf and existing inhands (the default grenade) and is a tiny item.

As a result of introducing an explosive grenade, grenade priming is now logged.

Its crystal cost has tentatively been set at 3.

Syndicate Bomb
--
The Syndicate Bomb is all new code contained in explosives.dm with additional wires code at syndicatebomb.dm. It does not make use of any tank transfer valve or grenade code.

The bomb has a blast radius of 2,5,11. This is the same power as the tank transfer bombs in the syndicate shuttle if they are boosted with oxygen.

It features new sprites by teh_wolf and existing inhands (currently using “electronic”) and is a bulky item.

The bomb is set by touching it in your hand or touching it on the ground if it has been wrenched down, allowing first to set a timer (min 10 seconds) and then giving an option to start the countdown. When the bomb is activated it states so to everyone within sight of it, giving a time to detonation in the process.

The bomb can optionally be wrenched to solid ground to foil would be spacers. When the bomb is set to countdown the bolts lock in, and cannot be removed by wrench alone.

The bomb includes a robust wires system for pulse pounding defusal attempts. Once a bomb starts ticking using the wires is the only way to stop it (it is not immune to del of course, but is unacidable).

The wires are as follows:

*Boom: Will detonate the bomb if cut/pulsed while the bomb is live, but will defuse the bomb on cut when it's not timing. Mending this wire is the only way to make a defused bomb potent again.

*Unbolt: If the bomb has been locked to the floor cutting this will free it. Pulsing will hint at its function

*Delay: Adds time (+10) to the timer when pulsed (it does not matter if the bomb is live or not). No function on cut.

*Proceed: Lowers the time when pulsed. If the timer is above 60 it will set it to 60, if it’s between 60 and 21 it will reduce the timer by 10, if it’s between 20 and 11 it will set the timer to 10. This will detonate the bomb when cut if it's timing. Note that this makes randomly cutting more dangerous than pulsing as there’s twice the number of wires that will explode.

*Activate: This will activate the timer if pulsed when the bomb is not timing, or will stop and defuse the bomb if it's cut while it IS timing. Pulsing it on an active bomb will hint at its function and add a little time (+5).

All syndicate bomb primings are logged.

Its crystal cost has tentatively been set at 5.

Misc
--
The “screwed” traitor uplink kit has had its tank transfer bombs replaced with one of each of these two bombs.