/obj/item/gun/energy/rifle name = "energy rifle" desc = "A Nanotrasen designed energy-based rifle with two settings: Stun and Kill." desc_fluff = "The NT ER-2 is an energy rifle developed and produced by Nanotrasen. Widely produced and sold across the galaxy. Designed to both stun and kill with concentrated energy blasts of varying strengths based on the fire mode, focused through a crystal lens. Considered to be a dual-purpose rifle with prolonged combat capability." icon = 'icons/obj/guns/erifle.dmi' icon_state = "eriflestun100" icon_state = "eriflestun100" fire_sound = 'sound/weapons/Taser.ogg' slot_flags = SLOT_BACK w_class = ITEMSIZE_LARGE force = 10 max_shots = 20 fire_delay = 6 accuracy = -1 can_turret = 1 secondary_projectile_type = /obj/item/projectile/beam secondary_fire_sound = 'sound/weapons/laser1.ogg' can_switch_modes = 1 turret_sprite_set = "carbine" turret_is_lethal = 0 fire_delay_wielded = 1 accuracy_wielded = 2 sel_mode = 1 projectile_type = /obj/item/projectile/beam/stun matter = list(DEFAULT_WALL_MATERIAL = 2000) origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 2, TECH_MAGNET = 3) modifystate = "eriflestun" is_wieldable = TRUE firemodes = list( list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun, modifystate="eriflestun", fire_sound='sound/weapons/Taser.ogg'), list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="eriflekill", fire_sound='sound/weapons/laser1.ogg') ) /obj/item/gun/energy/rifle/laser name = "laser rifle" desc = "A Nanotrasen designed laser weapon, designed to kill with concentrated energy blasts." desc_fluff = "The NT LR-6 is a laser rifle developed and produced by Nanotrasen. Designed to kill with concentrated energy blasts focused through a crystal lens. It is considered to be the template of other standard laser weaponry." icon = 'icons/obj/guns/laserrifle.dmi' icon_state = "laserrifle" item_state = "laserrifle" has_item_ratio = FALSE // the back and suit slots have ratio sprites but the in-hands dont fire_sound = 'sound/weapons/laser1.ogg' max_shots = 15 fire_delay = 5 burst_delay = 5 origin_tech = list(TECH_COMBAT = 3, TECH_MAGNET = 2) projectile_type = /obj/item/projectile/beam secondary_projectile_type = null secondary_fire_sound = null can_switch_modes = 0 turret_sprite_set = "laser" turret_is_lethal = 1 firemodes = list() modifystate = null /obj/item/gun/energy/rifle/laser/update_icon() ..() if(wielded) item_state = "[initial(icon_state)]-wielded" else item_state = initial(item_state) update_held_icon() /obj/item/gun/energy/rifle/laser/heavy name = "laser cannon" desc = "A nanotrasen designed laser cannon capable of acting as a powerful support weapon." desc_fluff = "The NT LC-4 is a laser cannon developed and produced by Nanotrasen. Produced and sold to organizations both in need of a highly powerful support weapon and can afford its high unit cost. In spite of the low capacity, it is a highly capable tool, cutting down fortifications and armored targets with ease." icon = 'icons/obj/guns/lasercannon.dmi' icon_state = "lasercannon100" item_state = "lasercannon100" has_item_ratio = TRUE fire_sound = 'sound/weapons/lasercannonfire.ogg' projectile_type = /obj/item/projectile/beam/heavylaser origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 3, TECH_POWER = 3) charge_cost = 400 max_shots = 5 fire_delay = 40 accuracy = -2 secondary_projectile_type = null secondary_fire_sound = null can_switch_modes = 0 turret_sprite_set = "cannon" turret_is_lethal = 1 modifystate = "lasercannon" accuracy_wielded = 2 fire_delay_wielded = 20 /obj/item/gun/energy/rifle/laser/xray name = "xray laser rifle" desc = "A Nanotrasen designed high-power laser rifle capable of expelling concentrated xray blasts." desc_fluff = "The NT XR-1 is a laser firearm developed and produced by Nanotrasen. A recent innovation, used for specialist operations, it is presently being produced and sold in limited capacity over the galaxy. Designed for precision strikes, releasing concentrated xray blasts that are capable of hitting targets behind cover, all the while having a large ammo capacity." icon = 'icons/obj/guns/xrifle.dmi' icon_state = "xrifle" item_state = "xrifle" fire_sound = 'sound/weapons/laser3.ogg' projectile_type = /obj/item/projectile/beam/xray origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_ILLEGAL = 2) max_shots = 40 secondary_projectile_type = null secondary_fire_sound = null can_switch_modes = 0 turret_sprite_set = "xray" turret_is_lethal = 1 /obj/item/gun/energy/rifle/pulse name = "pulse rifle" desc = "A weapon that uses advanced pulse-based beam generation technology to emit powerful laser blasts. Because of its complexity and cost, it is rarely seen in use except by specialists." icon = 'icons/obj/guns/pulse.dmi' icon_state = "pulse" item_state = "pulse" fire_sound = 'sound/weapons/laser1.ogg' projectile_type = /obj/item/projectile/beam sel_mode = 2 origin_tech = list(TECH_COMBAT = 7, TECH_MATERIAL = 6, TECH_MAGNET = 4) secondary_projectile_type = /obj/item/projectile/beam/pulse secondary_fire_sound = 'sound/weapons/pulse.ogg' can_switch_modes = 0 turret_sprite_set = "pulse" turret_is_lethal = 1 modifystate = null firemodes = list( list(mode_name="stun", projectile_type=/obj/item/projectile/beam/stun, fire_sound='sound/weapons/Taser.ogg'), list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, fire_sound='sound/weapons/laser1.ogg'), list(mode_name="DESTROY", projectile_type=/obj/item/projectile/beam/pulse, fire_sound='sound/weapons/pulse.ogg') ) /obj/item/gun/energy/rifle/pulse/destroyer name = "pulse destroyer" desc = "A heavy-duty, pulse-based energy weapon. Because of its complexity and cost, it is rarely seen in use except by specialists." fire_sound = 'sound/weapons/pulse.ogg' projectile_type = /obj/item/projectile/beam/pulse burst_delay = 5 burst = 3 max_shots = 30 secondary_projectile_type = null secondary_fire_sound = null /obj/item/gun/energy/rifle/pulse/destroyer/attack_self(mob/living/user as mob) to_chat(user, "[src.name] has three settings, and they are all DESTROY.") /obj/item/gun/energy/rifle/laser/tachyon name = "tachyon rifle" desc = "A Vaurcan rifle that fires a beam of concentrated faster than light particles, capable of passing through most forms of matter." icon = 'icons/obj/vaurca_items.dmi' icon_state = "tachyonrifle" item_state = "tachyonrifle" has_item_ratio = FALSE fire_sound = 'sound/weapons/laser3.ogg' projectile_type = /obj/item/projectile/beam/tachyon origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_ILLEGAL = 2) secondary_projectile_type = null secondary_fire_sound = null can_switch_modes = 0 can_turret = 0 zoomdevicename = "rifle scope" var/obj/screen/overlay = null /obj/item/gun/energy/rifle/laser/tachyon/verb/scope() set category = "Object" set name = "Use Rifle Scope" set popup_menu = 1 if(wielded) toggle_scope(2.0, usr) else to_chat(usr, "You can't look through the scope without stabilizing the rifle!")