Template:Armor: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude><languages/><noinclude><includeonly> | <noinclude><languages /></noinclude><includeonly> | ||
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:{{#if:{{{FloatLeft|}}}|left;margin-right:2em|right}};" | {|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:{{#if:{{{FloatLeft|}}}|left;margin-right:2em|right}};" | ||
|- | |- | ||
Line 6: | Line 6: | ||
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]] | |bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]] | ||
|- | |- | ||
| '''Durability''' || {{{Durability}}} | | '''<translate><!--T:1--> Durability</translate>''' || {{{Durability}}} | ||
|- | |- | ||
{{#if: {{{Temp|}}} | {{#!: | {{#if: {{{Temp|}}} | {{#!: | ||
Line 15: | Line 15: | ||
}} }} | }} }} | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T: | |bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:2--> Protection</translate>'''</font> | ||
|- | |- | ||
| '''<translate><!--T: | | '''<translate><!--T:3--> Percent protection</translate>''' || {{{PercentProtection}}}% | ||
{{#if: {{{FlatDamageReduction|}}} | {{#!: | |||
|- | |- | ||
| '''<translate><!--T: | | '''<translate><!--T:4--> Flat Damage Reduction (HP)</translate>''' || {{{FlatDamageReduction}}} | ||
}} }} | |||
|- | |- | ||
| '''<translate><!--T: | | '''<translate><!--T:5--> Protection Tier</translate>''' || {{{ProtectionTier}}} | ||
{{#if: {{{HighDamageTierResistant|}}} | {{#!: | {{#if: {{{HighDamageTierResistant|}}} | {{#!: | ||
|- | |- | ||
|colspan="2"| | |colspan="2"| High Damage Tier Resistant | ||
}} }} | }} }} | ||
|- | |- | ||
Line 37: | Line 39: | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;" |<font color="white">'''<translate><!--T:9--> 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: {{{ | {{#if: {{{HealingEffectiveness|}}} | {{#!: | ||
|- | |- | ||
| '''<translate><!--T:10--> | | '''<translate><!--T:10--> Healing Effectiveness</translate>''' || {{{HealingEffectiveness}}}% | ||
}} }} | }} }} | ||
{{#if: {{{ | {{#if: {{{HungerRate|}}} | {{#!: | ||
|- | |- | ||
| '''<translate><!--T:11--> | | '''<translate><!--T:11--> Hunger Rate</translate>''' || {{{HungerRate}}}% | ||
}} }} | }} }} | ||
{{#if: {{{ | {{#if: {{{RangedWeaponsAcc|}}} | {{#!: | ||
|- | |- | ||
| '''<translate><!--T:12--> | | '''<translate><!--T:12--> Ranged Weapons Accuracy</translate>''' || {{{RangedWeaponsAcc}}}% | ||
}} }} | }} }} | ||
{{#if: {{{ | {{#if: {{{RangedWeaponsSpeed|}}} | {{#!: | ||
|- | |- | ||
| '''<translate><!--T:13--> | | '''<translate><!--T:13--> Ranged Weapons Speed</translate>''' || {{{RangedWeaponsSpeed}}}% | ||
}} }} | }} }} | ||
{{#if: {{{ | {{#if: {{{WalkSpeed|}}} | {{#!: | ||
|- | |- | ||
| '''<translate><!--T:14--> | | '''<translate><!--T:14--> Walk Speed</translate>''' || {{{WalkSpeed}}}% | ||
}} }} | }} }} | ||
}} }} | }} }} | ||
|- | |- | ||
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[ | |bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Armor|<font color="white">'''<translate><!--T:15--> Armors</translate>'''</font>]] | ||
|}{{#if:{{{NoBreak|}}}||{{-}} }} | |}{{#if:{{{NoBreak|}}}||{{-}} }} | ||
</includeonly> | |||
<noinclude> | <noinclude><translate> | ||
<!--T:16--> | |||
Template for armors. More or less a value copy from the armors.json in the assets. | Template for armors. More or less a value copy from the armors.json in the assets. | ||
{{Armor | {{Armor | ||
|Name=Test | |Name=Test | ||
|Image= | |Image=Help | ||
|Durability=100 | |Durability=100 | ||
|RelativeProtection=0.6 | |RelativeProtection=0.6 | ||
|FlatDamageReduction=0.6 | |FlatDamageReduction=0.6 | ||
|ProtectionTier=0 | |ProtectionTier=0 | ||
}} | }} | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 88: | Line 87: | ||
| ''Temp'' || Optionnal || 600 | | ''Temp'' || Optionnal || 600 | ||
|- | |- | ||
| ''Duration'' || Required if Temp || 10 | | ''Duration'' || Required if ''Temp'' || 10 | ||
|- | |- | ||
| '' | | ''PercentProtection'' || Required || 60 | ||
|- | |- | ||
| ''FlatDamageReduction'' || Required || | | ''FlatDamageReduction'' || Required || 1.8 | ||
|- | |- | ||
| ''ProtectionTier'' || Required || 0 | | ''ProtectionTier'' || Required || 0 | ||
Line 105: | Line 104: | ||
|- | |- | ||
| ''PerTierFlatDamageReductionLossOne'' || Optional, 0.2 || 0.5 | | ''PerTierFlatDamageReductionLossOne'' || Optional, 0.2 || 0.5 | ||
|- | |||
| ''HealingEffectivness'' || Optional || -0.5 | |||
|- | |||
| ''HungerRate'' || Optional || -0.07 | |||
|- | |- | ||
| ''RangedWeaponsAcc'' || Optional || -0.03 | | ''RangedWeaponsAcc'' || Optional || -0.03 | ||
Line 111: | Line 114: | ||
|- | |- | ||
| ''WalkSpeed'' || Optional || -0.5 | | ''WalkSpeed'' || Optional || -0.5 | ||
|} | |} | ||
</translate> | |||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |
Revision as of 15:04, 6 August 2023
Template for armors. More or less a value copy from the armors.json in the assets.
Test | |
100px | |
Durability | 100 |
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 |
PercentProtection | Required | 60 |
FlatDamageReduction | Required | 1.8 |
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 |
HealingEffectivness | Optional | -0.5 |
HungerRate | Optional | -0.07 |
RangedWeaponsAcc | Optional | -0.03 |
RangedWeaponsSpeed | Optional | -0.07 |
WalkSpeed | Optional | -0.5 |