/
Lachklen
/
MYtgstation
Обзор
Документация
Войти
/
Lachklen
/
MYtgstation
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
code/modules/wiremod/shell/server.dm
24 строки
628 B
LemonInTheDark
Fixes complex lights not handling moving well, renames lighting defines (#81423)
12 фев 2024, 22:50
Не верифицирован
12 фев 2024, 22:50
7065181
Код
Авторство
О чём код?
/** * # Server * * Immobile (but not dense) shells that can interact with * world. */ /obj/structure/server name = "server" icon = 'icons/obj/science/circuits.dmi' icon_state = "setup_stationary" density = TRUE light_system = OVERLAY_LIGHT light_on = FALSE /obj/structure/server/Initialize(mapload) . = ..() AddComponent(/datum/component/shell, null, SHELL_CAPACITY_VERY_LARGE, SHELL_FLAG_REQUIRE_ANCHOR|SHELL_FLAG_USB_PORT) /obj/structure/server/wrench_act(mob/living/user, obj/item/tool) set_anchored(!anchored) tool.play_tool_sound(src) balloon_alert(user, anchored ? "secured" : "unsecured") return TRUE