Difference between revisions of "Template:Inventory info"

From Tripwire Interactive Wiki
Jump to: navigation, search
(Added impact damage and regen rate)
(Changed style)
Line 1: Line 1:
<includeonly>{|style="white-space:nowrap;margin:auto auto auto 50px;float:right; width: 300px;text-align: left;border: 1px solid #603311;background-color:#E5EECC;font-size:1.1em;padding-left:20px;padding-right:20px;"
+
<includeonly>{|style="white-space:nowrap;margin:auto auto auto 50px;float:right; width: 300px;text-align: left;border: 1px solid #999999;color:#3f3f3f;background-color:#cacaca;font-size:1.1em;padding-left:20px;padding-right:20px;"
 
|- style="text-align:center;"
 
|- style="text-align:center;"
 
| colspan="2" | <small>''[[Killing Floor]] item''</small>
 
| colspan="2" | <small>''[[Killing Floor]] item''</small>
|- style="text-align:center;background-color:orange;"
+
|- style="text-align:center;background-color:#9f9f9f;"
 
| colspan="2" | '''{{{Name}}}'''
 
| colspan="2" | '''{{{Name}}}'''
 
|- style="min-height:128px;height:auto;height:128px;margin:auto auto auto auto;"
 
|- style="min-height:128px;height:auto;height:128px;margin:auto auto auto auto;"
Line 10: Line 10:
 
|- style="height: 20px;"
 
|- style="height: 20px;"
 
|
 
|
 +
|- style="background-color:#8896b7;text-align:center;padding:2px;"
 +
| colspan="2" | '''General Information'''
 
|- {{#if:{{{Perk|}}}||style="display:none;"}}
 
|- {{#if:{{{Perk|}}}||style="display:none;"}}
 
| Perk
 
| Perk
Line 25: Line 27:
 
| -
 
| -
 
| -
 
| -
 +
|- style="background-color:#8896b7;text-align:center;padding:2px;"
 +
| colspan="2" | '''Weapon Information'''
 
|- {{#if:{{{AmmoCost|}}}||style="display:none;"}}
 
|- {{#if:{{{AmmoCost|}}}||style="display:none;"}}
 
| Ammo cost ({{ #if:{{{AmmoType|}}} | {{{AmmoType}}} | {{{AmmoBuyAmount}}} }})
 
| Ammo cost ({{ #if:{{{AmmoType|}}} | {{{AmmoType}}} | {{{AmmoBuyAmount}}} }})
Line 64: Line 68:
 
| |<abbr title="Amount of charge regenerated per second (healing)">Regen rate</abbr>
 
| |<abbr title="Amount of charge regenerated per second (healing)">Regen rate</abbr>
 
| style="text-align:right;" | {{{RegenRate}}}
 
| style="text-align:right;" | {{{RegenRate}}}
 +
|- {{#if:{{{AddOns|}}}style="background-color:#8896b7;text-align:center;padding:2px;"||style="display:none;"}}
 +
| colspan="2" | '''Misc'''
 
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
 
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
 
| Attachments
 
| Attachments

Revision as of 08:29, 26 December 2012

This template is a work in progress.

To do

  • Need to add the following stats: ammo cost, recoil, reload type (mag, shell, etc).
  • Add burn damage? Does it depend on the weapon used to set alight?

Usage

Killing Floor item
MP7M
Trader MP7m.png
Alt-fire fires a healing dart
General Information
Perk Field Medic
Cost £3000
Weight 3
Can sell/buy Yes
- -
Weapon Information
Ammo cost (Magazine) £10
Ammo capacity 400 (N/A)
Magazine capacity 20
Damage 25 (20)
Impact damage {{{ImpactDamage}}}
Radius {{{Radius}}}
Head multiplier 110%
Pellets {{{Pellets}}}
Spread 0.01
Penetration {{{Penetration}}}
Rate of fire 0.06 (0.50)
Reload time 3.17
Regen rate {{{RegenRate}}}
Misc
Attachments {{{AddOns}}}

Values listed in brackets are for alternate (secondary) fire.


{{Inventory info
|Name=MP7M
|Desc=Alt-fire fires a healing dart
|Image=Trader MP7m.png
|Perk=Field Medic
|Cost=3000
|Weight=3
|AmmoType=Magazine
|AmmoCost=10
|Damage=25 (20)
|ROF=0.06 (0.50)
|Capacity=400 (N/A)
|Magazine=20
|CanSellBuy=Yes
|Spread=0.01
|ReloadTime=3.17
|HeadMul=110%
}}

Available parameters

ID

  • Name - Item name
  • Desc - Description of alt-fire mode
  • Image - Image name of item, excluding the file: part
  • Perk - Related perk
  • Cost - Cost at the trader
  • Weight - Amount of blocks this item takes up

Combat stats

  • AmmoType - Ammunition that is bought, can be magazine or shell
  • AmmoCost - Cost of each clip (mag)
  • AmmoBuyAmount - How much ammo the buy clip button buys (instead of specifying AmmoType)
  • Capacity - Total ammo capacity
  • Magazine - Magazine capacity
  • Damage - Damage per shot (or pellet in the case of shotguns)
  • Radius - Size of radius for area of effect weapons (explosions etc)
  • HeadMul - Head shot multiplier, represented as a percentage
  • Pellets - Amount of pellets per shot. Used for shotguns
  • Spread - Potential amount of spread per shot/bullet
  • Penetration - Penetration quantity and damage reduction separated by a colon (ie. 5 : 0.75)
  • ROF - Rate of fire, expressed as seconds between shots
  • ReloadTime - Reload time, expressed as seconds

Misc

  • AddOns - Attachments such as flashlight, laser sight, etc.
  • CanSellBuy - Can weapon be bought/sold?