Files
CHOMPStation2/code/modules/vore/fluffstuff/guns/pummeler.dm
Arokha Sieyes bd39011ab4 NSFW Gun
Also fixes slidey walls at centcom, gives the ERT commander a NSFW with stun, xray, lethal, and net. Gives deathsquad a full NSFW kit (including 'final option' ammo), replaces my own fluff Hunter with a NSFW with stun and net (so, same as the hunter, but that sprite is so badass I can't help it), and fixes a typo on my permit while I'm on there (KIN isn't a thing, KHI is).
2017-06-17 15:44:52 -04:00

58 lines
1.8 KiB
Plaintext

// -------------- Pummeler -------------
/obj/item/weapon/gun/energy/pummeler
name = "\improper PML9 \'Pummeler\'"
desc = "For when you want to get that pesky marketing guy out of your face ASAP. The pummeler fires one HUGE \
sonic blast in the direction of fire, throwing the target away from you at high speed. Now you can REALLY \
turn up the bass to max."
description_info = "This gun punts people away and has a chance of knocking them down briefly. It may also throw them over railings in the process!"
description_fluff = ""
description_antag = ""
icon = 'icons/vore/custom_guns_vr.dmi'
icon_state = "pum"
icon_override = 'icons/vore/custom_guns_vr.dmi'
item_state = "gun"
fire_sound = 'sound/effects/basscannon.ogg'
projectile_type = /obj/item/projectile/pummel
charge_cost = 600
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_MAGNET = 5)
slot_flags = SLOT_BELT|SLOT_BACK
w_class = ITEMSIZE_LARGE
//Projectile
/obj/item/projectile/pummel
name = "sonic blast"
icon_state = "sound"
damage = 5
damage_type = BRUTE
check_armour = "melee"
embed_chance = 0
vacuum_traversal = 0
kill_count = 6 //Scary name, but just deletes the projectile after this range
/obj/item/projectile/pummel/on_hit(var/atom/movable/target, var/blocked = 0)
if(isliving(target))
var/mob/living/L = target
var/throwdir = get_dir(firer,L)
if(prob(40) && !blocked)
L.Stun(1)
L.Confuse(1)
L.throw_at(get_edge_target_turf(L, throwdir), rand(3,6), 10)
return 1
//R&D Design
/datum/design/item/weapon/pummeler
desc = "With the 'Pummeler', punt anyone you don't like out of the room!"
id = "pummeler"
req_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_MAGNET = 5)
materials = list(DEFAULT_WALL_MATERIAL = 3000, "glass" = 3000, "uranium" = 1000)
build_path = /obj/item/weapon/gun/energy/pummeler
sort_string = "TAADC"