SCC Things (#11330)

This commit is contained in:
Geeves
2021-03-18 17:10:36 +01:00
committed by GitHub
parent b05a01d0ab
commit 5960c2f2be
56 changed files with 673 additions and 445 deletions
@@ -176,3 +176,28 @@
list(mode_name="incapacitate", projectile_type=/obj/item/projectile/beam/stun, modifystate="hegemony_pistol", fire_sound='sound/weapons/Taser.ogg'),
list(mode_name="smite", projectile_type=/obj/item/projectile/beam/pistol/hegemony, modifystate="hegemony_pistol", fire_sound='sound/weapons/laser1.ogg')
)
/obj/item/gun/energy/repeater
name = "energy repeater"
desc = "A Stellar Corporate Conglomerate created energy repeater, extremely lightweight. It has three settings: Single, Three-Burst, and Full-Auto."
desc_fluff = "The SCC-ER1 was designed to be a reliable yet concealable firearm, capable of defending SCC assets and agents from various attackers."
icon = 'icons/obj/guns/erepeater.dmi'
icon_state = "energysmg100"
item_state = "energysmg100"
modifystate = "energysmg"
has_item_ratio = FALSE
fire_sound = 'sound/weapons/energy_repeater.ogg'
slot_flags = SLOT_BELT|SLOT_HOLSTER
max_shots = 20
fire_delay = 3
offhand_accuracy = 6 // same as firing it in your main hand
projectile_type = /obj/item/projectile/beam/pistol/scc
origin_tech = list(TECH_COMBAT = 5, TECH_MAGNET = 4)
firemodes = list(
list(mode_name="single", can_autofire = FALSE, burst = 1),
list(mode_name="three-burst", can_autofire = FALSE, burst = 3, burst_accuracy = list(1,0,0), dispersion = list(0, 10, 15)),
list(mode_name="full-auto", can_autofire = TRUE, burst = 1, burst_accuracy = list(0,-1,-1,-2,-2,-2,-3), dispersion = list(5, 10, 15, 20))
)
@@ -29,6 +29,13 @@
/obj/item/projectile/beam/pistol
damage = 25
/obj/item/projectile/beam/pistol/scc
armor_penetration = 15
muzzle_type = /obj/effect/projectile/muzzle/laser/scc
tracer_type = /obj/effect/projectile/tracer/laser/scc
impact_type = /obj/effect/projectile/impact/laser/scc
/obj/item/projectile/beam/pistol/hegemony
icon = 'icons/obj/guns/hegemony_pistol.dmi'
icon_state = "hegemony_pistol"