Files
Aurora.3/code/modules/projectiles/guns/energy/disrupter.dm
Geeves cba559a32e Disruptor Nerf (#10085)
* Disruptor Nerf

* Update geeves-disruptor_nerf_two.yml
2020-09-28 20:42:30 -03:00

55 lines
2.4 KiB
Plaintext

/obj/item/gun/energy/disruptorpistol
name = "disruptor pistol"
desc = "A Nanotrasen designed blaster pistol with two settings: stun and lethal."
desc_fluff = "Developed and produced by NanoTrasen for its internal security division, the NT DP-7 is a state of the art blaster pistol capable of firing reduced-power bolts which disrupt the central nervous system, inducing a stunning effect on the victim. It is also capable of firing full-power blaster bolts."
icon = 'icons/obj/guns/disruptorpistol/disruptorpistols.dmi'
icon_state = "disruptorpistol"
item_state = "disruptorpistol"
fire_sound = 'sound/weapons/gunshot/bolter.ogg'
slot_flags = SLOT_BELT|SLOT_HOLSTER
w_class = ITEMSIZE_NORMAL
force = 5
origin_tech = list(TECH_COMBAT = 3, TECH_MAGNET = 2)
matter = list(DEFAULT_WALL_MATERIAL = 2000)
projectile_type = /obj/item/projectile/energy/disruptorstun
secondary_projectile_type = /obj/item/projectile/energy/blaster
max_shots = 12 //12 shots stun, 8 shots lethal.
charge_cost = 150
fire_delay = 8
accuracy = 1
has_item_ratio = FALSE
modifystate = "disruptorpistolstun"
sel_mode = 1
var/selectframecheck = FALSE
firemodes = list(
list(mode_name="stun", projectile_type=/obj/item/projectile/energy/disruptorstun, modifystate="disruptorpistolstun", charge_cost = 150, fire_sound = 'sound/weapons/gunshot/bolter.ogg'),
list(mode_name="lethal", projectile_type=/obj/item/projectile/energy/blaster, modifystate="disruptorpistolkill", recoil = 1, charge_cost = 225, fire_sound = 'sound/weapons/gunshot/bolter.ogg')
)
/obj/item/gun/energy/disruptorpistol/security
pin = /obj/item/device/firing_pin/wireless
/obj/item/gun/energy/disruptorpistol/miniature
name = "miniature disruptor pistol"
desc = "A Nanotrasen designed blaster pistol with two settings: stun and lethal. This is the miniature version."
icon = 'icons/obj/guns/disruptorpistol/disruptorpistolc.dmi'
max_shots = 7
force = 3
slot_flags = SLOT_BELT|SLOT_HOLSTER|SLOT_POCKET
w_class = ITEMSIZE_SMALL
/obj/item/gun/energy/disruptorpistol/miniature/security
pin = /obj/item/device/firing_pin/wireless
/obj/item/gun/energy/disruptorpistol/magnum
name = "magnum disruptor pistol"
desc = "A Nanotrasen designed blaster pistol with two settings: stun and lethal. This is the magnum version."
icon = 'icons/obj/guns/disruptorpistol/disruptorpistolm.dmi'
max_shots = 20
force = 6
/obj/item/gun/energy/disruptorpistol/magnum/security
pin = /obj/item/device/firing_pin/wireless