#!/usr/bin/python

# Random Movie Name Generator! Version 1.4
# by Chris Hopp - September 2006
# Web: fydo.net   E-mail: fydo@fydo.net
#
# Changelog:
#	v1.4 - Added years! 66.66% chance you'll get a year with
#		your movie title. :D
#
# What Is This For?
#   This was created to make movie titles that poke fun at the recent
#    "Snakes on a Plane" internet phenomenon. Enjoy!
#   Note: As of v1.2, the movie titles generated no longer always fit the 
#    same "on a ..." style of movie title.
#   You can use it in your cron and MOTD scripts for extra fun!
#
# Special thanks to my IRC friends for ideas on subjects and locations:
#	imbezol, raskull, SnotRockt, Mambo, tigress, ord

# Import some random (straight from the random factory)
import random

# Make sure things are ULTRA RANDOM!
random.seed()

# Create the sources for the subject and location
subject = [
	"Kittens",
	"Windows",
	"Linux",
	"Interwebs",
	"A Bouncy Ball",
	"Grandpa",
	"Nose Goblins",
	"Boogers",
	"A Blank Chalkboard",
	"Stock Brokers",
	"IT Technicians",
	"Television Repair Men",
	"Hamsters",
	"Gerbils",
	"Hedgehogs",
	"Many Things",
	"Video Games",
	"Steaks",
	"Four Women",
	"Sharp, Pointy Sticks",
	"Life",
	"Babes",
	"Nothing",
	"Grandmothers",
	"Financial Advisors",
	"Recordable Compact Discs",
	"Cheetahs",
	"Penguins",
	"Lions",
	"Bunnies",
	"Rabbits",
	"Ex-Girlfriends",
	"Turtles",
	"Rocketships",
	"Snakes",
	"Game Developers",
	"Honey, I'm",
	"Bugs",
	"Furry People",
	"Dogs",
	"Zombies",
	"Leopards",
	"Robots",
	"Pterodactyls",
	"Sometimes I'm",
	"Computers",
	"PDAs",
	"Dinosaurs",
	"Pirates",
	"Ninjas",
	"Lumberjacks",
	"Monkeys",
	"Policemen",
	"Bandits",
	"Worms",
	"Fish",
	"Caterpillars", 
	"Butterflies", 
	"Particle Accelerators",
	"Stop! You're",
	"Hey! You're",
	"Lepers",
	"Carrots",
	"Government Agents",
	"Routers",
	"Dictionaries",
	"Websites",
	"Pizza Delivery Guys",
	"This is a Movie",
	"Plastic Surgeons",
	"Law Enforcement",
	"Geeks",
	"Nerds",
	"Tadpoles",
	"Cans of Soda Pop",
	"Koala Bears",
	"Post-It Notes",
	"Wax Lips",
	"Robbers", 
	"Keyboards", 
	"Seals", 
	"Ants", 
	"Planes", 
	"Cats", 
	"Midgets", 
	"Children", 
	"Mothers", 
	"Mice", 
	"Elephants", 
	"Spiders", 
	"Bats", 
	"Babies",
	"Cowboys",
	"Monsters", 
	"Swimming Trunks",
	"Mutants", 
	"Shoes", 
	"Parties", 
	"Hate",
	"Murderers",
	"Booby Traps", 
	"Cell Phones", 
	"Null Reference Exceptions", 
	"Dude, I'm", 
	"Heartbreak", 
	"Hookers",
	"Murder", 
	"True Love", 
	"Birds", 
	"Hippos",
	"Morons",
	"Chickens",
	"Frogs",
	"Toads",
	"Terrorists",
	"Lawyers",
	"Detectives",
	"Severed Heads",
	"Solid Gold",
	"Construction Workers",
	"Rocket Scientists",
	"Bowling Balls",
	"Three Men",
	"Turkeys",
	"The Devil",
	"Little Green Men",
	"Death",
	"Elves",
	"Hey, Guess What! I'm",
	"Dentists",
	"A dollar",
	"Buffalo Wings",
	"You and Me",
	"Boats",
	"Pirate Ships",
	"Pairs of Socks",
	"Help! I'm",
	"Look at me! I'm",
	"Hackers",
	"Lead Guitarists",
	"Asthma Sufferers",
	"Underwear",
	"Oh Noes! I'm",
	"Salesmen"]

location = [
	"Flying Over the Cuckoo's Nest",
	"on Sale",
	"in a Video Game",
	"The Movie",
	"on the Mountain",
	"on top of Old Smokey",
	"Under There",
	"Swimming Underwater",
	"Dancing",
	"Cuddling Cute Kittens",
	"Drowning",
	"Exploding!",
	"Stuck In A Swamp",
	"on Thursday",
	"on Friday",
	"on Sunday",
	"on Tuesday",
	"... Interrupted",
	"of the Caribbean",
	"in 60 Seconds",
	"on a Scooter",
	"Unable To Make Friends",
	"Voting in the Election",
	"Back at the Ranch",
	"Remembering",
	"on Halloween",
	"in Costume",
	"With a Vengeance",
	"Dying",
	"Doing Random Things",
	"in a Job Interview",
	"With High Standards",
	"With Low Standards",
	"on eBay",
	"Being Clubbed to Death",
	"Falling In Love",
	"Together Again For The First Time",
	"Wearing Handcuffs",
	"Acting Stupid",
	"Acting Intelligent",
	"From The Swamp",
	"in a Movie",
	"Smashing Things To Bits",
	"Going to Heaven",
	"Getting Naked",
	"playing WoW",
	"in a Hotel",
	"Leaving Town",
	"Smashing a Guitar",
	"Leaving You Alone",
	"Wishing You Were Here",
	"Wishing You Were Gone",
	"Wishing You Were Dead",
	"on a Pirate Ship",
	"on a Plane", 
	"in an Apartment", 
	"in a Hospital", 
	"in a Coffee Shop", 
	"on a Bicycle", 
	"in the Mafia",
	"in a Mall", 
	"... Texas Ranger",
	"Running Reports",
	"on a Spaceship", 
	"in a Park", 
	"in my Pants", 
	"on a Street Corner",
	"in a Deep Sea Adventure",
	"With Reckless Abandon",
	"on a Beach", 
	"on the Moon", 
	"in a Bar", 
	"at a Zoo", 
	"at the Gym", 
	"at a Bus Stop", 
	"on a Train", 
	"Getting Revenge",
	"for Vendetta",
	"on a Boat", 
	"in a Forest", 
	"in a Series of Tubes", 
	"in an Office", 
	"on a Truck", 
	"in a Car", 
	"in a Tower", 
	"in a Fire", 
	"in a Computer", 
	"in a School", 
	"on a Blimp", 
	"on a Subway", 
	"at Warp Speed", 
	"Crying",
	"in Trouble", 
	"on a Farm", 
	"on a Snake", 
	"in the Attic", 
	"Under the Stairs",
	"in a Prison", 
	"Under Siege", 
	"in a Secret Undergound Lair",
	"Rising", 
	"Undercover", 
	"on a Wire", 
	"in Jeopardy", 
	"From Beyond", 
	"in a Firetruck", 
	"Attacking: Part VI", 
	"on Parade",
	"in a Garbagecan",
	"in a Blender",
	"From Outer Space",
	"in a Microwave",
	"From the Deep",
	"Underwater",
	"the Documentary",
	"Striking Back",
	"on Strike",
	"Gone Wild",
	"in a Dream",
	"Live In Concert",
	"in your Brain",
	"in Vegas",
	"in Los Angeles",
	"in New York",
	"Incognito",
	"in Disguise",
	"in a Dumpster",
	"in Low Orbit",
	"Without Legs",
	"in the Quest for the Holy Grail",
	"on Uranus",
	"Dying in a Fire",
	"on the Internet",
	"on the Interwebs",
	"in High Heels"]

decide = [1, 1, 0]

if random.choice(decide) == 1:
	# Display a random subject, location, and year
	print "%s %s (%d)" % (random.choice(subject), random.choice(location), random.randint(1900,2020))
else:
	# Display a random subject and location
	print "%s %s" % (random.choice(subject), random.choice(location))
