Template:Armor: Difference between revisions
From Vintage Story Wiki
No edit summary |
(Marked this version for translation) |
||
Line 15: | Line 15: | ||
}} }} | }} }} | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate>Protection</translate>'''</font> | |bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Protection</translate>'''</font> | ||
|- | |- | ||
| '''<translate>Relative</translate>''' || {{{RelativeProtection}}} | | '''<translate><!--T:2--> Relative</translate>''' || {{{RelativeProtection}}} | ||
|- | |- | ||
| '''<translate>Flat</translate>''' || {{{FlatDamageReduction}}} | | '''<translate><!--T:3--> Flat</translate>''' || {{{FlatDamageReduction}}} | ||
|- | |- | ||
| '''<translate>Protection Tier</translate>''' || {{{ProtectionTier}}} | | '''<translate><!--T:4--> Protection Tier</translate>''' || {{{ProtectionTier}}} | ||
{{#if: {{{HighDamageTierResistant|}}} | {{#!: | {{#if: {{{HighDamageTierResistant|}}} | {{#!: | ||
|- | |- | ||
|colspan="2"| <translate>High Damage Tier Resistant</translate> | |colspan="2"| <translate><!--T:5--> High Damage Tier Resistant</translate> | ||
}} }} | }} }} | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;" |<font color="white">'''<translate>Protection Losses</translate>'''</font> | |bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;" |<font color="white">'''<translate><!--T:6--> Protection Losses</translate>'''</font> | ||
|- | |- | ||
| '''<translate>Relative</translate>''' || {{{PerTierRelativeProtectionLossZero|0.03}}}, {{{PerTierRelativeProtectionLossOne|0.15}}} | | '''<translate><!--T:7--> Relative</translate>''' || {{{PerTierRelativeProtectionLossZero|0.03}}}, {{{PerTierRelativeProtectionLossOne|0.15}}} | ||
|- | |- | ||
| '''<translate>Flat</translate>''' || {{{PerTierFlatDamageReductionLossZero|0.1}}}, {{{PerTierFlatDamageReductionLossOne|0.2}}} | | '''<translate><!--T:8--> Flat</translate>''' || {{{PerTierFlatDamageReductionLossZero|0.1}}}, {{{PerTierFlatDamageReductionLossOne|0.2}}} | ||
<!-- This sucks --> | <!-- This sucks --> | ||
{{#if: {{{RangedWeaponsAcc|}}}{{{RangedWeaponsSpeed|}}}{{{WalkSpeed|}}}{{{HealingEffectivness|}}}{{{HungerRate|}}} | | {{#if: {{{RangedWeaponsAcc|}}}{{{RangedWeaponsSpeed|}}}{{{WalkSpeed|}}}{{{HealingEffectivness|}}}{{{HungerRate|}}} | | ||
{{#!: | {{#!: | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;" |<font color="white">'''<translate>Stat Modifiers</translate>'''</font> | |bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;" |<font color="white">'''<translate><!--T:9--> Stat Modifiers</translate>'''</font> | ||
{{#if: {{{RangedWeaponsAcc|}}} | {{#!: | {{#if: {{{RangedWeaponsAcc|}}} | {{#!: | ||
|- | |- | ||
| '''<translate>Ranged Weapons Accuracy</translate>''' || {{{RangedWeaponsAcc}}} | | '''<translate><!--T:10--> Ranged Weapons Accuracy</translate>''' || {{{RangedWeaponsAcc}}} | ||
}} }} | }} }} | ||
{{#if: {{{RangedWeaponsSpeed|}}} | {{#!: | {{#if: {{{RangedWeaponsSpeed|}}} | {{#!: | ||
|- | |- | ||
| '''<translate>Ranged Weapons Speed</translate>''' || {{{RangedWeaponsSpeed}}} | | '''<translate><!--T:11--> Ranged Weapons Speed</translate>''' || {{{RangedWeaponsSpeed}}} | ||
}} }} | }} }} | ||
{{#if: {{{WalkSpeed|}}} | {{#!: | {{#if: {{{WalkSpeed|}}} | {{#!: | ||
|- | |- | ||
| '''<translate>Walk Speed</translate>''' || {{{WalkSpeed}}} | | '''<translate><!--T:12--> Walk Speed</translate>''' || {{{WalkSpeed}}} | ||
}} }} | }} }} | ||
{{#if: {{{HealingEffectivness|}}} | {{#!: | {{#if: {{{HealingEffectivness|}}} | {{#!: | ||
|- | |- | ||
| '''<translate>Healing Effectivness</translate>''' || {{{HealingEffectivness}}} | | '''<translate><!--T:13--> Healing Effectivness</translate>''' || {{{HealingEffectivness}}} | ||
}} }} | }} }} | ||
{{#if: {{{HungerRate|}}} | {{#!: | {{#if: {{{HungerRate|}}} | {{#!: | ||
|- | |- | ||
| '''<translate>Hunger Rate</translate>''' || {{{HungerRate}}} | | '''<translate><!--T:14--> Hunger Rate</translate>''' || {{{HungerRate}}} | ||
}} }} | }} }} | ||
}} }} | }} }} | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Armors|<font color="white">'''<translate>Armors</translate>'''</font>]] | |bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Armors|<font color="white">'''<translate><!--T:15--> Armors</translate>'''</font>]] | ||
|}{{#if:{{{NoBreak|}}}||{{-}} }} | |}{{#if:{{{NoBreak|}}}||{{-}} }} | ||
[[Category:Armors{{#translation:}}]]</includeonly> | [[Category:Armors{{#translation:}}]]</includeonly> |
Revision as of 12:37, 6 August 2023
Template for armors. More or less a value copy from the armors.json in the assets.
Test | |
100px | |
Durability | 100 |
Fuel | |
Temperature | 600°C |
Duration | 10 s |
Protection | |
Percent protection | {{{PercentProtection}}}% |
Flat Damage Reduction (HP) | 0.6 |
Protection Tier | 0 |
Protection Losses | |
Relative | 0.03, 0.15 |
Flat | 0.1, 0.2 |
Armors |
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Sewn Linen |
Image | Required | [[File:Grid Sewn Linen Armor.png]] |
Durability | Required | 100 |
Temp | Optionnal | 600 |
Duration | Required if Temp | 10 |
RelativeProtection | Required | 0.6 |
FlatDamageReduction | Required | 0.6 |
ProtectionTier | Required | 0 |
HighDamageTierResistant | Optional | true |
PerTierRelativeProtectionLossZero | Optional, 0.03 | 0.15 |
PerTierRelativeProtectionLossOne | Optional, 0.15 | 0.03 |
PerTierFlatDamageReductionLossZero | Optional, 0.1 | 0.4 |
PerTierFlatDamageReductionLossOne | Optional, 0.2 | 0.5 |
RangedWeaponsAcc | Optional | -0.03 |
RangedWeaponsSpeed | Optional | -0.07 |
WalkSpeed | Optional | -0.5 |
HealingEffectivness | Optional | -0.5 |
HungerRate | Optional | -0.07 |