mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
* Kills obj/item/projectile in favour of obj/projectile * Resolves conflicts properly * fixes that one map * it lives
20 lines
435 B
Plaintext
20 lines
435 B
Plaintext
/obj/projectile/meteor
|
|
name = "meteor"
|
|
icon = 'icons/obj/meteor.dmi'
|
|
icon_state = "small1"
|
|
damage = 0
|
|
damage_type = BRUTE
|
|
nodamage = TRUE
|
|
flag = "bullet"
|
|
|
|
/obj/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, TRUE)
|
|
for(var/mob/M in urange(10, src))
|
|
if(!M.stat)
|
|
shake_camera(M, 3, 1)
|
|
qdel(src)
|