Difference between revisions of "User:M-NINJA/Projects/Template:Random Item"

From Team Fortress Wiki
Jump to: navigation, search
(messing around)
 
(added more weapons. I got a plan for this.)
Line 1: Line 1:
{{#if:{{{font|}}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 22) + {{{offset|0}}}) + 1}}
+
{{#if:{{{font|}}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 30) + {{{offset|0}}}) + 1}}
 
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 13 | 11 | 15 | 16 | 18 | 19 | 20 | 21 | 22 = 000000
 
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 13 | 11 | 15 | 16 | 18 | 19 | 20 | 21 | 22 = 000000
 
| 8 | 12 | 10 | 14 | 17 = FFFFFF
 
| 8 | 12 | 10 | 14 | 17 = FFFFFF
}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 22) + {{{offset|0}}}) + 1}}
+
}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 30) + {{{offset|0}}}) + 1}}
 
| 1 = Scattergun
 
| 1 = Scattergun
 
| 2 = Pistol
 
| 2 = Pistol
Line 17: Line 17:
 
| 13 = Fists
 
| 13 = Fists
 
| 14 = Wrench
 
| 14 = Wrench
| 15 = Build Tool
+
| 15 = Syringe Gun
| 16 = Demolish Tool
+
| 16 = Medi Gun
| 17 = Syringe Gun
+
| 17 = Bonesaw
| 18 = Medi Gun
+
| 18 = Sniper Rifle
| 19 = Bonesaw
+
| 19 = Submachine Gun
| 20 = Sniper Rifle
+
| 20 = Kukri
| 21 = Submachine Gun
+
| 21 = Revolver
| 22 = Kukri
+
| 22 = Electro Sapper
| 23 = Revolver
+
| 23 = Knife
| 24 = Electro Sapper
+
| 24 = Disguise Kit
| 25 = Knife
+
| 25 = Invisibility Watch
| 26 = Disguise Kit
+
| 26 = Blutsauger
| 27 = Invisibility Watch
+
| 27 = Kritzkrieg
| 28 = Blutsauger
+
| 28 = Übersaw
| 29 = Kritzkrieg
+
| 29 = Backburner
| 30 = Übersaw
+
| 30 = Flare Gun
| 31 = Backburner
+
| 31 = Axtinguisher
| 32 = Flare Gun
+
| 32 = Natascha
| 33 = Axtinguisher
+
| 33 = Sandvich
| 34 = Natascha
+
| 34 = Killing Gloves of Boxing
 +
| 35 = Force-A-Nature
 +
| 36 = Bonk! Atomic Punch
 +
| 37 = Sandman
 +
| 38 = Huntsman
 +
| 39 = Razorback
 +
| 40 = Jarate
 +
| 41 = Ambassador
 +
| 42 = Dead Ringer
 +
| 43 = Cloak and Dagger
 +
| 44 = Scottish Resistance
 +
| 45 = Chargin' Targe
 +
| 46 = Eyelander
 +
| 47 = Direct Hit
 +
| 48 = Buff Banner
 +
| 49 = Gunboats
 +
| 50 = Equalizer
 
}}}}<noinclude>
 
}}}}<noinclude>
  
 
Returns a pseudo-random [[item]] name value. Altered version of [[Template:Random_skin_colour]]. Will be used for other templates.
 
Returns a pseudo-random [[item]] name value. Altered version of [[Template:Random_skin_colour]]. Will be used for other templates.
[[Category:Paint templates|Random skin colour]]
+
 
 +
Probably not going to add hats.
 
</noinclude>
 
</noinclude>

Revision as of 00:25, 17 July 2011

Pistol

Returns a pseudo-random item name value. Altered version of Template:Random_skin_colour. Will be used for other templates.

Probably not going to add hats.