mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Xenofauna Guns (#10700)
This commit is contained in:
@@ -199,13 +199,19 @@
|
||||
/obj/item/gun/energy/mousegun/emag_act(var/remaining_charges, var/mob/user)
|
||||
if(!emagged)
|
||||
to_chat(user, SPAN_WARNING("You overload \the [src]'s shock modulator."))
|
||||
max_shots = 10
|
||||
max_shots = initial(max_shots) + 4
|
||||
projectile_type = /obj/item/projectile/beam/mousegun/emag
|
||||
emagged = TRUE
|
||||
QDEL_NULL(power_supply)
|
||||
power_supply = new /obj/item/cell/device/variable(src, max_shots * charge_cost)
|
||||
return TRUE
|
||||
|
||||
/obj/item/gun/energy/mousegun/xenofauna
|
||||
name = "xenofauna gun"
|
||||
desc = "The NT \"Xenovermino\" Zap-Blast is a highly sophisticated and probably safe beamgun designed to deal with hostile xenofauna."
|
||||
projectile_type = /obj/item/projectile/beam/mousegun/xenofauna
|
||||
max_shots = 12
|
||||
|
||||
/obj/item/gun/energy/net
|
||||
name = "net gun"
|
||||
desc = "A gun designed to deploy energy nets to capture animals or unruly crew members."
|
||||
|
||||
@@ -280,6 +280,16 @@
|
||||
to_chat(M, 'sound/effects/basscannon.ogg')
|
||||
return TRUE
|
||||
|
||||
/obj/item/projectile/beam/mousegun/xenofauna
|
||||
nodamage = FALSE
|
||||
damage = 10
|
||||
|
||||
/obj/item/projectile/beam/mousegun/xenofauna/mousepulse(atom/target, range, log)
|
||||
if(is_type_in_list(target, list(/mob/living/simple_animal/hostile/retaliate/cavern_dweller, /mob/living/simple_animal/hostile/carp, /mob/living/simple_animal/carp, /mob/living/simple_animal/hostile/giant_spider)))
|
||||
var/mob/living/simple_animal/SA = target
|
||||
SA.take_organ_damage(0, 20)
|
||||
return TRUE
|
||||
|
||||
/obj/item/projectile/beam/shotgun
|
||||
name = "diffuse laser"
|
||||
icon_state = "laser"
|
||||
|
||||
Reference in New Issue
Block a user