mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Animated shit will only last two minutes, per in-game discussion.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#define SPELL_ANIMATION_TTL 2 MINUTES
|
||||
|
||||
/obj/item/projectile/animate
|
||||
name = "bolt of animation"
|
||||
icon_state = "ice_1"
|
||||
@@ -9,5 +11,5 @@
|
||||
/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)
|
||||
new /mob/living/simple_animal/hostile/mimic/copy(O.loc, O, firer, duration=SPELL_ANIMATION_TTL)
|
||||
..()
|
||||
Reference in New Issue
Block a user