User:Ferretwings/List of weapons

From Terraria Wiki
Jump to navigation Jump to search
This is an old project that I put a lot of work into. What I wrote worked just fine, but I never finished the project. Because a number of changes have been implemented into the structure of the wiki's databases, the dpl no longer works. I am keeping it to remind myself how powerful dpl is, but need to nowiki the page because it no longer loads.
This is a work in progress. <font color=red>'''Please don't edit.'''</font> If you have an idea, or something to contribute, please use the talk page. If I run into a brick wall, I will ask for help :D<br/>
Missing items I will worry about after the table is working properly: Tavernkeep's Sentries, Different Thrown Waters, Different Phaseblades, Different Phasesabers, different ammos for the Coin Gun, lunar tools, icons, Armors that cause damage, gem staves<br/>
<small>
{| class="terraria sortable" style="float:left" {{#vardefine:pcicon|  [[File:pc only.png|link=|15px]]}}{{#vardefine:cicon|  [[File:console only.png|link=|15px]]}}{{#vardefine:micon|[[File:mobile only.png|link=|15px]]}}
! class="unsortable" |
! Name
! Type
! <abbr title=Hardmode>HM</abbr>
! [[Rarity|R]]
! <abbr title=Damage>DMG</abbr>
! <abbr title=Damage-per-second>DPS</abbr>
! [[Damage types|<abbr title="Damage type">DMG<br/>type</abbr>]]
! <abbr title="Hold-to-attack (auto-swing)">HtA</abbr>
! [[Knockback|KB]]
! [[Attack Speed|Speed]]
! [[Use time|UT]]
! [[Shoot speed|<abbr title="Shoot Speed/Velocity">SS</abbr>]]
! [[Value|Sell]]
! style="font-size:12px"|[[Mana]]
! [[Ammo]]
! class="unsortable" | [[Debuff|<abbr>DB</abbr>]]
! [[Debuff|<abbr title="Debuff duration (in seconds)">DB (s)</abbr>]]
! [[Debuff|<abbr title="Chance to inflict debuff">DB</abbr>]]%
<!--outer dpl controls which pages are included in the table-->{{#dpl:titlelt=J|category=Weapon items¦Tool items|notcategory=Unobtainable items|includesubpages=no|nottitlematch=Gem staff|uses=Template:Item infobox|include={item infobox}|includematch=/\{{!}}\s*damage\s*=/|ordermethod = titlewithoutnamespace|order = ascending|format=,
<!--background color-->¶{{!}}- ²{#vardefine:r¦²{#dpl:¦title=%TITLE%¦include={item infobox}:rare}²}²²{#switch:²{#var:r}²
¦0 = <!-- white -->
¦1 = style="background:#AACCEE" <!-- blue -->
¦2 = style="background:#88FF88" <!-- green -->
¦3 = style="background:#FFCC77" <!-- orange -->
¦4 = style="background:#FF7777" <!-- light red -->
¦5 = style="background:#FF99FF" <!-- pink -->
¦6 = style="background:#CC77FF" <!-- light purple -->
¦7 = style="background:#CCFF77" <!-- lime -->
¦8 = style="background:#FFFF77" <!-- yellow -->
¦9 = style="background:#AAFFFF" <!-- cyan -->
¦10 = style="background:#ff4040" <!-- red -->
¦11 = style="background:#b732ff" <!-- purple -->
¦? }² ¶{{!!}}
<!--image-->[[File:²{#replace:%TITLE%¦:¦_}².png¦center¦15x15px]]{{!!}}
<!--name-->[[%TITLE%]]
<!--exclusivity/icons-->²{#vardefine:ex¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Desktop content¦noresultsheader=n}²¦n¦¦desktop}²²{#ifeq:²{#dpl:title=%TITLE%¦category=Console content¦noresultsheader=n}²¦n¦¦console}²²{#ifeq:²{#dpl:title=%TITLE%¦category=Mobile content¦noresultsheader=n}²¦n¦¦mobile}²²{#ifeq:²{#dpl:title=%TITLE%¦category=3DS content¦noresultsheader=n}²¦n¦¦3ds}²}²²{#switch:²{#var:ex}²¦desktop¦console¦mobile¦3ds= ²{²{#var:ex}² icon}²¦desktopconsolemobile¦desktopconsolemobile3ds=¦²{#if:²{#pos:²{#var:ex}²¦desktop}²¦ ²{desktop icon}²}²²{#if:²{#pos:²{#var:ex}²¦console}²¦ ²{console icon}²}²²{#if:²{#pos:²{#var:ex}²¦mobile}²¦²{mobile icon}²}²²{#if:²{#pos:²{#var:ex}²¦3ds}²¦ ²{3DS icon}²}²}²{{!!}}
<!--wtype-->²{#vardefine:wt<!--this is stupid (I did the coding 6 months ago). It would make more sense if all these weapons have this assigned to listcat-->
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Drills¦category=Chainsaws¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Pickaxes¦category=Axes¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Furniture items¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Axes¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Boomerangs¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Bows¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Chainsaws¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Drills¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Flails¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Guns¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Hamaxes¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Hammers¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Magic weapons¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Pickaxes¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Repeaters¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Swords¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Spears¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Summon weapons¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Yoyos¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Melee weapons¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Ranged weapons¦noresultsheader=n}²¦n
¦²{#ifeq:²{#dpl:title=%TITLE%¦category=Misc weapons¦noresultsheader=n}²¦n
¦consumable¦explosive}²¦ranged}²¦melee}²¦yoyo}²¦summon}²¦spear}²¦sword}²¦repeater}²¦pickaxe}²
¦²{#vardefine:tt¦²{#dpl:title=%TITLE%¦include={item infobox}:tooltip}²}²²{#if:²{#var:tt}²¦²{#ifeq:²{#sub:²{#var:tt}²¦0¦15}²¦Summons a cloud¦rain¦
magic}²}²¦magic}²
¦hammer}²¦hammaxe}²¦gun}²¦flail}²¦drill}²¦chainsaw}²¦bow}²¦boomerang}²¦axe}²¦cannon}²¦pickaxe + axe}²¦drill + chainsaw}²}²²{#var:wt}²{{!!}}
<!--HM-->²{#ifeq:²{#dpl:title=%TITLE%¦category=Hardmode-only items¦noresultsheader=n}²¦n¦¦²{yes}²}²{{!!}}
<!--rarity-->²{#var:r}²{{!!}}
<!--dmg-->²{#vardefine:d¦²{#dpl:title=%TITLE%¦include={item infobox}:damage}²}²²{#var:d}²{{!!}}
<!--DPS-->²{#vardefine:u¦²{#dpl:title=%TITLE%¦include={item infobox}:use}²}²²{#ifeq:²{lc:²{#var:d}²}²¦varies¦¦²{#vardefine:rd¦²{#explode:²{#var:d}²¦ ¦0}²}²²{#if:²{#var:u}²¦²{#expr:((60/²{#var:u}²)*²{#var:rd}²)round0}² ²{#explode:²{#explode:²{#explode:²{#var:d}²¦/¦0}²¦>¦1}²¦<¦0}²}²}²{{!!}}
<!--dmgtype-->²{#vardefine:dt¦²{#dpl:title=%TITLE%¦include={item infobox}:damagetype}²}²²{#ifeq:²{#var:dt}²¦¦²{#ifeq:²{#var:wt}²¦cannon¦ranged¦melee}²¦²{lc:²{#var:dt}²}² }²{{!!}}
<!--autoswing-->²{#vardefine:as¦²{#dpl:title=%TITLE%¦include={item infobox}:auto}²}²²{#ifeq:²{#var:as}²¦yes¦²{yes}²¦²{no}²}²{{!!}}
<!--KB-->²{#vardefine:kb¦²{#dpl:title=%TITLE%¦include={item infobox}:knockback}²}²²{#var:kb}²{{!!}}
<!--speed-->²{#if:²{#var:u}²¦²{#ifeq:²{#var:u}²¦?¦unknown¦²{#ifexpr:²{#var:u}²<9¦insanely fast¦²{#ifexpr:²{#var:u}²<21¦very fast¦²{#ifexpr:²{#var:u}²<26¦fast¦²{#ifexpr:²{#var:u}²<31¦average¦²{#ifexpr:²{#var:u}²<36¦slow¦²{#ifexpr:²{#var:u}²<46¦very slow¦²{#ifexpr:²{#var:u}²<56¦extremely slow¦snail}²}²}²}²}²}²}²}²}²{{!!}}
<!--use-->²{#var:u}²{{!!}}
<!--velocity-->²{#vardefine:v¦²{#dpl:title=%TITLE%¦include={item infobox}:velocity}²}²²{#vardefine:ss¦²{#dpl:title=%TITLE%¦include={item infobox}:sspeed}²}²²{#if:²{#var:v}²¦²{#var:v}²¦²{#var:ss}²}²{{!!}}
<!--sell-->²{#vardefine:s¦²{#dpl:title=%TITLE%¦include={item infobox}:sell}²}²²{#ifeq:²{#sub:²{#var:s}²¦0¦2}²¦//¦²{#sub:²{#var:s}²¦2}²¦²{#var:s}²}²{{!!}}
<!--mana-->²{#vardefine:m¦²{#dpl:title=%TITLE%¦include={item infobox}:mana}²}²²{#var:m}²{{!!}}
ammo <!--this will need to be passed to the dpl template?-->{{!!}}
<!--debuff-->²{#vardefine:db¦²{#dpl:title=%TITLE%¦include={item infobox}:debuff}²}²²{#if:²{#var:db}²¦[[File:²{#var:db}².png¦15px¦center¦link=²{#var:db}²]]}²
<span style="display:none;">«nowiki»,«/nowiki»</span>, }}
|}
</small>