Template:Ammo Infobox: Difference between revisions
From AoP Wiki
Fixed Ammo Template since Dmg Type 0 is not always set. |
Added Width to Infobox |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#for_external_table:| | {{#for_external_table:| | ||
{{{!}} class="wikitable" style="float:right" | {{{!}} class="wikitable" style="width:30%; float:right" | ||
! colspan="1" {{!}} {{#if: {{{Name|}}} | [[{{{Name}}}]] |Ammo}}<br>Tier {{#if: {{{Tier}}} | {{{Tier}}} |Unknown}} | ! colspan="1" {{!}} {{#if: {{{Name|}}} | [[{{{Name}}}]] |Ammo}}<br>Tier {{#if: {{{Tier}}} | {{{Tier}}} |Unknown}} | ||
! colspan="1" align="center"{{!}}{{#if: {{{PicInv}}} | https://uralez.de/foaop/planner/{{{PicInv}}} |No Image}} | ! colspan="1" align="center"{{!}}{{#if: {{{PicInv}}} | https://uralez.de/foaop/planner/{{{PicInv}}} |No Image}} | ||
Line 14: | Line 14: | ||
{{!}} Bleed Strength {{!}}{{!}} {{{Weapon_BleedStr}}}% | {{!}} Bleed Strength {{!}}{{!}} {{{Weapon_BleedStr}}}% | ||
{{!}}- {{#if: {{{Weapon_DmgType_0|}}}||style="display: none;"}} | {{!}}- {{#if: {{{Weapon_DmgType_0|}}}||style="display: none;"}} | ||
{{!}} {{#switch: {{{Weapon_DmgType_0}}} | {{!}} '''{{#switch: {{{Weapon_DmgType_0}}} | ||
| 0 = Uncalled | | 0 = Uncalled | ||
| 1 = Normal | | 1 = Normal | ||
Line 25: | Line 25: | ||
| 8 = Heal | | 8 = Heal | ||
| #default = Error | | #default = Error | ||
}} Damage {{!}}{{!}} {{{Weapon_DmgMin_0|}}} % | }}''' Damage {{!}}{{!}} {{{Weapon_DmgMin_0|}}} % | ||
{{!}}- {{#if: {{{Weapon_DmgType_1|}}}||style="display: none;"}} | {{!}}- {{#if: {{{Weapon_DmgType_1|}}}||style="display: none;"}} | ||
{{!}} {{#switch: {{{Weapon_DmgType_1}}} | {{!}} '''{{#switch: {{{Weapon_DmgType_1}}} | ||
| 0 = Uncalled | | 0 = Uncalled | ||
| 1 = Normal | | 1 = Normal | ||
Line 38: | Line 38: | ||
| 8 = Heal | | 8 = Heal | ||
| #default = Error | | #default = Error | ||
}} Damage {{!}}{{!}} {{{Weapon_DmgMin_1|}}} % | }}''' Damage {{!}}{{!}} {{{Weapon_DmgMin_1|}}} % | ||
{{!}}- {{#if: {{{Ammo_SubShots|}}}||style="display: none;"}} | {{!}}- {{#if: {{{Ammo_SubShots|}}}||style="display: none;"}} | ||
{{!}} Subshots {{!}}{{!}} {{{Ammo_SubShots}}}x | {{!}} Subshots {{!}}{{!}} {{{Ammo_SubShots}}}x | ||
Line 47: | Line 47: | ||
{{!}}- | {{!}}- | ||
{{!}} Weight: {{!}}{{!}} {{#if: {{{Weight}}} | {{{Weight}}} | 0}}g | {{!}} Weight: {{!}}{{!}} {{#if: {{{Weight}}} | {{{Weight}}} | 0}}g | ||
{{!}}} | {{!}}}|source=planner | ||
|file name=ammo.json | |file name=ammo.json | ||
|format = json with jsonpath | |format = json with jsonpath | ||
|data = | |data = | ||
Name=$[?(@.ProtoId == {{{id|14017}}})].Name, | Name=$[?(@.ProtoId == {{{id|14017}}})].Name, | ||
Description=$[?(@.ProtoId == {{{id|14017}}})].Description, | |||
ProtoId=$[?(@.ProtoId == {{{id|14017}}})].ProtoId, | ProtoId=$[?(@.ProtoId == {{{id|14017}}})].ProtoId, | ||
Weight=$[?(@.ProtoId == {{{id|14017}}})].Weight, | Weight=$[?(@.ProtoId == {{{id|14017}}})].Weight, | ||
Line 77: | Line 77: | ||
Weapon_Extra_0=$[?(@.ProtoId == {{{id|14017}}})].Weapon_Extra_0, | Weapon_Extra_0=$[?(@.ProtoId == {{{id|14017}}})].Weapon_Extra_0, | ||
Weapon_Extra_1=$[?(@.ProtoId == {{{id|14017}}})].Weapon_Extra_1, | Weapon_Extra_1=$[?(@.ProtoId == {{{id|14017}}})].Weapon_Extra_1, | ||
Weapon_Spread_0=$[?(@.ProtoId == {{{id|14017}}})].Weapon_Spread_0 | Weapon_Spread_0=$[?(@.ProtoId == {{{id|14017}}})].Weapon_Spread_0}} | ||
}} |
Latest revision as of 18:31, 24 February 2025
Paper Cartridges Tier 1 |
![]() |
---|---|
An assortment of various blackpowder cartridges, powder and ball packaged together for quick reloading. These are not actually moddern cartidges, the paper just holds all the ingredients you need to reload a muzzle loader. | |
Damage Resistance Mod | 20% |
Damage Threshold Mod | 0% |
Bleed Strength | 150% |
Normal Damage | 250 % |
ID: | 14017 |
Weight: | 35g |