let the adminbus commence
This commit is contained in:
@@ -91,6 +91,10 @@
|
||||
var/obj/item/clothing/gloves/G = gloves
|
||||
if(istype(G) && G.Touch(A,0)) // for magic gloves
|
||||
return
|
||||
if (glasses)
|
||||
var/obj/item/clothing/glasses/Gl = glasses
|
||||
if (istype(Gl))
|
||||
Gl.ranged_attack(src,A,mouseparams)
|
||||
|
||||
for(var/datum/mutation/human/HM in dna.mutations)
|
||||
HM.on_ranged_attack(src, A, mouseparams)
|
||||
|
||||
@@ -54,6 +54,9 @@
|
||||
H.blur_eyes(5)
|
||||
eyes.applyOrganDamage(5)
|
||||
|
||||
/obj/item/clothing/glasses/proc/ranged_attack(mob/living/carbon/human/user,atom/A, params)
|
||||
return
|
||||
|
||||
/obj/item/clothing/glasses/meson
|
||||
name = "optical meson scanner"
|
||||
desc = "Used by engineering and mining staff to see basic structural and terrain layouts through walls, regardless of lighting conditions."
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/obj/item/clothing/glasses/hud/security/sunglasses/disablers
|
||||
name = "true stunglasses"
|
||||
desc = "Made for only the best of shitsec. Wear 'em like you're gonna robust all of those fuckers."
|
||||
var/beamtype = /obj/item/projectile/beam/disabler //change for adminbus
|
||||
|
||||
/obj/item/clothing/glasses/hud/security/sunglasses/disablers/ranged_attack(mob/living/carbon/human/user,atom/A, params)
|
||||
user.changeNext_move(CLICK_CD_RANGE)
|
||||
|
||||
var/obj/item/projectile/beam/disabler/LE = new beamtype( loc )
|
||||
playsound(usr.loc, 'sound/weapons/taser2.ogg', 75, 1)
|
||||
LE.firer = src
|
||||
LE.def_zone = user.get_organ_target()
|
||||
LE.preparePixelProjectile(A, src, params)
|
||||
LE.fire()
|
||||
//shamelessly copied
|
||||
@@ -1569,6 +1569,7 @@
|
||||
#include "code\modules\clothing\clothing.dm"
|
||||
#include "code\modules\clothing\ears\_ears.dm"
|
||||
#include "code\modules\clothing\glasses\_glasses.dm"
|
||||
#include "code\modules\clothing\glasses\disablerglasses.dm"
|
||||
#include "code\modules\clothing\glasses\engine_goggles.dm"
|
||||
#include "code\modules\clothing\glasses\hud.dm"
|
||||
#include "code\modules\clothing\glasses\phantomthief.dm"
|
||||
|
||||
Reference in New Issue
Block a user