#!/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

# # # Configuration
# Set this to 1 to have a random chance of displaying a random year along with the movie title
ShowRandomYear = 0

# 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 = [
	"Landlords",
	"Yo Momma",
	"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 = [
	"Applying for a Bailout from the Government",
	"Reloaded",
	"Moving Into A New Apartment",
	"Flying Over the Cuckoo's Nest",
	"For 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 the Arctic",
	"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",
	"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",
	"the TV Special",
	"the Webisodes",
	"in Wonderland",
	"on the Left",
	"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", 
	"on Fire",
	"vs Aliens",
	"in Connecticut",
	"in a Fight to the Death",
	"in an Epic Battle to the Death",
	"on the Sun",
	"in a Computer", 
	"in a School", 
	"on a Blimp", 
	"on a Subway", 
	"at Warp Speed", 
	"at War",
	"in the War",
	"Just Not That Into You",
	"Confessing",
	"the 13th",
	"NOW IN 3D!",
	"Going to Jail",
	"Evolving",
	"in Jail",
	"Behind Bars",
	"Unborn",
	"Taken",
	"Full of Doubt",
	"on a Holiday",
	"Not Easily Broken",
	"on Valentine's Day",
	"for Dogs",
	"with a Mall Cop",
	"Crying",
	"in Trouble", 
	"on a Farm", 
	"on a Snake", 
	"in the Attic", 
	"Under the Stairs",
	"in a Prison", 
	"Under Siege",
	"Punching",
	"Shooting Up the Bad Guys", 
	"Underground",
	"in a Secret Undergound Lair",
	"Rising", 
	"Undercover", 
	"on a Wire", 
	"in Jeopardy", 
	"From Beyond", 
	"in a Firetruck", 
	"Attacking", 
	"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 and ShowRandomYear == 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))

