Merge pull request #646 from Sharkmare/patch-77

New stun beam type + Gun
This commit is contained in:
AnonymousHybi
2019-04-24 01:22:41 +01:00
committed by GitHub
2 changed files with 27 additions and 2 deletions
@@ -3,4 +3,20 @@
fire_delay = 4
/obj/item/weapon/gun/energy/stunrevolver
charge_cost = 400
charge_cost = 400
//CHOMPEDIT:
/obj/item/weapon/gun/energy/stunrevolver/oneshot
desc = "A heavily modified LAEP20 Zeus. It fires a beam instead of an electrode. The massive recoil makes it only useful as a last resort weapon."
charge_cost = 2400
projectile_type = /obj/item/projectile/beam/stun/oneshot
/obj/item/weapon/gun/energy/stunrevolver/oneshot/Fire(atom/target, mob/living/user, clickparams, pointblank=0, reflex=0)
..()
if(iscarbon(user))
var/mob/living/carbon/nerd = user
var/mysize = nerd.size_multiplier
nerd.Weaken(3-mysize) //200% gets the knockdown micros usually get now from firing a gun. Micros get their base knockdown + this.
nerd.adjustBruteLoss(10-mysize*4) //This means 200% = 10-8; 100% = 10-4; etc
+10 -1
View File
@@ -18,6 +18,7 @@
muzzle_type = /obj/effect/projectile/laser/muzzle
tracer_type = /obj/effect/projectile/laser/tracer
impact_type = /obj/effect/projectile/laser/impact
/obj/item/projectile/beam/practice
name = "laser"
@@ -210,4 +211,12 @@
/obj/item/projectile/beam/stun/med
name = "stun beam"
icon_state = "stun"
agony = 35
agony = 35
//CHOMPEDIT: Charge beam that drains all power
/obj/item/projectile/beam/stun/oneshot
name = "Overdrive Stun beam"
light_color = "#AA00FF"
//shotcost = 2400
agony = 240
//CHOMPEDIT END.