mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-21 03:52:54 +01:00
Adds the Resonator
A device which sets up resonating energy fields which collapse, mining mineral turfs and/or doing damage to any mobs standing inside. Does no damage to anything else, and damage to mobs is only high when used in low temperature environment (such as... outside or in space) Uses quite a few dmis, for the icons, in hand icon, and effect icons. Includes sound effects Ported from tg and Paradise
This commit is contained in:
@@ -111,6 +111,13 @@
|
||||
src.loc = null
|
||||
return ..()
|
||||
|
||||
// Check if target is reasonable for us to operate on.
|
||||
/obj/item/proc/check_allowed_items(atom/target, not_inside, target_self)
|
||||
if(((src in target) && !target_self) || ((!istype(target.loc, /turf)) && (!istype(target, /turf)) && (not_inside)))
|
||||
return FALSE
|
||||
else
|
||||
return TRUE
|
||||
|
||||
/obj/item/proc/update_twohanding()
|
||||
update_held_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user