mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
It's a bit wonky due to lighting only updating once every half-second, but it's very much functional, at least on my desktop.
17 lines
488 B
Plaintext
17 lines
488 B
Plaintext
/obj/item/projectile/animate
|
|
name = "bolt of animation"
|
|
icon_state = "ice_1"
|
|
damage = 0
|
|
damage_type = BURN
|
|
nodamage = 1
|
|
check_armour = "energy"
|
|
light_range = 2
|
|
light_power = 0.5
|
|
light_color = "#55AAFF"
|
|
|
|
/obj/item/projectile/animate/Bump(var/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)
|
|
..()
|