mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
This PR rips out the old Bump() and Bumped() procs and replaces them with Collide() and CollidedWith() respectively. Behavior should be the same, but Bump() should no longer be double-called, and no longer relies on spawns. Other changes: LAssailant is now a weakref. Some direct loc setting are now forceMove().
14 lines
427 B
Plaintext
14 lines
427 B
Plaintext
/obj/item/projectile/animate
|
|
name = "bolt of animation"
|
|
icon_state = "ice_1"
|
|
damage = 0
|
|
damage_type = BURN
|
|
nodamage = 1
|
|
check_armour = "energy"
|
|
|
|
/obj/item/projectile/animate/Collide(atom/change)
|
|
if((istype(change, /obj/item) || istype(change, /obj/structure)) && !is_type_in_list(change, protected_objects))
|
|
var/obj/O = change
|
|
new /mob/living/simple_animal/hostile/mimic/copy(O.loc, O, firer)
|
|
. = ..()
|