a26ffb2040
* Fixes wormhole projectors and gravity manipulators for pacifists * code cleanup * didn't mean to push that! * removes gravgun * Update code/modules/projectiles/ammunition/energy/portal.dm Co-Authored-By: ShizCalev <ShizCalev@users.noreply.github.com>
20 lines
442 B
Plaintext
20 lines
442 B
Plaintext
/obj/item/projectile/meteor
|
|
name = "meteor"
|
|
icon = 'icons/obj/meteor.dmi'
|
|
icon_state = "small1"
|
|
damage = 0
|
|
damage_type = BRUTE
|
|
nodamage = TRUE
|
|
flag = "bullet"
|
|
|
|
/obj/item/projectile/meteor/Bump(atom/A)
|
|
if(A == firer)
|
|
forceMove(A.loc)
|
|
return
|
|
A.ex_act(EXPLODE_HEAVY)
|
|
playsound(src.loc, 'sound/effects/meteorimpact.ogg', 40, 1)
|
|
for(var/mob/M in urange(10, src))
|
|
if(!M.stat)
|
|
shake_camera(M, 3, 1)
|
|
qdel(src)
|