/
githubmirror
/
vgstation13
Обзор
Документация
Войти
/
githubmirror
/
vgstation13
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bleeding-Edge
code/modules/spells/targeted/wrap.dm
27 строк
879 B
ShiftyRail
Undusts spell-code (#37506)
06 май 2025, 16:23
Не верифицирован
06 май 2025, 16:23
b67f77b
Код
Авторство
О чём код?
/spell/targeted/wrapping_paper name = "Wrap Gift" desc = "This spell turns a single person into an inert statue for a long period of time." user_type = USER_TYPE_ARTIFACT school = "transmutation" charge_cooldown_max = 30 SECONDS spell_flags = NEEDSCLOTHES | WAIT_FOR_CLICK range = 7 max_targets = 1 invocation = "W'APPIN' PR'SN'TS!" invocation_type = SP_INV_SHOUT amt_stunned = 5//just exists to make sure the giftwrap "catches" them cooldown_min = 3 SECONDS //10 seconds reduction per rank valid_targets = list(/mob/living) hud_state = "wrap" /spell/targeted/wrapping_paper/cast(var/list/targets, mob/user) ..() for(var/mob/living/target in targets) var/obj/present = new /obj/structure/strange_present(target.loc,target) if (target.client) target.client.perspective = EYE_PERSPECTIVE target.client.eye = present target.forceMove(present) return