mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
[MIRROR] Replace Plasma Cutter EMP effect [MDB IGNORE] (#10867)
* Replace Plasma Cutter EMP effect (#64073) Fixes 43685 * Replace Plasma Cutter EMP effect Co-authored-by: SkeletalElite <skeletalelite0@gmail.com>
This commit is contained in:
@@ -167,6 +167,16 @@
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/item/gun/energy/plasmacutter/emp_act(severity)
|
||||
if(!cell.charge)
|
||||
return
|
||||
cell.use(cell.charge/3)
|
||||
if(isliving(loc))
|
||||
var/mob/living/user = loc
|
||||
user.visible_message(span_danger("Concentrated plasma discharges from [src] onto [user], burning them!"), span_userdanger("[src] malfunctions, spewing concentrated plasma onto you! It burns!"))
|
||||
user.adjust_fire_stacks(4)
|
||||
user.IgniteMob()
|
||||
|
||||
// Can we weld? Plasma cutter does not use charge continuously.
|
||||
// Amount cannot be defaulted to 1: most of the code specifies 0 in the call.
|
||||
/obj/item/gun/energy/plasmacutter/tool_use_check(mob/living/user, amount)
|
||||
|
||||
Reference in New Issue
Block a user