Files
Bubberstation/code/modules
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-23 18:35:44 +02:00
2018-07-24 14:43:30 -04:00
2018-09-21 18:27:47 -04:00
2018-09-15 10:55:05 -07:00
2018-06-19 18:57:44 -04:00
2018-09-20 00:53:10 -04:00
2018-09-22 21:08:57 -07:00
2018-09-16 19:25:33 +02:00
2018-07-29 16:19:42 -07:00