Files
Aurora.3/code/modules/projectiles/projectile/animate.dm
Fluffy c5dabb9cda Armor defines (#20563)
Added armor defines
Converted raw strings use to defines
Added UT test to ensure people set the armor var correctly (to a list)

No player facing changes
2025-03-09 21:37:46 +00:00

13 lines
399 B
Plaintext

/obj/projectile/animate
name = "bolt of animation"
icon_state = "ice_1"
damage = 0
damage_type = DAMAGE_BURN
check_armor = ENERGY
/obj/projectile/animate/Collide(atom/change)
if((istype(change, /obj/item) || istype(change, /obj/structure)) && !is_type_in_list(change, GLOB.protected_objects))
var/obj/O = change
new /mob/living/simple_animal/hostile/mimic/copy(O.loc, O, firer)
. = ..()