Created
August 11, 2016 22:25
-
-
Save lordnull/e902d222d8fabb21b8e34d976a4256d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Werid Stuff Generator</title> | |
<script> | |
var types = [ | |
"Amulet" | |
,"Animal" | |
,"Anvil" | |
,"Arrow" | |
,"Awl" | |
,"Baby" | |
,"Backpack" | |
,"Bag" | |
,"Ball" | |
,"Bandage" | |
,"Bandana" | |
,"Bangle" | |
,"Banner" | |
,"Barding" | |
,"Barrel" | |
,"Basement" | |
,"Basin" | |
,"Basket" | |
,"Battle Axe" | |
,"Bedroll" | |
,"Beer" | |
,"Belt" | |
,"Beret" | |
,"Blacksmith tools" | |
,"Blanket" | |
,"Blouse" | |
,"Blowgun" | |
,"Bone" | |
,"Book" | |
,"Boots" | |
,"Boulder" | |
,"Bow" | |
,"Box" | |
,"Bracelet" | |
,"Bracer" | |
,"Brazier" | |
,"Bucket" | |
,"Buckle" | |
,"Cage" | |
,"Caltrops" | |
,"Candle" | |
,"Canteen" | |
,"Castle" | |
,"Cauldron" | |
,"Cave" | |
,"Censer" | |
,"Chain" | |
,"Chalk" | |
,"Chest" | |
,"Child" | |
,"Chisel" | |
,"City" | |
,"Climbing gear" | |
,"Cloak" | |
,"Clock" | |
,"Cloth" | |
,"Clothing" | |
,"Club" | |
,"Coal" | |
,"Coif" | |
,"Coin" | |
,"Collar" | |
,"Comb" | |
,"Cork" | |
,"Cowbell" | |
,"Crate" | |
,"Crevasse" | |
,"Crib" | |
,"Crown" | |
,"Crutches" | |
,"Cube" | |
,"Cuirass" | |
,"Cup" | |
,"Curtain" | |
,"Cushion" | |
,"Dagger" | |
,"Deck of Cards" | |
,"Desk" | |
,"Die" | |
,"Dirk" | |
,"Doll" | |
,"Door" | |
,"Doorway" | |
,"Drawing" | |
,"Dress" | |
,"Drink" | |
,"Drinking Glass" | |
,"Drum" | |
,"Dungeon" | |
,"Earring" | |
,"Egg" | |
,"Fan" | |
,"Farm" | |
,"Feather" | |
,"Fife" | |
,"Flag" | |
,"Flint and iron" | |
,"Flower" | |
,"Flute" | |
,"Forest" | |
,"Fork" | |
,"Garrote" | |
,"Gem" | |
,"Girdle" | |
,"Gloves" | |
,"Goblet" | |
,"Grappling hook" | |
,"Greaves" | |
,"Hammer" | |
,"Handsaw" | |
,"Harp" | |
,"Harpoon" | |
,"Hat" | |
,"Hatchet" | |
,"Healer's Kit" | |
,"Helmet" | |
,"Hoe" | |
,"Hood" | |
,"Hook" | |
,"Horn" | |
,"Hourglass" | |
,"Human Head" | |
,"Humanoid Creature" | |
,"Incense" | |
,"Ingot" | |
,"Ink" | |
,"Jar" | |
,"Javelin" | |
,"Jelly" | |
,"Jewel" | |
,"Juice" | |
,"Kettle" | |
,"Kettledrum" | |
,"Key" | |
,"Kite" | |
,"Knife" | |
,"Kopis" | |
,"Ladder" | |
,"Ladle" | |
,"Lake" | |
,"Lamp" | |
,"Lantern" | |
,"Leather Armor" | |
,"Liquid" | |
,"Lock" | |
,"Lockpicks" | |
,"Loom" | |
,"Lute" | |
,"Mace" | |
,"Man" | |
,"Manacles" | |
,"Mask" | |
,"Matchbox" | |
,"Medicine" | |
,"Mine" | |
,"Mirror" | |
,"Mitten" | |
,"Mold" | |
,"Mortar & Pestle" | |
,"Mountain" | |
,"Mug" | |
,"Musical Instrument" | |
,"Nail" | |
,"Napkin" | |
,"Necklace" | |
,"Needle" | |
,"Net" | |
,"Note" | |
,"Novel" | |
,"Oil" | |
,"Orchard" | |
,"Outpost" | |
,"Package" | |
,"Painting" | |
,"Pan" | |
,"Pants" | |
,"Paper" | |
,"Park" | |
,"Pick" | |
,"Piece of Cake" | |
,"Pillow" | |
,"Pin" | |
,"Pipes" | |
,"Pitchfork" | |
,"Pocket Knife" | |
,"Poem" | |
,"Poison" | |
,"Pond" | |
,"Pot" | |
,"Potion" | |
,"Pouch" | |
,"Preserved Organ" | |
,"Prison Cell" | |
,"Prybar" | |
,"Pyramid" | |
,"Quarterstaff" | |
,"Quartz" | |
,"Quilt" | |
,"Quiver" | |
,"Rake" | |
,"Rations" | |
,"Rattle" | |
,"Recipe" | |
,"Region" | |
,"Ribbon" | |
,"Ring" | |
,"River" | |
,"Robe" | |
,"Rock" | |
,"Rod" | |
,"Rolling Pin" | |
,"Room" | |
,"Rope" | |
,"Ruin" | |
,"Sabre" | |
,"Sack" | |
,"Sandals" | |
,"Sarcophagus" | |
,"Sash" | |
,"Satchel" | |
,"Saw" | |
,"Scabbard" | |
,"Scale" | |
,"Scarf" | |
,"Scimitar" | |
,"Scroll" | |
,"Scroll case" | |
,"Scythe" | |
,"Seal" | |
,"Sentence" | |
,"Series of Numbers" | |
,"Shawl" | |
,"Shears" | |
,"Sheath" | |
,"Sheet Music" | |
,"Shell" | |
,"Shield" | |
,"Ship" | |
,"Shoes" | |
,"Shortsword" | |
,"Shovel" | |
,"Skirt" | |
,"Sling" | |
,"Smell" | |
,"Soap" | |
,"Sound" | |
,"Soup" | |
,"Spade" | |
,"Spear" | |
,"Sphere" | |
,"Spike" | |
,"Spoon" | |
,"Spring" | |
,"Spring of Water" | |
,"Staff" | |
,"Statue" | |
,"Statuette" | |
,"Stick" | |
,"Stone" | |
,"Stool" | |
,"Sundial" | |
,"Sword" | |
,"Symbol" | |
,"Tabard" | |
,"Tent" | |
,"Thimble" | |
,"Tobacco Pipe" | |
,"Tongs" | |
,"Torch" | |
,"Totem" | |
,"Towel" | |
,"Town" | |
,"Tray" | |
,"Tree" | |
,"Trident" | |
,"Tunic" | |
,"Unknown Machinery" | |
,"Vase" | |
,"Vault" | |
,"Vest" | |
,"Vial" | |
,"Vice" | |
,"Village" | |
,"Virus" | |
,"Volcano" | |
,"Wagon" | |
,"Wand" | |
,"War Hammer" | |
,"Warship" | |
,"Waterskin" | |
,"Well" | |
,"Whetstone" | |
,"Whip" | |
,"Whistle" | |
,"Windchime" | |
,"Window" | |
,"Wine" | |
,"Woman" | |
,"Wrench" | |
,"Writing equipment" | |
]; | |
var founds = [ | |
"A Bag Of Holding" | |
,"A Battlefield" | |
,"A Cave Filled With Wonders" | |
,"A Clear Pool Of Water" | |
,"A Closet" | |
,"A Cultos Commune" | |
,"A Dream" | |
,"A Factory" | |
,"A Gutter In An Alley" | |
,"A Haunted House" | |
,"A Hoarder's Closet" | |
,"A Lone Inventor" | |
,"A Madman's Disheveled Home" | |
,"A Meteor" | |
,"A Mine Shaft" | |
,"A Missing House" | |
,"A Mundane Object Which Gained Special Properties" | |
,"A Novel" | |
,"A Pile Of Garbage" | |
,"A Prison" | |
,"A Ship" | |
,"A Small Town" | |
,"A Summoning Circle" | |
,"A Tomb" | |
,"A Tree" | |
,"A Unique Plant That Only Grows In One Place" | |
,"A Warehouse" | |
,"An Abandoned Journal" | |
,"An Abandoned Shrine" | |
,"An Abandoned Warehouse" | |
,"An Asylum" | |
,"Another Dimension" | |
,"Another Planet" | |
,"Inside Of A Dragon" | |
,"Inside Of A Human" | |
,"Outer Space" | |
,"The Bottom Of A Barrel" | |
,"The Bottom Of A Pit Trap" | |
,"The Brain Of A Genius" | |
,"The Center Of A Labyrinth" | |
,"The Clutches Of A Zombie" | |
,"The End Of A Rainbow" | |
,"The Frozen North" | |
,"The Grave Of A Famous Person" | |
,"The Moon" | |
,"The Mysterious East" | |
,"The Savages To The South" | |
,"The Swamp" | |
,"Under The Floorboards" | |
,"Underground" | |
]; | |
var madeOfs = [ | |
"Animal Body Parts" | |
,"Animal Horn" | |
,"Blood" | |
,"Bone" | |
,"Bread" | |
,"Brick" | |
,"Ceramic" | |
,"Coal" | |
,"Coins" | |
,"Coral" | |
,"Cork" | |
,"Earth" | |
,"Fabric" | |
,"Feathers" | |
,"Feces" | |
,"Fire" | |
,"Flesh" | |
,"Food" | |
,"Gears" | |
,"Glass" | |
,"Gold" | |
,"Hair" | |
,"Human Body Parts" | |
,"Ice" | |
,"Lead" | |
,"Leather" | |
,"Light" | |
,"Living People" | |
,"Memories" | |
,"Metal" | |
,"Mold" | |
,"Music" | |
,"Organs" | |
,"Paper" | |
,"Plant Fibers" | |
,"Plant-life" | |
,"Quartz" | |
,"Salt" | |
,"Sand" | |
,"Shadow" | |
,"Smoke" | |
,"Soap" | |
,"Stone" | |
,"Tumors" | |
,"Twine" | |
,"Water" | |
,"Wax" | |
,"Wind" | |
,"Wood" | |
,"Yarn" | |
]; | |
var biggerBys = [ | |
"Being Struck By Lightning" | |
,"Cellular Division" | |
,"Choosing A Successor" | |
,"Commandeering The Production Of Something Else" | |
,"Impregnating Humans" | |
,"Infecting The Living" | |
,"Interdimensional Translocation" | |
,"Laying Eggs" | |
,"Possessing The Living" | |
,"Religious Worship" | |
,"The Assistance Of Affected Living Beings" | |
,"The Consumption Of The Living" | |
,"The Conversion Of Water" | |
,"The Creation Of Seeds" | |
,"The Disassembly Of Its Environment" | |
,"The Syphoning Of Heat Energy" | |
,"The Voluntary Sacrifice Of Living Beings" | |
,"Time Travel" | |
,"Unobserved Methods" | |
,"Violently Exploding" | |
]; | |
var specials = [ | |
"Acts As A Beacon" | |
,"Ages Living Beings" | |
,"Alters A Living Being's Personality" | |
,"Appears Wherever The PCs Are" | |
,"Attracts A Powerful Creature" | |
,"Attracts All Liquid Blood" | |
,"Attracts Swarms Of Rats" | |
,"Becomes The Subject Of Everyone's Dreams" | |
,"Becomes Transparent In Sunlight" | |
,"Bolsters Defenses" | |
,"Brings Memories To Life" | |
,"Causes Weight Loss" | |
,"Causes Comas" | |
,"Causes Critical Failures" | |
,"Causes Critical Successes" | |
,"Causes Earthquakes" | |
,"Causes Explosions" | |
,"Causes Fear" | |
,"Causes Humans To Switch Minds" | |
,"Causes Insanity" | |
,"Causes Intoxication" | |
,"Causes Levitation" | |
,"Causes Limb Regrowth" | |
,"Causes Living Beings To Be Submissive" | |
,"Causes Living Beings To Bleed From Every Orifice" | |
,"Causes Permanent Phobias" | |
,"Causes Projectile Vomiting" | |
,"Causes Rapid Hair Growth" | |
,"Causes Rapid Injury Healing" | |
,"Causes Rapid Skin Flaking" | |
,"Causes Severe Fatigue" | |
,"Causes Snow To Fall, Even Indoors" | |
,"Causes Suffocation" | |
,"Causes Total Blindness" | |
,"Causes Tumors To Rapidly Form" | |
,"Causes Unconsciousness" | |
,"Causes Vivid Hallucinations" | |
,"Causes Weight Gain" | |
,"Changes The Perception Of Self" | |
,"Contains/Causes A Portal To Another Place" | |
,"Controls Animals" | |
,"Controls Living Beings" | |
,"Creates Darkness" | |
,"Creates Deserts" | |
,"Creates Insects" | |
,"Cures Insanity" | |
,"Drains Life From Magic Users" | |
,"Emanates Banging And Screaming Sounds From Within" | |
,"Emits Thick Smoke" | |
,"Empowers Animals" | |
,"Erases Memories" | |
,"Evokes Extreme Violence In Living Beings" | |
,"Exists Inside Of A Living Being" | |
,"Fills With Mindless Euphoria" | |
,"Freezes When Hot And Thaws When Cold" | |
,"Gives Animals The Power Of Speech" | |
,"Heals Humans" | |
,"Imbues Living Beings With Strength" | |
,"Imprisons Living Beings" | |
,"Increases Probability Of Lucid Dreaming" | |
,"Increases The Growth Rate Of Nearby Plant Life" | |
,"Inspires Bloodlust In Humans" | |
,"Is Immortal" | |
,"Is Inhabited By Sentient Beings" | |
,"Is Sentient" | |
,"Is Unbreakable" | |
,"Is Very Alluring" | |
,"Kills With A Touch" | |
,"Makes Living Beings Visible Through Solid Materials" | |
,"Makes Weather Patterns Change In Extremes" | |
,"Maximizes Magical Effects" | |
,"Melds Into Living Beings" | |
,"Minimizes Magical Effects" | |
,"Mutates Living Beings" | |
,"Opens Dimensional Gateways" | |
,"Permanently Marks Living Beings" | |
,"Prevents Dehydration" | |
,"Protects Living Beings From Harm" | |
,"Provides Nourishment If Eaten" | |
,"Reacts When Touched By Living Being" | |
,"Repels Entities / Enemies" | |
,"Resurrects The Dead" | |
,"Reverses Magic Targeting" | |
,"Saps Strength From Living Beings" | |
,"Shears Away Limbs" | |
,"Shrinks Living Beings" | |
,"Spawns Creatures" | |
,"Spawns Doppelgangers" | |
,"Spreads Disease" | |
,"Stains Anything It Touches" | |
,"Starts Fires" | |
,"Stops Time" | |
,"Suffocates Living Beings" | |
,"Summons Creatures" | |
,"Teleports Nearby Objects" | |
,"Trees Grow Near It" | |
,"Turns Eyes Entirely Black" | |
,"Turns Flesh To Wood" | |
,"Turns Water Into Acid" | |
,"Twists And Then Grants Wishes" | |
]; | |
var verbs = [ | |
"Abuses" | |
,"Activates" | |
,"Ages" | |
,"Alerts" | |
,"Analyzes" | |
,"Arouses" | |
,"Ascends" | |
,"Asks" | |
,"Aspires" | |
,"Attaches" | |
,"Attacks" | |
,"Awakens" | |
,"Baits" | |
,"Barks" | |
,"Basks" | |
,"Bathes" | |
,"Bellows" | |
,"Betrays" | |
,"Bickers" | |
,"Bites" | |
,"Blames" | |
,"Blinds" | |
,"Blinks" | |
,"Blooms" | |
,"Breaks" | |
,"Burns" | |
,"Charms" | |
,"Climbs" | |
,"Complicates" | |
,"Confides" | |
,"Constructs" | |
,"Crawls" | |
,"Cries" | |
,"Dangles" | |
,"Darts" | |
,"Defeats" | |
,"Detects" | |
,"Devours" | |
,"Disrupts" | |
,"Drifts" | |
,"Drips" | |
,"Eats" | |
,"Echoes" | |
,"Enjoys" | |
,"Enllarges" | |
,"Evaluates" | |
,"Excites" | |
,"Explodes" | |
,"Exposes" | |
,"Flashes" | |
,"Flies" | |
,"Follows" | |
,"Forgives" | |
,"Freezes" | |
,"Gathers" | |
,"Gnaws" | |
,"Gurgles" | |
,"Hastens" | |
,"Hates" | |
,"Illuminates" | |
,"Implodes" | |
,"Imprisons" | |
,"Incubates" | |
,"Leaps" | |
,"Lies" | |
,"Limits" | |
,"Listens" | |
,"Loves" | |
,"Mimics" | |
,"Moans" | |
,"Mutilates" | |
,"Mutters" | |
,"Perceives" | |
,"Pleases" | |
,"Plots" | |
,"Prohibits" | |
,"Pulses" | |
,"Purrs" | |
,"Recites" | |
,"Refreshes" | |
,"Refuels" | |
,"Restrains" | |
,"Rolls" | |
,"Rumbles" | |
,"Scolds" | |
,"Scours" | |
,"Screams" | |
,"Screeches" | |
,"Serves" | |
,"Smells" | |
,"Speaks" | |
,"Stores" | |
,"Sucks" | |
,"Thrives" | |
,"Transcends" | |
,"Transforms" | |
,"Unravels" | |
,"Vomits" | |
,"Walks" | |
,"Writes" | |
]; | |
/* | |
This [type] comes from [origin] and is made of [composition]. It reproduces or | |
grows via [reproduction / growth]. It [special property] and [special property]. | |
It [verb] and it [verb]. | |
*/ | |
var random_element = function(arr){ | |
var idx = Math.floor(Math.random() * arr.length); | |
return arr[idx]; | |
} | |
var make_weird = function(){ | |
var type = random_element(types); | |
var origin = random_element(founds); | |
var madeOf = random_element(madeOfs); | |
var growth = random_element(biggerBys); | |
var special1 = random_element(specials); | |
var special2 = random_element(specials); | |
var verb1 = random_element(verbs); | |
var verb2 = random_element(verbs); | |
var str = "This " + type + " comes from " + origin + " and is made of " + madeOf + ". It reproduces or grows via " + growth + ". It " + special1 + " and " + special2 + ". It " + verb1 + " and it " + verb2 + "."; | |
var element = document.getElementById('output'); | |
element.innerText = str; | |
} | |
</script> | |
</head> | |
<body> | |
<button onclick="make_weird()">Make Weird Stuff</button> | |
<div id="output"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment