Animated shit will only last two minutes, per in-game discussion.

This commit is contained in:
Rob Nelson
2014-07-07 00:18:11 -07:00
parent e3f519eb31
commit 26a873b1da
3 changed files with 19 additions and 2 deletions

View File

@@ -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)
..()