Files
Cody BrittainandGitHub 3f62424312 [MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)
This has zero reason to exist in our code base. We have no procs or
variables tied to this. I removed it to make future modifications
cleaner.

---------

Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
2026-02-01 05:14:26 +00:00

63 lines
3.2 KiB
Plaintext

/obj/item/gun/energy/disruptorpistol
name = "disruptor pistol"
desc = "A NanoTrasen designed blaster pistol with two settings: stun and lethal."
desc_extended = "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 = WEIGHT_CLASS_NORMAL
force = 11
origin_tech = list(TECH_COMBAT = 3, TECH_MAGNET = 2)
matter = list(DEFAULT_WALL_MATERIAL = 2000)
projectile_type = /obj/projectile/energy/disruptorstun
secondary_projectile_type = /obj/projectile/energy/blaster/disruptor
max_shots = 10
charge_cost = 150
accuracy = 1
has_item_ratio = FALSE
modifystate = "disruptorpistolstun"
sel_mode = 1
firemodes = list(
list(mode_name="stun", projectile_type=/obj/projectile/energy/disruptorstun, modifystate="disruptorpistolstun", fire_sound = 'sound/weapons/gunshot/bolter.ogg'),
list(mode_name="lethal", projectile_type=/obj/projectile/energy/blaster/disruptor, modifystate="disruptorpistolkill", recoil = 1, fire_sound = 'sound/weapons/gunshot/bolter.ogg')
)
required_firemode_auth = list(WIRELESS_PIN_STUN, WIRELESS_PIN_LETHAL)
var/selectframecheck = FALSE
/obj/item/gun/energy/disruptorpistol/practice
name = "practice disruptor pistol"
desc = "A variant of the NT DP-7. It fires less concentrated energy bolts that are visible, but ultimately harmless, designed for target practice."
projectile_type = /obj/projectile/energy/disruptorstun/practice
secondary_projectile_type = /obj/projectile/energy/blaster/disruptor/practice
firemodes = list(
list(mode_name="stun (practice)", projectile_type=/obj/projectile/energy/disruptorstun/practice, modifystate="disruptorpistolstun", fire_sound = 'sound/weapons/gunshot/bolter.ogg'),
list(mode_name="lethal (practice)", projectile_type=/obj/projectile/energy/blaster/disruptor/practice, modifystate="disruptorpistolkill", recoil = 1, fire_sound = 'sound/weapons/gunshot/bolter.ogg')
)
/obj/item/gun/energy/disruptorpistol/security
pin = /obj/item/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 = 8
force = 3
slot_flags = SLOT_BELT|SLOT_HOLSTER|SLOT_POCKET
w_class = WEIGHT_CLASS_SMALL
/obj/item/gun/energy/disruptorpistol/miniature/security
pin = /obj/item/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 = 15
force = 14
/obj/item/gun/energy/disruptorpistol/magnum/security
pin = /obj/item/firing_pin/wireless