Шаблон:Serialization/EntityEffect/conditions/Goob: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| (не показано 13 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
<div>Если {{#switch: {{{ | <div>{{{prefix|Если }}}{{#switch: {{{1|}}} | ||
| !type:ReagentThreshold|!type:BloodReagentThreshold = количество {{#if: {{{reagent|}}} | [[Химия#chem_{{{reagent}}}|{{loc|режим=GetRawString|{{#invoke:GetField|get|{{{reagent}}}|prototype/ | | !type:ReagentThreshold|!type:BloodReagentThreshold = количество {{#if: {{{reagent|}}} | [[Химия#chem_{{{reagent}}}|{{loc|режим=GetRawString|{{#invoke:GetField|get|{{{reagent}}}|prototype/Reagent.json|name}}}}]] | реагентов}} {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} в крови | ||
| !type:OrganType = {{#ifeq: {{{ | | !type:OrganType = {{#ifeq: {{{shouldHave|}}} | false | метаболизм не | метаболизм }}: {{loc|режим=GetRawString|{{#invoke:GetField|get|{{{type}}}|prototype/MetabolizerType.json|name}}}} | ||
| !type:TotalDamageCondition|!type:TotalDamage|!type:TypedDamageThreshold = тело {{#ifeq: {{{inverted|}}} | true | не }} имеет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} общего урона | | !type:TotalDamageCondition|!type:TotalDamage|!type:TypedDamageThreshold = тело {{#ifeq: {{{inverted|}}} | true | не }} имеет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} общего урона | ||
| !type:TemperatureCondition|!type:Temperature = температура раствора составляет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} | | !type:TemperatureCondition|!type:Temperature = температура раствора составляет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} | ||
| !type:HungerCondition|!type:Hunger = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} общего голода | | !type:HungerCondition|!type:Hunger = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} общего голода | ||
| !type:Breathing = цель {{#ifeq: {{{ | | !type:Breathing = цель {{#ifeq: {{{isBreathing|}}} | false | дышит нормально | задыхается }} | ||
| !type:Internals = цель {{#ifeq: {{{ | | !type:Internals = цель {{#ifeq: {{{usingInternals|}}} | false | использует дыхательную маску | дышит атмосферным газом }} | ||
| !type:HasComponentCondition = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет {{loc|{{{guidebookComponentName}}}}}. | | !type:HasComponentCondition = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет {{loc|{{{guidebookComponentName}}}}}. | ||
| !type:HasComponentOnEquipmentCondition = {{#ifeq: {{{inverted|}}} | true | нет | ecnm }} компонент от одежды {{#invoke:GetField|json|{{{components}}}|serialization/ | | !type:HasComponentOnEquipmentCondition = {{#ifeq: {{{inverted|}}} | true | нет | ecnm }} компонент от одежды {{#invoke:GetField|json|{{{components}}}|serialization/Component}}. | ||
| !type:UniqueBloodstreamChemThreshold = | | !type:UniqueBloodstreamChemThreshold = количество реагентов {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} | ||
| !type:HasTag = {{#ifeq: {{{inverted|}}} | true | не }} имеет тег <code>tag</code>. | | !type:HasTag = {{#ifeq: {{{inverted|}}} | true | не }} имеет тег <code>tag</code>. | ||
| !type:PressureThreshold = давление от {{#if: {{{min|}}} | от '''{{{min}}}''' кПа }} {{#if: {{{max|}}} | до '''{{{max}}}''' кПа }}. | | !type:PressureThreshold = давление от {{#if: {{{min|}}} | от '''{{{min}}}''' кПа }} {{#if: {{{max|}}} | до '''{{{max}}}''' кПа }}. | ||
| !type:StaminaDamageThreshold = у цели {{#if: {{{min|}}} | от '''{{{min}}}''' }} {{#if: {{{max|}}} | до '''{{{max}}}''' }} урона выносливости. | |||
|#default = | | #default = {{#invoke:GetField|json|path=Corvax|idKey={{{1}}}|{{{value}}}|Serialization/EntityEffect|tplArgs=prefix=}} | ||
}}</div> | }}</div> | ||
Текущая версия от 08:02, 23 июня 2026
Если