Template:Inventory info: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
Line 14: Line 14:
|- {{#if:{{{Damage|}}}||style="display:none;"}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
| {{#if:{{{Damage|}}}|[[File:Hud Lightning Bolt.png|x20px|Damage]] {{{Damage}}}}}
| {{#if:{{{Damage|}}}|[[File:Hud Lightning Bolt.png|x20px|Damage]] {{{Damage}}}}}
|- {{#if:{{{Radius|}}}||style="display:none;"}}
| {{#if:{{{Radius|}}}|<abbr title="Radius of area of effect">Radius</abbr>: {{{Radius}}}}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
| {{#if:{{{Pellets|}}}|[[File:Pellets.png|x20px|Pellets per shot]] {{{Pellets}}}}}
| {{#if:{{{Pellets|}}}|[[File:Pellets.png|x20px|Pellets per shot]] {{{Pellets}}}}}
Line 75: Line 77:
*'''Weight''' - Amount of blocks this item takes up
*'''Weight''' - Amount of blocks this item takes up
*'''Damage''' - Damage per shot (or pellet in the case of shotguns)
*'''Damage''' - Damage per shot (or pellet in the case of shotguns)
*'''Radius''' - Size of radius for area of effect weapons (explosions etc)
*'''Pellets''' - Amount of pellets per shot. Used for shotguns
*'''Pellets''' - Amount of pellets per shot. Used for shotguns
*'''ROF''' - Rate of fire, expressed as seconds between shots
*'''ROF''' - Rate of fire, expressed as seconds between shots

Revision as of 00:04, 10 October 2012

This template is a work in progress.

To do

  • Need to add the following stats: Headshot multiplier, spread, explosion radius.
  • Add burn damage? Does it depend on the weapon used to set alight?

Usage

Killing Floor item
MP7M
Perk: Field Medic
Cost 3000
Weight 3
Damage 25 (20)
Rate of fire: 0.06 (0.50)
Capacity 400 (N/A)
Magazine size 20
Can sell/buy: Yes

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


{{Inventory info
|Name=MP7M
|Image=Trader MP7m.png
|Perk=Field Medic
|Cost=3000
|Weight=3
|Damage=25 (20)
|ROF=0.06 (0.50)
|Capacity=400 (N/A)
|Magazine=20
|CanSellBuy=Yes
}}

Available parameters

  • Name - Item name
  • 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
  • Damage - Damage per shot (or pellet in the case of shotguns)
  • Radius - Size of radius for area of effect weapons (explosions etc)
  • Pellets - Amount of pellets per shot. Used for shotguns
  • ROF - Rate of fire, expressed as seconds between shots
  • Capacity - Total ammo capacity
  • Magazine - Magazine capacity
  • Penetration - Penetration quantity and damage reduction separated by a colon (ie. 5 : 0.75)
  • AddOns - Attachments such as flashlight, laser sight, etc.
  • CanSellBuy - Can weapon be bought/sold?