Skip to content

Instantly share code, notes, and snippets.

@theneosloth
theneosloth / tf2gen.py
Created January 3, 2013 02:19
Tf2 random item generator
import random
weapon_nouns = ["Bat","Bottle","Fists","Launcher","Knife","Axe","SMG","Kukri","Syringe Gun","Flame Thrower","Sticky Launcher","Huntsman","Saw","Shotgun","Revolver"]
weapon_adjectives = ["Pain","Direct","Charging","Power","Eternal","Black","Crusader's","Back","Steel","Volcano","Persian","Family","Disciplinary","Atomic"]
hat_nouns = ["Hat","Cap","Helmet","Beanie","Fedora","Beard","Earbuds","Bucket","Mask","Head","Gasmask"]
hat_adjectives = ["Fancy","Mining","Football","Towering","Expensive","Detective","Splendid","Last"]
class Item:
def __init__(self):