Space Station 13 - Modules - TypesVar Details - Proc Details

Ninja Suit

Space ninja's suit. Gives space ninja all his iconic powers, which are mostly kept in the folder ninja_equipment_actions. Has a lot of unique stuff going on, so make sure to check the variables. Check suit_attackby to see uranium interactions, disk copying, and cell replacement.

Vars

a_boostАдреналин. Для удобства обращения к нему костюма.
a_transferСколько кусков урана требуется для восстановления адреналина/лечащего коктейля? От этой цифры так же зависит объём радия вводимый в тело после адренала
actions_typesАбилки костюма
affectingThe person wearing the suit
allowed_preview_statesЛист доступных спрайтов из 'icons/mob/ninja_previews.dmi' для tgui.
allowed_statesЛист доступных спрайтов из 'icons/mob/actions/actions_ninja.dmi' для tgui.
anyoneUI stuff end /// Может ли костюм применять кто угодно или только Ниндзя с datum-ом в mind-е?
auto_dustБудет ли или не будет автоматически убит ниндзя когда достигнет критического состояния здоровья.
auto_smokeЕсли у нас есть способность выпускать дым, этот флаг отвечает за то будут ли другие способности пытаться делать это сами Переключается игроком, через отдельный action
blocked_TGUI_rowsДля хранения заблокированных рядов в таблице покупки навыков
boost_phrasesФразы выкрикиваемые носящим при активации адреналина
bying_abilityФлаг отвечающий за то, можно ли сейчас купить ещё абилку. Нужен для предотвращения уязвимости позволяющей потенциально купить все абилки Стандартно должен быть FALSE
cellIf this is a path, this gets created as an object in Initialize.
cloning_refРеференс клонёрки. Если куплена способность. Ниндзя записывается в неё при активации костюма. И 1 раз клонируется
designsДля персонализации скина костюма
disguiseЗаписанная маскировка для хамелиона
disguise_activeФлаг Хамелиона
energyKatanaThe katana registered with the suit, used for recalling and catching the katana. Set when the ninja outfit is created.
heal_chemsЛечащие химикаты. Для удобства обращения к ним костюма.
health_thresholdСколько у ниндзя должно быть здоровья, чтобы его автоматически убило. (Переключается между -90 и 0)
jetpackВстроенный в костюм джетпак
n_backpackThe space ninja's backpack
n_glovesThe space ninja's gloves.
n_headsetThe space ninja's headset
n_hoodОдежда ниндзя. Большая часть этой одежды блокируется на нём при включении костюма The space ninja's hood.
n_id_cardThe space ninja's chameleon id card used only to fake sechuds while using chameleon
n_maskThe space ninja's mask.
n_scarfThe space ninja's scarf. An alternative wear if ninja doesn't want to cover his hairs with hood.
n_shoesThe space ninja's shoes.
ninja_clonableКупил ли ниндзя клон абилку?
ninja_martialКупил ли ниндзя боевое исскуство?
s_TGUI_initializedДля отслеживание инициализации/деинициализации отдельно для TGUI Ибо из-за быстрого обновления данных в TGUI он может застрять на экране загрузки
s_acostДополнительные затраты энергии за активированные хамелион и/или невидимость за тик
s_busyWhether or not the wearer is in the middle of an action, like hacking.
s_costКак много энергии тратит костюм каждый тик
s_delayКак быстро костюм выполняет некоторые задачи. Преимущественно влияет на скорость активации/деактивации костюма.
s_initializedАктивирован ли костюм? В начале всегда деактивирован.
s_spirit_form__percent_costПроцент энергии тратящийся формой духа каждый тик process
show_concentration_UIUI stuff /// Флаги отвечающие за то - показываем мы или нет интерфейс заряда и концентрации ниндзя
shuriken_emitterСоздаются способностями и помещаются в руку Удаляются полностью при убирании из руки
shuttle_controllerРеференс для компьютера шатла
slowdownМы не хотим чтобы ниндзю замедлял его же костюм!
smoke_systemThe suit's smoke system. For the tactical smoke escapes and other smokey things!
spark_systemThe suit's spark system, used for... sparking.
spiritedФлаг Формы духа
stealthФлаги состояний ниндзя. Флаг невидимости. Не даёт невидимость сам по себе как и другие подобные флаги ниже Лишь сообщает костюму - "Мы сейчас невидимы"
stealth_ambient_chanceШанс выдачи флавор намёка о том что рядом ниндзя в инвизе. В процентах.
style_preview_icon_stateПревью отображающееся сейчас в tgui. Позволяет предпросмотреть настройки внешности костюма
suit_tgui_stateКонтроллер текущего состояния интерфейса NINJA_TGUI_MAIN_SCREEN_STATE = Покупка абилок, управление шаттлом, советы и кнопка для активации костюма NINJA_TGUI_LOADING_STATE = Экран загрузки при включении/выключении костюма
vamp_protection_activeФлаг дающий защиту от некоторых способностей вампира пока на нас костюм

Procs

cancel_spirit_formProc called to cancel spirit form.
cancel_stealthProc called to cancel stealth.
deinitializeDeinitializes the ninja suit
lockIconsProc for changing the suit's appearance to the selected design.
lock_suitProc called to lock the important gear pieces onto space ninja's body.
ninitializeInitializes the ninja suit
ninja_autodustProc called to dust the ninja!
ninja_sword_recallProc called to recall the ninja's sword.
ninja_toggle_autodustProc called to enable/disable autodust.
ninjaboostProc called to activate space ninja's adrenaline.
ninjaboost_afterProc called to inject the ninja with radium.
ninjacostProc called to check if the ninja can afford an ability's cost.
ninjapulseProc called to allow the ninja to EMP the nearby area. By default, costs 500E, which is half of the default battery's max charge. Also affects the ninja as well.
ninjastarProc called to create a ninja star in the ninja's hands.
ninjastatusProc called to put a status readout to the ninja in chat.
terminateProc used to delete all the attachments and itself. Can be called to entire rid of the suit pieces and the suit itself.
toggle_chameleonWhen reloading our disguise via helper, we don't need to do some things. That's why the "extra_important_things" flag is here.
toggle_on_offToggles the ninja suit on/off
toggle_spirit_formProc called to toggle spirit form.
toggle_stealthProc called to toggle ninja stealth.
unlockIconsProc for changing the suit's appearance back to default state.
unlock_suitProc called to unlock all the gear off space ninja's body. Proc which is essentially the opposite of lock_suit. Lets you take off all the suit parts.

Var Details

a_boost

Адреналин. Для удобства обращения к нему костюма.

a_transfer

Сколько кусков урана требуется для восстановления адреналина/лечащего коктейля? От этой цифры так же зависит объём радия вводимый в тело после адренала

actions_types

Абилки костюма

affecting

The person wearing the suit

allowed_preview_states

Лист доступных спрайтов из 'icons/mob/ninja_previews.dmi' для tgui.

allowed_states

Лист доступных спрайтов из 'icons/mob/actions/actions_ninja.dmi' для tgui.

anyone

UI stuff end /// Может ли костюм применять кто угодно или только Ниндзя с datum-ом в mind-е?

auto_dust

Будет ли или не будет автоматически убит ниндзя когда достигнет критического состояния здоровья.

auto_smoke

Если у нас есть способность выпускать дым, этот флаг отвечает за то будут ли другие способности пытаться делать это сами Переключается игроком, через отдельный action

blocked_TGUI_rows

Для хранения заблокированных рядов в таблице покупки навыков

boost_phrases

Фразы выкрикиваемые носящим при активации адреналина

bying_ability

Флаг отвечающий за то, можно ли сейчас купить ещё абилку. Нужен для предотвращения уязвимости позволяющей потенциально купить все абилки Стандартно должен быть FALSE

cell

If this is a path, this gets created as an object in Initialize.

cloning_ref

Референс клонёрки. Если куплена способность. Ниндзя записывается в неё при активации костюма. И 1 раз клонируется

designs

Для персонализации скина костюма

disguise

Записанная маскировка для хамелиона

disguise_active

Флаг Хамелиона

energyKatana

The katana registered with the suit, used for recalling and catching the katana. Set when the ninja outfit is created.

heal_chems

Лечащие химикаты. Для удобства обращения к ним костюма.

health_threshold

Сколько у ниндзя должно быть здоровья, чтобы его автоматически убило. (Переключается между -90 и 0)

jetpack

Встроенный в костюм джетпак

n_backpack

The space ninja's backpack

n_gloves

The space ninja's gloves.

n_headset

The space ninja's headset

n_hood

Одежда ниндзя. Большая часть этой одежды блокируется на нём при включении костюма The space ninja's hood.

n_id_card

The space ninja's chameleon id card used only to fake sechuds while using chameleon

n_mask

The space ninja's mask.

n_scarf

The space ninja's scarf. An alternative wear if ninja doesn't want to cover his hairs with hood.

n_shoes

The space ninja's shoes.

ninja_clonable

Купил ли ниндзя клон абилку?

ninja_martial

Купил ли ниндзя боевое исскуство?

s_TGUI_initialized

Для отслеживание инициализации/деинициализации отдельно для TGUI Ибо из-за быстрого обновления данных в TGUI он может застрять на экране загрузки

s_acost

Дополнительные затраты энергии за активированные хамелион и/или невидимость за тик

s_busy

Whether or not the wearer is in the middle of an action, like hacking.

s_cost

Как много энергии тратит костюм каждый тик

s_delay

Как быстро костюм выполняет некоторые задачи. Преимущественно влияет на скорость активации/деактивации костюма.

s_initialized

Активирован ли костюм? В начале всегда деактивирован.

s_spirit_form__percent_cost

Процент энергии тратящийся формой духа каждый тик process

show_concentration_UI

UI stuff /// Флаги отвечающие за то - показываем мы или нет интерфейс заряда и концентрации ниндзя

shuriken_emitter

Создаются способностями и помещаются в руку Удаляются полностью при убирании из руки

shuttle_controller

Референс для компьютера шатла

slowdown

Мы не хотим чтобы ниндзю замедлял его же костюм!

smoke_system

The suit's smoke system. For the tactical smoke escapes and other smokey things!

spark_system

The suit's spark system, used for... sparking.

spirited

Флаг Формы духа

stealth

Флаги состояний ниндзя. Флаг невидимости. Не даёт невидимость сам по себе как и другие подобные флаги ниже Лишь сообщает костюму - "Мы сейчас невидимы"

stealth_ambient_chance

Шанс выдачи флавор намёка о том что рядом ниндзя в инвизе. В процентах.

style_preview_icon_state

Превью отображающееся сейчас в tgui. Позволяет предпросмотреть настройки внешности костюма

suit_tgui_state

Контроллер текущего состояния интерфейса NINJA_TGUI_MAIN_SCREEN_STATE = Покупка абилок, управление шаттлом, советы и кнопка для активации костюма NINJA_TGUI_LOADING_STATE = Экран загрузки при включении/выключении костюма

vamp_protection_active

Флаг дающий защиту от некоторых способностей вампира пока на нас костюм

Proc Details

cancel_spirit_form

Proc called to cancel spirit form.

Called to cancel the spirit form effect if it is ongoing. Does nothing otherwise. Arguments:

cancel_stealth

Proc called to cancel stealth.

Called to cancel the stealth effect if it is ongoing. Does nothing otherwise. Arguments:

deinitialize

Deinitializes the ninja suit

Deinitializes the ninja suit through eight phases, each of which calls this proc with an incremented phase Arguments:

lockIcons

Proc for changing the suit's appearance to the selected design.

Arguments:

lock_suit

Proc called to lock the important gear pieces onto space ninja's body.

Called during the suit startup to lock all gear pieces onto space ninja. Terminates if a gear piece is not being worn. If the person in the suit isn't a ninja when this is called, this proc just dusts them instead. (Добавила параметр anyone, позволяющий обойти гиб "не ниндзя" через vv)

Arguments:

ninitialize

Initializes the ninja suit

Initializes the ninja suit through declared in _ninjaDefines phases, each of which calls this proc with an incremented phase Arguments:

ninja_autodust

Proc called to dust the ninja!

ninja_sword_recall

Proc called to recall the ninja's sword.

Called to summon the ninja's katana back to them If the katana can see the ninja, it will throw itself towards them. If not, the katana will teleport itself to the ninja.

ninja_toggle_autodust

Proc called to enable/disable autodust.

ninjaboost

Proc called to activate space ninja's adrenaline.

Proc called to use space ninja's adrenaline. Gets the ninja out of almost any stun. Also makes them shout MG and DMC references when used. After a bit, it injects the user with radium by calling a different proc.

ninjaboost_after

Proc called to inject the ninja with radium.

Used after 7 seconds of using the ninja's adrenaline.

ninjacost

Proc called to check if the ninja can afford an ability's cost.

Proc which determine whether or not a space ninja can afford to use a specific ability. It can also cancel stealth if the ability requested it. Arguments:

ninjapulse

Proc called to allow the ninja to EMP the nearby area. By default, costs 500E, which is half of the default battery's max charge. Also affects the ninja as well.

ninjastar

Proc called to create a ninja star in the ninja's hands.

Called to create a ninja star in the wearer's hand. The ninja star doesn't do much up-front damage, but deals stamina damage as the target moves around, forcing a finish or flee scenario.

ninjastatus

Proc called to put a status readout to the ninja in chat.

Called put some information about the ninja's current status into chat. This information used to be displayed constantly on the status tab screen when the suit was on, but was turned into this as to remove the code from human.dm

terminate

Proc used to delete all the attachments and itself. Can be called to entire rid of the suit pieces and the suit itself.

toggle_chameleon

When reloading our disguise via helper, we don't need to do some things. That's why the "extra_important_things" flag is here.

toggle_on_off

Toggles the ninja suit on/off

Attempts to initialize or deinitialize the ninja suit

toggle_spirit_form

Proc called to toggle spirit form.

Proc called to toggle whether or not the ninja is in spirit form. If cancelling, calls a separate proc in case something else needs to quickly cancel spirit form.

toggle_stealth

Proc called to toggle ninja stealth.

Proc called to toggle whether or not the ninja is in stealth mode. If cancelling, calls a separate proc in case something else needs to quickly cancel stealth.

unlockIcons

Proc for changing the suit's appearance back to default state.

Arguments:

unlock_suit

Proc called to unlock all the gear off space ninja's body. Proc which is essentially the opposite of lock_suit. Lets you take off all the suit parts.