Pillars of Eternity Wiki
Advertisement
Pillars of Eternity Wiki

This template defines the table "Weapon_poe2". View table.

Template-info.png Template documentation

This infobox is designed to be used in all weapon pages for Pillars of Eternity II: Deadfire. Refer to the parameters below for how to use the template.

Syntax

Copy the below code into a weapon page, and fill out the values. Most of these values should be pulled directly from weapon information in the game.

{{Infobox weapon poe2
| name              = 
| icon              = 
| description       = 
| added_in          = 
| equipment_slot    = 
| weapon_type       = 
| requirements      = 
| is_soulbound      = 
| is_unique         = 
| value             = 
| shop_value        = 
| combat_type       = 
| range             = 
| handing           = 
| attack_time       = 
| recovery_time     = 
| area_of_effect    = 
| penetration       = 
| projectiles       = 
| accuracy_mod      = 
| damage            = 
| damage_type       = 
| weapon_bonuses    = 
| curr_enchantments = 
| weapon_focus      = 
| poss_enchantments = 
| rel_quests        = 
| rel_items         = 
| rel_abilities     = 
| rel_talents       = 
| internalname      = 
| guid              = 
| location          = 
}}
Formatting for ease of use and readability
  • Make sure to leave a space between the '=' and the value
  • Keep the equals signs in a line using padded spaces (NOT tabs).
  • While the field order isn't important, try to keep the same order as above.
  • Don't omit fields that aren't used or might not be used.
Note
All fields should be the weapons base stats without user-added modifiers, but retaining the weapon-added modifiers (e.g. quality). Sometimes the affecting abilities/modifiers aren't shown when hovering over the stat (this happens with attack_time a lot), so it's a good idea to view the item in a shop window in order to display the stats without the extra modifiers.

Fields

name 
Optional. The weapon's name. Defaults to page name if left empty. The template Template:Pagename nd is commonly used here: {{pagename nd}} to substitute the name of the current page without disambiguation suffixes. However, it should NOT be used when the name contains single quotes/apostrophes (') or any special character
icon 
Required. The name of the icon file, with file extension. For example: poe2 sword_basic_icon.png. Most weapon icons have already been uploaded, so search Special:ListFiles before uploading another.
description 
Required. The flavour text found at the bottom of the item information window in-game. Make sure to use correct line breaks.
This should be paired with the "Description" section of the page source:
== Description ==
{{Description |{{#var:description}}}}
added_in 
Required. The game/expansion this item was added in. This value is passed to the template Template:Game. See this template for a list of valid values. Make sure to only use the game names of Pillars of Eternity II: Deadfire and its expansions.
equipment_slot 
Optional. This can be left blank, as it is always "Weapon".
weapon_type 
Required. The type of weapon. This is found under the weapon name in-game. Valid options are:
Arbalest, Arquebus, Battle axe, Blunderbuss, Club, Crossbow, Dagger, Estoc, Flail, Great sword, Hatchet, Hunting bow, Mace, Morning star, Pike, Pistol, Pollaxe, Quarterstaff, Rapier, Rod, Sabre, Scepter, Spear, Stiletto, Sword, Wand, War bow, War hammer.
Capitalization is important here, since Great sword is a different page to Great Sword
requirements 
Optional. This is usually left blank, but can be filled with a list of requirements to either find or equip the weapon.
Multiple values should be semicolon ; delimited,
is_soulbound 
Optional. Is this weapon soulbound? If so enter yes, leave blank otherwise. This can be left blank if a weapon isn't unique, as non-unique weapons are never soulbound.
Soulbound weapons will have a white/grey background in the inventory, and will list "Soulbound" next to the handedness.
is_unique 
Optional. Is this weapon unique? If so enter yes, leave blank or enter no otherwise. Required if the weapon is soulbound, as soulbound weapons are always unique.
Unique weapons will have a yellow background in the inventory.
value 
Required. The monetary value of the weapon, as a whole number. Do not include the unit part, or any formatting. For example: 1000.
This is the number shown next to "Value" in the right-click menu of the weapon. For the most part, this value is 1/5th of the purchase cost of a weapon.
shop_value 
Optional. The purchase cost of the weapon, as a whole number. Do not include the unit part, or any formatting. For example: 1000.
This is the purchase cost of the weapon as sold by a vendor, not including discounts. For the most part, this value is 5x the player-listed value of the weapon (with some exceptions)
If the weapon is sold by a vendor, and the vendor has a discount, calculate this with discounted price / (100% - discount percent). For example if our discount price is Copper pands (cp)800, and our discount on items is 20% 800 / (1 - 0.2) = 1000.
combat_type 
Required. The combat type of the weapon. Valid values are: Melee and Ranged
weapon_range 
Optional. The Attack range of the weapon in meters. Do not include the unit part. For example: 10.
Should only be listed for ranged weapons.
handing 
Required. The handedness of the weapon. Valid values are One-handed and Two-handed. This is found next to the weapon type in-game.
attack_time
Required. The attack time of the weapon. Do not include the unit part. For example 0.5.
If the attack time on this weapon is "Instant", put 0
recovery_time
Required. The recovery time of the weapon. Do not include the unit part. For example 1.0.
area_of_effect
Optional. The area of effect of the weapon. This is used primarily for weapons like Rods. Copy the text exactly as it appears in-game. For example: Target + 1.5m Radius
penetration
Required. The penetration value of the weapon, including weapon modifiers. For example: 8
projectiles
Optional. The number of projectiles shot by this weapon in a single regular attack. For example: 6. Leave empty if the weapon is not ranged, or if it only shoots one projectile per attack.
accuracy_mod
Optional. The accuracy modifier of the weapon.
Note: I'm not sure that weapons have accuracy modifiers in Deadfire.
damage
Required. The range of damage for this weapon. For example 1-100. If a weapon deals a fixed amount of damage, put that value, for example: 100
damage_type
Required. The damage type(s) of this weapon. Value values are:
Slash, Pierce, Crush, Shock, Burn, Freeze, Corrode, Raw.
Multiple values should be forward slash / or semicolon ; delimited with no spaces, with a slash being more commonly used. Do NOT link to the damage type page, or use the icon template, as this is done automatically e.g [[Slash]] or {{Slash}}.
weapon_bonuses
Required. The bonuses of this weapon. These are bonuses that are always present on the weapon, and cannot be removed or upgraded. They are listed alongside enchantments under "Additional Effects" in-game. To distinguish weapon bonuses from enchantments, note that weapon bonuses do not appear in the enchantments panel (in the lower most panel). Examples include Veil Piercing, Increased Reach and Accurate.
Valid values are the page names of any weapon bonus "enchantment".
Multiple values should be semicolon ; delimited, and if desired followed by a space for readability.
Ensure that the page names are for the Deadfire version of the enchantment. If the page does not exist, feel free to create it.
To omit the disambiguation suffix, or provide a more appropriate label, use the magic word {{!}} (this creates a pipe in the resulting function, similar to [[Page|Label]]). For example: Exceptional weapon (Deadfire){{!}}Exceptional will change Exceptional weapon (Deadfire) to Exceptional.
curr_enchantments
Required. List of the initial enchantments applied to this weapon. Enchantments are complex effects that come into play as a result of using the weapon - with curr_enchantments being enchantments that a weapons starts with. These enchantments are always listed in the first column of the enchanting panel.
Valid values are the page names of any enchantment.
Multiple values should be semicolon ; delimited, and if desired followed by a space for readability.
Ensure that the page names are for the Deadfire version of the enchantment. If the page does not exist, feel free to create it.
To omit the disambiguation suffix, or provide a more appropriate label, use the magic word {{!}} (this creates a pipe in the resulting function, similar to [[Page|Label]]). For example: Exceptional weapon (Deadfire){{!}}Exceptional will change Exceptional weapon (Deadfire) to Exceptional.
weapon_focus
Optional. The page name of the modal weapon proficiency associated with this weapon type. For example: Half-Sword if the weapon type is Sword. If the field is blank, this will be replaced with a lookup from Special:CargoTables/Weapon_type_poe2.
poss_enchantments
Optional. Wikitext of the names of enchantments that are available by upgrading/enchanting the unique or soulbound weapon. Filling this and the upgrades table will however mean duplicate information on the page.
rel_quests
Optional. Any quests related to this weapon. For example, the quest that this weapon is a reward of, or that this weapon triggers. Multiple values should be semicolon ; delimited, and if desired followed by a space for readability.
rel_items
Optional. Any items related to this weapon. For example, items used to construct the weapon.
Multiple values should be semicolon ; delimited, and if desired followed by a space for readability. See weapon_bonuses for using appropriate labels.
rel_abilities
Optional. Any abilities related to this weapon. For example, abilities that this weapon grants.
Multiple values should be semicolon ; delimited, and if desired followed by a space for readability.
rel_talents
Optional. Any talents related to this weapon. For example, talents that this weapon grants, or talents that affect this specific weapon.
Multiple values should be semicolon ; delimited, and if desired followed by a space for readability.
internalname
Required. The internal name/id used for this weapon. This can be found by using the console command findgamedata, or in the file items.gamedatabundle under ./exported/design/gamedata.
guid
Required. The unique guid/uuid for this weapon. This can be found as above. For example: 123e4567-e89b-12d3-a456-426655440000
location
Optional. Locations this weapon can be found, vendors that sell this weapon, and creatures this weapon can be looted from. This field is wikitext, so any wiki formatted content can go here, but the most common format is the following. Make sure to use a bulleted list!
| location          =
* Can be looted from dead [[Skeleton]].
* [[The Hanging Sepulchers]]: Hidden room in the southeast.
* [[The Sacred Stair]]: Sold by [[Temple Vendor]].
This should be paired with the "Acquisition" section of the page source. For the sake of uniformity, do NOT add locations outside of the Infobox template. The arraymap function should be the only line under the acquisition header.
== Acquisition ==
{{#arraymap: {{#var:location}}|;|x|x|\n}}
Most of the time, if the weapon is found in a container in an area, or sold by a vendor, it is common to prefix the description with a link to the area page, followed by a colon. This is demonstrated in the last two list items.

Upgrades

Upgrades are handled separately to the infobox via the templates Template:pe2crafttable and Template:pe2craftmod. See those templates for more information.