Files
fulpstation/code/modules/projectiles
Barhandar 751e7c71b7 Fixes plasma cutters not using charge when used as welder, and adds flashing (#40423)
* Plasma cutters now require charge (100, 10%) to be used as a welder.

* Plasma cutters now flash you, same as experimental welders.

Plasma cutters now use charge proportional to time spent welding (25 to start and 25 every 10th welding tick - 50 per scrubber/vent/girder, 175 per regular wall, etc).

* Cell use sanity. If you somehow popped the cell out of plasma cutter you have bigger problems.

* Annnd PCs are back to not using charge for most tasks (exceptions: plasma tiles, airlock wire shielding...) because everything calls amount=0 and zero amount means use() isn't called.

They still flash you, though.

* Comments + a bit more sanity.

* Actual sanity. Also did a rebase, let's see how much stuff that wrecked.

* Oops apparently you indeed cannot stack inline conditionals or it requires some special syntax.

* Plasma cutters now use a minimum of charge_weld charge again. Also known as "who says I can't override your stupid zero-amount calls?".

* And here's the rebase problems. Reverted accidental sanity revert.
2018-09-23 18:27:36 -04:00
..
2018-09-03 18:09:52 +03:00
2018-09-22 22:11:22 -07:00