Difference between revisions of "User:M-NINJA/Projects/Template:Random Item"
(messing around) |
m (106 weapon options now.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{font|}}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod | + | {{#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 | + | }}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 106) + {{{offset|0}}}) + 1}} |
| 1 = Scattergun | | 1 = Scattergun | ||
| 2 = Pistol | | 2 = Pistol | ||
Line 17: | Line 17: | ||
| 13 = Fists | | 13 = Fists | ||
| 14 = Wrench | | 14 = Wrench | ||
− | | 15 | + | | 15 = Syringe Gun |
− | + | | 16 = Medi Gun | |
− | + | | 17 = Bonesaw | |
− | | | + | | 18 = Sniper Rifle |
− | | | + | | 19 = Submachine Gun |
− | | | + | | 20 = Kukri |
− | | | + | | 21 = Revolver |
− | | | + | | 22 = Electro Sapper |
− | | | + | | 23 = Knife |
− | | | + | | 24 = Disguise Kit |
− | | | + | | 25 = Invisibility Watch |
− | | | + | | 26 = Blutsauger |
− | | | + | | 27 = Kritzkrieg |
− | | | + | | 28 = Übersaw |
− | | | + | | 29 = Backburner |
− | | | + | | 30 = Flare Gun |
− | | | + | | 31 = Axtinguisher |
− | | | + | | 32 = Natascha |
− | | 33 = | + | | 33 = Sandvich |
− | | 34 = | + | | 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 | ||
+ | | 51 = Pain Train | ||
+ | | 52 = Homewrecker | ||
+ | | 53 = Dalokohs Bar | ||
+ | | 54 = Lugermorph | ||
+ | | 55 = Big Kill | ||
+ | | 56 = Crit-a-Cola | ||
+ | | 57 = Scotsman's Skullcutter | ||
+ | | 58 = Tribalman's Shiv | ||
+ | | 59 = Golden Wrench | ||
+ | | 60 = Frontier Justice | ||
+ | | 61 = Wrangler | ||
+ | | 62 = Gunslinger | ||
+ | | 63 = Southern Hospitality | ||
+ | | 64 = Rocket Jumper | ||
+ | | 65 = Gloves of Running Urgently | ||
+ | | 66 = Vita-Saw | ||
+ | | 67 = Shortstop | ||
+ | | 68 = Mad Milk | ||
+ | | 69 = Holy Mackerel | ||
+ | | 70 = Sydney Sleeper | ||
+ | | 71 = Darwin's Danger Shield | ||
+ | | 72 = Bushwacka | ||
+ | | 73 = Black Box | ||
+ | | 74 = Battalion's Backup | ||
+ | | 75 = Degreaser | ||
+ | | 76 = Powerjack | ||
+ | | 77 = L'Etranger | ||
+ | | 78 = Your Eternal Reward | ||
+ | | 79 = Frying Pan | ||
+ | | 80 = Sticky Jumper | ||
+ | | 81 = Horseless Headless Horsemann's Headtaker | ||
+ | | 82 = Iron Curtain | ||
+ | | 83 = Enthusiast's Timepiece | ||
+ | | 84 = Candy Cane | ||
+ | | 85 = Boston Basher | ||
+ | | 86 = Back Scratcher | ||
+ | | 87 = Claidheamh Mòr | ||
+ | | 88 = Fists of Steel | ||
+ | | 89 = Jag | ||
+ | | 90 = Loch-n-Load | ||
+ | | 91 = Ullapool Caber | ||
+ | | 92 = Brass Beast | ||
+ | | 93 = Buffalo Steak Sandvich | ||
+ | | 94 = Warrior's Spirit | ||
+ | | 95 = Crusader's Crossbow | ||
+ | | 96 = Amputator | ||
+ | | 97 = Sun-on-a-Stick | ||
+ | | 98 = Sharpened Volcano Fragment | ||
+ | | 99 = Fan O'War | ||
+ | | 100 = Concheror | ||
+ | | 101 = Half-Zatoichi | ||
+ | | 102 = Conniver's Kunai | ||
+ | | 103 = Three-Rune Blade | ||
+ | | 104 = Maul | ||
+ | | 105 = Saxxy | ||
+ | | 106 = Detonator | ||
}}}}<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. | ||
− | + | ||
+ | Probably not going to add hats. | ||
</noinclude> | </noinclude> |
Latest revision as of 02:59, 20 July 2011
Half-Zatoichi
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.