Random Loot Generator

The Random Loot Generator generates random loot. An example is "In the secret room you find... a blessed bundle of vestments of protection, a scroll  titled  "The Fat Diviner", an old lance, a piercing light shield of the queen, a luminous alexandrite of the paladin, a mundane cup, a pile of 220 assorted coins of silver and opal".

Code
$name   : Random Loot Generator $author  : Orteil $picture : http://s13.postimg.org/g43lf2fkz/loot.png $description  : Generate random loot for your dungeons! $button : Loot! $animal fox loot!diamond_block 64 stoat vole mole lemur rat mouse rabbit deer elk wolf werewolf cat tiger lion panther dog bear fish mackerel salmon oarfish coelacanth shark sea monster crab frog toad axolotl newt lizard crocodile snake turtle chameleon butterfly ant wasp leech worm spider bird nightingale crow duck chicken peacock parrot raptor falcon hawk jellyfish urchin trilobite starfish monkey gorilla horse zebra donkey giraffe elephant mammoth troll goblin mermaid harpy minotaur centaur elf gnome slime gel dryad medusa manticore basilisk dinosaur wyvern wyrm parasite alien ghost skeleton zombie ghoul vampire giant [gem type] dragon [element] dragon dragon [weapon type] spirit [element] spirit spirit [gem type] golem [element] golem golem [gem type] colossus [element] colossus colossus $profession warrior paladin barbarian knight soldier centurion guard ranger rogue archer pathfinder mage wizard sorcerer spellcaster magician monk warlock priest druid ninja samurai overseer invoker summoner alchemist herbalist chef cook merchant builder engineer demolitionist scientist astronomer occultist diviner jester scribe painter singer dancer acrobat philosopher traveler explorer assassin guardian keeper templar undertaker animal keeper bandit acolyte queen king prince princess emperor empress servant maid peasant rancher worker pilot captain sailor admiral pirate drunkard fool $element water fire ice lava acid poison earth flora fauna metal rock light darkness mind time matter void space life death undeath arcane magic blood wind technology science $other prefix holy saint blessed magic enchanted guardian angelic godly hallowed unholy cursed banished voodoo demonic hellish sentient singing dreaming cosmic galactic astral rainbow prismatic aquatic aerial burning shocking earthen plasmic sharp piercing screaming laughing talking blinding shiny luminous glowing spiked barbed studded vorpal gilded ornate engraved gnarled twisted corrupted plain mundane rough tarnished dull clouded clear bright pure reflecting mirrored shimmering parasitic healing venomous ghostly kaleidoscopic mysterious confusing lost ancient forgotten heirloom starfallen otherwordly tentacled winged seeing eldritch necrotic necromantic meteoritic vanishing oscillating vibrating pulsating sizzling shivering humming droning buzzing changing morphing shifting extraordinary gigantic colossal miniature farseeing seering divining fractal recursive dimensional ferocious fierce vengeful glorious puzzling [animal]-banishing [animal]sbane [element]-banishing [element]-infused [element]-eating [gem type]-encrusted [profession]'s $prefix [junk prefix] {30%} [other prefix] $other suffix of knowledge of massacre of bloodshed of murder of berserking of bloodthirst of war of diplomacy of seduction of lies of truth of glory of corruption of deceit of wrath of calm of silence of noise of curse of blessing of healing of mending of day of night of dusk of dawn of dreams of nightmares of kings of queens of farsight of teleportation of communication of translocation of shining of darkness of necromancy of transfer of draining of luck of fortune of misery of smoke of fog of mist of gravity of providence of talent of skill of flight of velocity of strength of protection of stamina of charisma of energy of focus of runes of glyphs of wonders of marvel of [element]-breathing imbued with [Spell,title] $suffix of the [animal] {50%} of the [prefix] [animal] {1%} of [element] {50%} of the [profession] {30%} of the [prefix] [profession] {1%} [other suffix] of [potion effect] {30%} made out of [weapon type][s] {1%} $weapon type dagger mace sickle club morningstar shortspear longspear quarterstaff staff scepter wand focus spear crossbow quiver of dart quiver of bolt quiver of arrows quiver javelin sling throwing axe axe knife cleaver hammer handaxe pick sap shortsword battleaxe flail longsword rapier scimitar trident warhammer falchion glaive greataxe greatclub greatsword guisarme halberd lance scythe longbow composite longbow shortbow composite shortbow kama nunchaku sai siangham bastard sword whip bolas repeating crossbow shuriken grenade bomb teseract {2%} $gem type agate alexandrite chrysoberyl andalusite axinite benitoite aquamarine beryl bixbite cassiterite chrysocolla chrysoprase clinohumite cordierite danburite diamond diopside dioptase dumortierite emerald feldspar amazonite labradorite moonstone sunstone garnet hessonite hambergite hematite jade jadeite nephrite jasper kornerupine kunzite lapis lazuli malachite opal peridot prehnite pyrite quartz agate amethyst aventurine citrine chalcedony onyx tiger's-eye rhodochrosite ruby sapphire spinel sugilite tanzanite zoisite topaz turquoise tourmaline variscite vesuvianite zeolite zircon crystal amber ammolite bone copal coral ivory jet nacre pearl fossil bone skull gem baby {20%} glyph rune $junk prefix broken tarnished old dusty dirty uninteresting mundane plain-looking wet rusty corroded ruined moldy useless dull ordinary ornemental finely-crafted masterwork polished collectible {10%} [glass|crystal|gold|silver|bronze|copper|iron|steel|wooden|cloth|stone|marble] {30%} $junk type mirror locket necklace pair of mittens trinket [box|chest|coffer] [cup|goblet|drinking glass|tankard] [torch|lantern] key [quill|ink bottle|pigment satchel|brush] [shovel|rake] [spoon|fork|knife|ladle] [clock|pocketwatch] [ball of yarn|toy|doll|dice] [ball|sphere|globe|cube|block] ring coin medal statue rope [bucket|mop] [magnifying glass|merchant's scale|touchstone] lockpick bottle of [wine|vinegar|rum|alcohol|spirit|liquor] [carrot|cabbage|radish|potato|tomato|apple|pear|strawberry] [meat|apple|fish] [pie|tart|cake] [half|whole|roasted|braised|grilled] [pig|sheep|cow|goat|chicken|duck|pheasant|rabbit|salmon|trout] wheel of cheese loaf of black|white|stale|gray|rice|corn] |]bread [shirt|boot|pair of pants|pair of socks] [backpack|bag]  [music box|harp|lyre|flute|horn|drum|tambourine|bell]  [box|crate|chest|coffer] of [magic|enchanted|rare|uncommon|precious|collectible|ancient|[prefix [pebbles|rocks|shells|fossils|beans|runes|glyphs|dice|fabric|toys] {20%} [wand|rod|scepter|glyph|run] of [potion effect] [nail clipper|t-shirt|pair of underpants|eraser|chewing-gum|camera|highlighter] {10%} [profession]'s toolkit [weapon type] [equipment type] [profession]'s [garb|vestment|outfit|clothing] $magic effect [bend|warp|dig|manipulate|convert|control|shape|shatter|revert|mold|shear|shred|ravage|drain|expel|vomit|emit|radiate|breathe|exhale|inhale|absorb|focus|concentrate] [element] $potion effect [element] [healing|poison|confusion|control|memory|oblivion|nourishment|relief|calm|soothing|agony|digging] [clouds|butterflies|confetti|spiders|sparkles|glow|vapor|fireworks] [magic effect] $potion [potion|salve|poultice|vial|draught|elixir|tonic] of [potion effect] $spell missile sphere missile shot cube specter burst ball bolt rain meteor nova aura tide hail arrows darts prayer curse salve miracle $spell [animal] [conjuring|summoning|invoking|converting|taming|riding] [spell missile] of [element] [element] [spell missile] [spell missile] of the [animal] [gem type] [spell missile] [magic effect] $magic book type [magic|spell] [scroll|book] [magic|enchanted|arcane|mystic|runed|spellcaster's|mage's|sorcerer's] [book|scroll|tome|compendium|codex|volume|book|atlas|glyph|rune] {50%} engraved slab {20%} $book type scroll book tome {30%} codex {30%} volume {30%} compendium {30%} atlas {10%} encyclopedia {10%} engraved slab {10%} $weapon ][weapon type][ [suffix]|] $gem  [[prefix] |][gem type][ [suffix]|]  $book title suffix , [part|volume|book|chapter] [I|II|III|IV|V|VI|VII] {5%}  , [original|new|first|second|third|illustrated|annotated|author's cut] edition {5%}  $person adjective brave  cowardly  stupid  idiot  clever  wise  cunning  kind  good  bad  evil  blind  deaf  fat  greedy  lusty  hungry  pretentious  selfish  lovestruck  distraught  naive  old  young  devious  foolish  happy  sad  vengeful  jealous  $book title  [Overcoming|Dominating|Killing|Slaying|Cooking|Biology of|Philosophy of|Mating rituals of|Getting rid of|Facing|Taming] the [animal][book title suffix]  [Becoming [an]|Learning how to be [an]|The secrets of being [an]|Apprenticeship for the|Tips for the|Finding a guild as [an]|Gearing up for the|Your first steps as [an]|What it's like to be [an [profession][book title suffix]  [All about|The secrets of|Mastering|Crafting with|A history of|An introduction to|A beginner's guide to|A couple things about|Notes about|Thoughts on|So that's a thing :|Oh snap :|Did you know :|Studying|Stories of|The illustrated book of|Understanding|Getting rich with|It's time to learn about|So what about|Playing with|Don't mess with|The industry of|What they don't tell you about] the [animal]|the [gem type]|the [weapon type]|the [equipment type]|the [junk type[book title suffix] The [animal]|The [gem type]|The [weapon type]|The [equipment type]|The [junk type [and you|in a nutshell|for beginners|and its properties|and its secrets|around the world|and how to use it|: secrets and tips|: a handbook|: what you wish you didn't know|: what they never told you|: not that complicated|: a thriving business|and what you can do about it][book title suffix] [The|Adventures of the|Complete adventures of the|Legend of the|Fables of the|Story of the|Songs of the|Quest of the|Chronicles of the|Whatever happened to the|The [comical|hilarious|unlikely] happenings of the|Myth of the|Travels of the|Unbelievable tales of the|[Profession]'s tales   : the] ][[profession,unique]|[animal,unique and the [animal,unique]|[gem]|[weapon]|[equipment]|[junk[book title suffix] The [person adjective] [animal [animal] [lore|knowledge|recipes|locations] {30%} [profession]'s [handbook|guide|diary|manual|textbook|compendium] {30%} [element [mastery|lore|knowledge|proficiency|lessons|history] {30%} $book ][book type][ [suffix]|] {30%} [magic book type] containing "[Spell,title]" [book type] titled "[Book title,title]" $junk [[junk prefix] |][junk type] $trinket [gem] [book] [junk] [potion] $equipment type pair of boots pair of clogs pair of gloves pair of gauntlets light shield heavy shield tower shield buckler crest padded armor leather armor studded leather armor chain shirt hide armor scale mail armor chainmail breastplate splint mail armor banded mail armor half-plate armor full plate armor bundle of vestments [profession]'s outfit helmet helm horned helm hauberk tiara hat crown headband cloak cape robe garb ring amulet necklace charm bracelet brooch medallion pendant belt set of shoulderpads pair of glasses monocle [junk type] $equipment [[prefix] |][equipment type][ [suffix]|] $loot [weapon] {40%} [equipment] {40%} [trinket] $loot location [chest|coffer|box] [monster|[profession's corpse treasure-filled [room|room|room|chamber|corridor|cave|hideout|cellar|attic|vault] [treasure|secret] room [hidden treasure|treasure pile|pile of riches|magic bag] [wanderer|adventurer|traveler|explorer]'s [satchel|bag|bagpack|rucksack] $legendary name bits ka la lad do da dar bal ga bol bus dus dius tus tius tor barg ben gwen lin mal nal mar mor bar dar val per cy ky gnu ara rion gion le la li ti ta to ton tan don dan stil phon fron kil slay gor mach mech chro chra no ni ko ka ri rie vol gran gra nor so ven bur ca co noe noa roy lma lmo fro plo gel sin sym chal chol fol bio ro ra rio ria cen mil lex max zo za zor zar fay $legendary name ends moth muth roy dar balg bolg bald bold mal nal mis mus bus dus dius tus tius tor barg ben mar stor star ven val vale gram gore kill slay burn rion gion nic nac sion gel nia nius gnus gus con kon nant cant dria bion wen win wan lax nax lox nox doz fay rie no nas nos nor driel n d t s k l ph f $legendary name [legendary name bits,x2]] [legendary name bits,x2-3][[legendary name ends]|] [a|e|o][legendary name bits,x1-2][[legendary name ends]|] {50%} $legendary loot [legendary name,title], the Legendary [prefix,title] [loot,title]  $a loot  â€¢ [an] [loot]   $a legendary loot  â€¢ [legendary loot]   $loot selector  [a loot]  [a legendary loot] {2%}  $gold coin  copper  silver  gold  platinum  $gold pile  â€¢ a pile of [10-1000] assorted coins of [[gold coin]|copper and silver|silver and gold|gold and platinum|[gold coin] and [gem type {80%}  $formatted loot  In the [loot location], you find... [loot selector,x4-8][gold pile]

Description
Generate random loot for your dungeons!