Template:Armor: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 67: Line 67:
<!--T:16-->
<!--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.
<div style="float:right;">
{{Armor
{{Armor
|Name=Test
|Name=Plate helmet (Steel)
|Image=Help
|Image=File:Armor-head-plate-steel.png
|Durability=100
|Durability=5500
|RelativeProtection=0.6
|PercentProtection=97
|FlatDamageReduction=0.6
|FlatDamageReduction=1.8
|ProtectionTier=4
|HealingEffectiveness=-33
|HungerRate=+24
|RangedWeaponsAcc=-10
|RangedWeaponsSpeed=+20
|WalkSpeed=-14
|HighDamageTierResistant=true
|FloatRight=yes
|NoBreak=yes
}}
</div>
<div style="float:right;">
{{Armor
|Name=Improvised body armor (Wood)
|Image=File:Armor-body-improvised-wood.png
|Durability=75
|Temp=600
|Duration=10
|PercentProtection=60
|ProtectionTier=0
|ProtectionTier=0
|FloatRight=yes
|NoBreak=yes
}}
}}
</div>
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter !! Required or Optional, default if applicable !! Example
! Parameter !! Required or Optional, default if applicable !! Example
|-
|-
| ''Name'' || Required || Sewn Linen
| ''Name'' || Required || Plate helmet (Steel)
|-
|-
| ''Image'' || Required || <nowiki>[[File:Grid Sewn Linen Armor.png]]</nowiki>
| ''Image'' || Required || <nowiki>File:Armor-head-plate-steel.png</nowiki>
|-
|-
| ''Durability'' || Required || 100
| ''Durability'' || Required || 5500
|-
|-
| ''Temp'' || Optionnal || 600
| ''Temp'' || Optionnal || 600
Line 89: Line 114:
| ''Duration'' || Required if ''Temp'' || 10
| ''Duration'' || Required if ''Temp'' || 10
|-
|-
| ''PercentProtection'' || Required || 60
| ''PercentProtection'' || Required || 97
|-
|-
| ''FlatDamageReduction'' || Required || 1.8
| ''FlatDamageReduction'' || Required || 1.8
|-
|-
| ''ProtectionTier'' || Required || 0
| ''ProtectionTier'' || Required || 4
|-
|-
| ''HighDamageTierResistant'' || Optional || true
| ''HighDamageTierResistant'' || Optional || true
Line 105: Line 130:
| ''PerTierFlatDamageReductionLossOne'' || Optional, 0.2 || 0.5
| ''PerTierFlatDamageReductionLossOne'' || Optional, 0.2 || 0.5
|-
|-
| ''HealingEffectivness'' || Optional || -0.5
| ''HealingEffectiveness'' || Optional || -33
|-
|-
| ''HungerRate'' || Optional || -0.07
| ''HungerRate'' || Optional || +24
|-
|-
| ''RangedWeaponsAcc'' || Optional || -0.03
| ''RangedWeaponsAcc'' || Optional || -10
|-
|-
| ''RangedWeaponsSpeed'' || Optional || -0.07
| ''RangedWeaponsSpeed'' || Optional || +20
|-
|-
| ''WalkSpeed'' || Optional || -0.5
| ''WalkSpeed'' || Optional || -14
|}
|}
</translate>
</translate>
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 15:13, 6 August 2023

Other languages:

Template for armors. More or less a value copy from the armors.json in the assets.

Plate helmet (Steel)
Armor-head-plate-steel.png
Durability 5500
Protection
Percent protection 97%
Flat Damage Reduction (HP) 1.8
Protection Tier 4
High Damage Tier Resistant
Protection Losses
Relative 0.03, 0.15
Flat 0.1, 0.2
Stat Modifiers
Healing Effectiveness -33%
Hunger Rate +24%
Ranged Weapons Accuracy -10%
Ranged Weapons Charge Time +20%
Walk Speed -14%
Armors
Improvised body armor (Wood)
Armor-body-improvised-wood.png
Durability 75
Fuel
Temperature 600°C
Duration 10 s
Protection
Percent protection 60%
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 Plate helmet (Steel)
Image Required File:Armor-head-plate-steel.png
Durability Required 5500
Temp Optionnal 600
Duration Required if Temp 10
PercentProtection Required 97
FlatDamageReduction Required 1.8
ProtectionTier Required 4
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
HealingEffectiveness Optional -33
HungerRate Optional +24
RangedWeaponsAcc Optional -10
RangedWeaponsSpeed Optional +20
WalkSpeed Optional -14