mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
# Conflicts: # .github/workflows/compile_all_maps.yml # .github/workflows/run_integration_tests.yml # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # code/_onclick/hud/credits.dm # code/controllers/subsystem/networks/id_access.dm # code/datums/diseases/advance/advance.dm # code/datums/diseases/advance/symptoms/heal.dm # code/game/machinery/doors/door.dm # code/game/objects/structures/crates_lockers/closets/secure/medical.dm # code/game/objects/structures/crates_lockers/closets/secure/security.dm # code/modules/antagonists/malf_ai/malf_ai_modules.dm # code/modules/jobs/job_types/_job.dm # code/modules/loadout/categories/accessories.dm # code/modules/loadout/loadout_helpers.dm # code/modules/loadout/loadout_items.dm # code/modules/loadout/loadout_preference.dm # code/modules/mob/living/silicon/robot/robot_defense.dm # code/modules/mod/mod_theme.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/reagents/reagent_containers/cups/drinks.dm # code/modules/shuttle/mobile_port/variants/supply.dm # code/modules/surgery/organs/internal/eyes/_eyes.dm # code/modules/unit_tests/screenshots/screenshot_antag_icons_heretic.png # icons/hud/screen_full.dmi
74 lines
2.9 KiB
Plaintext
74 lines
2.9 KiB
Plaintext
/obj/item/gun/energy/taser
|
|
name = "taser gun"
|
|
desc = "A low-capacity, energy-based stun gun used by security teams to subdue targets at range."
|
|
icon_state = "taser"
|
|
inhand_icon_state = null //so the human update icon uses the icon_state instead.
|
|
light_color = LIGHT_COLOR_DIM_YELLOW
|
|
ammo_type = list(/obj/item/ammo_casing/energy/electrode)
|
|
ammo_x_offset = 3
|
|
|
|
/obj/item/gun/energy/e_gun/advtaser
|
|
name = "hybrid taser"
|
|
desc = "A dual-mode taser designed to fire both short-range high-power electrodes and long-range disabler beams."
|
|
icon_state = "advtaser"
|
|
ammo_type = list(/obj/item/ammo_casing/energy/disabler, /obj/item/ammo_casing/energy/electrode) // BUBBER EDIT CHANGE - Original: ammo_type = list(/obj/item/ammo_casing/energy/electrode, /obj/item/ammo_casing/energy/disabler)
|
|
ammo_x_offset = 2
|
|
|
|
/obj/item/gun/energy/e_gun/advtaser/cyborg
|
|
name = "cyborg taser"
|
|
desc = "An integrated hybrid taser that draws directly from a cyborg's power cell. The weapon contains a limiter to prevent the cyborg's power cell from overheating."
|
|
can_charge = FALSE
|
|
use_cyborg_cell = TRUE
|
|
|
|
/obj/item/gun/energy/e_gun/advtaser/cyborg/Initialize(mapload)
|
|
. = ..()
|
|
AddElement(/datum/element/empprotection, EMP_PROTECT_ALL)
|
|
|
|
/obj/item/gun/energy/e_gun/advtaser/cyborg/add_seclight_point()
|
|
return
|
|
|
|
/obj/item/gun/energy/disabler
|
|
name = "disabler"
|
|
desc = "A self-defense weapon that exhausts organic targets, weakening them until they collapse."
|
|
icon_state = "disabler"
|
|
inhand_icon_state = null
|
|
ammo_type = list(/obj/item/ammo_casing/energy/disabler)
|
|
ammo_x_offset = 2
|
|
|
|
/obj/item/gun/energy/disabler/add_seclight_point()
|
|
AddComponent(/datum/component/seclite_attachable, \
|
|
light_overlay_icon = 'icons/obj/weapons/guns/flashlights.dmi', \
|
|
light_overlay = "flight", \
|
|
overlay_x = 15, \
|
|
overlay_y = 10)
|
|
|
|
/obj/item/gun/energy/disabler/smg
|
|
name = "disabler smg"
|
|
desc = "An automatic disabler variant, as opposed to the conventional model, boasts a higher ammunition capacity at the cost of slightly reduced beam effectiveness."
|
|
icon_state = "disabler_smg"
|
|
ammo_type = list(/obj/item/ammo_casing/energy/disabler/smg)
|
|
shaded_charge = 1
|
|
|
|
/obj/item/gun/energy/disabler/smg/Initialize(mapload)
|
|
. = ..()
|
|
AddComponent(/datum/component/automatic_fire, 0.15 SECONDS, allow_akimbo = FALSE)
|
|
|
|
/obj/item/gun/energy/disabler/add_seclight_point()
|
|
AddComponent(\
|
|
/datum/component/seclite_attachable, \
|
|
light_overlay_icon = 'icons/obj/weapons/guns/flashlights.dmi', \
|
|
light_overlay = "flight", \
|
|
overlay_x = 15, \
|
|
overlay_y = 13, \
|
|
)
|
|
|
|
/obj/item/gun/energy/disabler/cyborg
|
|
name = "cyborg disabler"
|
|
desc = "An integrated disabler that draws from a cyborg's power cell. This weapon contains a limiter to prevent the cyborg's power cell from overheating."
|
|
can_charge = FALSE
|
|
use_cyborg_cell = TRUE
|
|
|
|
/obj/item/gun/energy/disabler/cyborg/Initialize(mapload)
|
|
. = ..()
|
|
AddElement(/datum/element/empprotection, EMP_PROTECT_ALL)
|