mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 09:31:30 +00:00
Y2K update:
- New "empulse" proc. Works similarly to "explode" proc. It triggers the "emp_act" proc on everything within range. emp_act are effects similar or identical to the effects of the emp grenade. Any major changes to emp effects listed below. Note: EMPs now affect items in your backpack. - New admin right-click command: EM Pulse. You can create an empulse at the desired location with a size you choose. Similar to Explosion command. - disable device spell, emp grenade, and disable tech rune all use empulse now. - New "disable device" spell datum added. - EMP'ed gas canisters no longer drain the station of power. - When a borg is EMP'ed, all objects in their module get their emp_act proc triggered. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1018 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
var/list/modules = list()
|
||||
var/obj/item/emag
|
||||
|
||||
emp_act(severity)
|
||||
if(modules)
|
||||
for(var/obj/O in modules)
|
||||
O.emp_act(severity)
|
||||
if(emag)
|
||||
emag.emp_act(severity)
|
||||
..()
|
||||
|
||||
/obj/item/weapon/robot_module/standard
|
||||
name = "standard robot module"
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user