Template:Ammo Infobox: Difference between revisions
From AoP Wiki
Unresolved issue |
Unresolved issue |
||
Line 1: | Line 1: | ||
In case anyone reads this from the https://www.mediawiki.org/wiki/Extension_talk:External_Data - uralez.de is this exact machine so in order to read the web_data it will need to be provided with "localhost" instead (As otherwise the connection will be refused) - I just adjusted the link inside the topic so people understand the concept of the error. | In case anyone reads this from the https://www.mediawiki.org/wiki/Extension_talk:External_Data - uralez.de is this exact machine so in order to read the web_data it will need to be provided with "localhost" instead (As otherwise the connection will be refused) - I just adjusted the link inside the topic so people understand the concept of the error. | ||
Of course just using get_file_data as shown further down works as well. | Of course just using get_file_data as shown further down works as well. | ||
{{#get_web_data: | {{#get_web_data: | ||
source=http://localhost/foaop/planner/ammo.json | source=http://localhost/foaop/planner/ammo.json | ||
|format=json | |format=json | ||
|data=Name,ProtoId,Weight,PicInv,Ammo_Caliber,Ammo_Caliber_EXT,Ammo_DmgMult,Ammo_DmgDiv,Tier,Poison,Ammo_AcMod,Ammo_DRMod,Ammo_DTMod,Ammo_SubShots,Weapon_DmgType_0,Weapon_DmgMin_0,NoCrit,Weapon_DmgType_1,Weapon_DmgMin_1,Weapon_BleedStr,Ammo_Radius,Special,Fuse,Weapon_Extra_0,Weapon_Extra_1,Weapon_Spread_0 | |data=Name,ProtoId,Weight,PicInv,Ammo_Caliber,Ammo_Caliber_EXT,Ammo_DmgMult,Ammo_DmgDiv,Tier,Poison,Ammo_AcMod,Ammo_DRMod,Ammo_DTMod,Ammo_SubShots,Weapon_DmgType_0,Weapon_DmgMin_0,NoCrit,Weapon_DmgType_1,Weapon_DmgMin_1,Weapon_BleedStr,Ammo_Radius,Special,Fuse,Weapon_Extra_0,Weapon_Extra_1,Weapon_Spread_0 | ||
|filters=ProtoId= | |filters=ProtoId=-1 | ||
}} | }} | ||
{{#get_file_data: | {{#get_file_data: |
Revision as of 22:59, 20 February 2025
In case anyone reads this from the https://www.mediawiki.org/wiki/Extension_talk:External_Data - uralez.de is this exact machine so in order to read the web_data it will need to be provided with "localhost" instead (As otherwise the connection will be refused) - I just adjusted the link inside the topic so people understand the concept of the error. Of course just using get_file_data as shown further down works as well.
Ammo Tier 1 |
![]() |
---|---|
No Description | |
Damage Type | Normal |
Damage Resistance Mod | 20% |
Damage Threshold Mod | 0% |
Bleed Strength | 150% |
Normal Damage | 250 % |
ID: | 14017 |
Weight: | 35g |