Шаблон:Goob:Serialization/EntityEffect/conditions: различия между версиями

Нет описания правки
Нет описания правки
Строка 3: Строка 3:
| !type:OrganType = {{#ifeq: {{{inverted|}}} | true | нет метаболизм | метаболизм }}: {{#invoke:GetField|jsonList|{{{type}}}|type=enum|value_replace=<nowiki>{{loc|режим=GetRawString|{{#invoke:GetField|get|\1|prototype/metabolizerType.json|name}}}}</nowiki>}}
| !type:OrganType = {{#ifeq: {{{inverted|}}} | true | нет метаболизм | метаболизм }}: {{#invoke:GetField|jsonList|{{{type}}}|type=enum|value_replace=<nowiki>{{loc|режим=GetRawString|{{#invoke:GetField|get|\1|prototype/metabolizerType.json|name}}}}</nowiki>}}
| !type:MobStateCondition = состояние тела {{#ifeq: {{{inverted|}}} | true | не }} {{serialization/MobState|{{{mobstate|Alive}}}}}
| !type:MobStateCondition = состояние тела {{#ifeq: {{{inverted|}}} | true | не }} {{serialization/MobState|{{{mobstate|Alive}}}}}
| !type:TotalDamageCondition = тело {{#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 = температура раствора составляет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }}
| !type:TemperatureCondition|!type:Temperature = температура раствора составляет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }}
| !type:TagCondition = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет метку <code>{{{tag}}}</code>
| !type:TagCondition = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет метку <code>{{{tag}}}</code>
| !type:HungerCondition = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} общего голода
| !type:HungerCondition = цель {{#ifeq: {{{inverted|}}} | true | не }} имеет {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }} общего голода
Строка 10: Строка 10:
| !type:Internals = цель {{#ifeq: {{{inverted|}}} | true | дышит через баллон | дышит атмосферным воздухом }}.
| !type:Internals = цель {{#ifeq: {{{inverted|}}} | true | дышит через баллон | дышит атмосферным воздухом }}.


|!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/ComponentRegistry}}.
| !type:HasComponentOnEquipmentCondition = {{#ifeq: {{{inverted|}}} | true | нет | ecnm }} компонент от одежды {{#invoke:GetField|json|{{{components}}}|serialization/ComponentRegistry}}.
|!type:UniqueBloodstreamChemThreshold = киличество реагентов {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }}
| !type:UniqueBloodstreamChemThreshold = киличество реагентов {{#if: {{{min|}}} | от '''{{{min}}}''' ед. }} {{#if: {{{max|}}} | до '''{{{max}}}''' ед. }}
| !type:HasTag = {{#ifeq: {{{inverted|}}} | true | не }} имеет тег <code>tag</code>.
| !type:PressureThreshold = давление от {{#if: {{{min|}}} | от '''{{{min}}}''' кПа }} {{#if: {{{max|}}} | до '''{{{max}}}''' кПа }}.


|#default = Неизвестное условие: <code>{{{id}}}</code> [{{править|Шаблон:Goob:Serialization/EntityEffect/conditions}}]<includeonly>[[Категория:Страницы с ошибкой полей]]</includeonly>
|#default = Неизвестное условие: <code>{{{id}}}</code> [{{править|Шаблон:Goob:Serialization/EntityEffect/conditions}}]<includeonly>[[Категория:Страницы с ошибкой полей]]</includeonly>
}}</div>
}}</div>