mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-29 02:31:49 +00:00
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
13 lines
399 B
Plaintext
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)
|
|
. = ..()
|