JavaScript is required. Please enable it to continue. Your browser lacks required capabilities. Please upgrade it or switch to another to continue. Loading…

Welcome to Eigengrau's Essential Establishment Generator, v$versionnumber! This is still in alpha. If you have any bug reports, suggestions, or submissions (in desperate need of more plot hooks!), please click here: [[Submission Form]] <<linkappend "Changelog:" t8n>> <<include "Changelog">><</linkappend>> <<linkappend "To Do List" t8n>> <<include "ToDo">><</linkappend>> Tavern Wealth: <<numberslider "$tavern.wealthroll" $tavern.wealthroll 1 100 1>> Tavern Population: <<numberslider "$tavern.populationroll" $tavern.populationroll 1 100 1>> Tavern Size: <<numberslider "$tavern.sizeroll" $tavern.sizeroll 1 100 1>> Tavern Reputation: <<numberslider "$tavern.reputationroll" $tavern.reputationroll 1 100 1>> Tavern Roughness: <<numberslider "$tavern.roughnessroll" $tavern.roughnessroll 1 100 1>> Tavern Sin: <<numberslider "$tavern.sinroll" $tavern.sinroll 1 100 1>> Tavern Cleanliness: <<numberslider "$tavern.cleanlinessroll" $tavern.cleanlinessroll 1 100 1>> When you're ready, here's the <<nobr>><<set _output to random(1, 3)>> <<if _output is 1>> [[output|Output1]] <<elseif _output is 2>> [[output|Output2]] <<elseif _output is 3>> [[output|Output3]] <</if>> <</nobr>> <<include "Town">> <<include "Tavern">> <<include "TavernNameGen">> <<include "TavernFlavour">> <<include "Names">> /*<<include "fairmath">>*/ <<include "Modifiers">> <<include "NPC">> <<include "Bartender">> <<include "PlotGuy">> <<include "PlotHook">> <<include "ShitPlotHooks">> <<include "SpecialBrew">> <<include "Bonds">> <<include "Pickpocket">> <<set $versionnumber to "0.1.1">> <<if $tavern.sinroll gt 100>> <<set $tavern.sinroll to 100>> <<elseif $tavern.sinroll lt 1>> <<set $tavern.sinroll to 1>> <</if>> <<if $tavern.wealthroll gt 100>> <<set $tavern.wealthroll to 100>> <<elseif $tavern.wealthroll lt 1>> <<set $tavern.wealthroll to 1>> <</if>> <<if $tavern.reputationroll gt 100>> <<set $tavern.reputationroll to 100>> <<elseif $tavern.reputationroll lt 1>> <<set $tavern.reputationroll to 1>> <</if>> <<if $tavern.cleanlinessroll gt 100>> <<set $tavern.cleanlinessroll to 100>> <<elseif $tavern.cleanlinessroll lt 1>> <<set $tavern.cleanlinessroll to 1>> <</if>> <<if $tavern.populationroll gt 100>> <<set $tavern.populationroll to 100>> <<elseif $tavern.populationroll lt 1>> <<set $tavern.populationroll to 1>> <</if>> <<if $tavern.roughnessroll gt 100>> <<set $tavern.roughnessroll to 100>> <<elseif $tavern.roughnessroll lt 1>> <<set $tavern.roughnessroll to 1>> <</if>> Created by /u/rcgy [[Credits]] <<nobr>><<include "Renders">><</nobr>>The $tavern.wordnoun is called <strong>$tavern.name</strong><<nobr>>,<</nobr>> and is <<include "ReputationDescriptor">><<nobr>> <<if $tavern.type is "regular">> <<print "in $town.name for the cheap beer and its $tavern.sin patrons.">> <<elseif $tavern.type isnot "regular">> <<print "in $town.name for being a $tavern.type, with $tavern.sin patrons. Its main draw in the $town.type is the $tavern.draw<<nobr>>.<</nobr>>">> <</if>> <<include "TavernDescription">> <</nobr>> Behind $tavern.name's $tavern.structure bar is a $bartender.racenote, who you notice has $bartender.physicaltrait. Currently, $bartender.heshe is <<print $bartender.idle.random()>>. Looking up, $bartender.heshe <<print $bartender.greeting.pluck()>> and introduces <<nobr>>$bartender.himher<</nobr>>self as $bartender.firstname<<nobr>><</nobr>> $bartender.lastname<<nobr>>,<</nobr>> $bartender.hisher $bartender.eyes eyes <<print either("looking brightly at you.", "piercing through your armour.", "staring at you warily.", "watching you suspiciously.", "looking at you kindly.", "darting back and forth around the room.")>> <<linkreplace "Talk with $bartender.name" t8n>><<include "BartenderTalk">><</linkreplace>> <<print $tavern.entertainment.pluck()>> <<linkreplace "Look around the $tavern.wordnoun" t8n>> <<include "LookAround">> <<print $tavern.patrons.pluck()>><</linkreplace>> <<include "Menu">> <<include "Intrigue">> <h4> Accomodation </h4><<include "Rooms">> Many thanks to /u/FamousHippopotamus and /u/OrkishBlade for their excellent tables and DMing advice over the years. Shoutout to /r/twinegames and the good folks in the Discord server who helped a total newb learn how to code in Twine. This software is provided on an as-is basis, and no warranty or guarantee that it works is provided. This software will always be free, without any ads or for any pay. If you have purchased this software, seek a refund immediately. This is still in alpha. If you have any bug reports, suggestions, or submissions (in desperate need of more plot hooks!), please click here: [[Submission Form]] We have a subreddit! www.reddit.com/r/EigengrausGenerator <strong>Version: $versionnumber</strong> <<linkappend "Changelog:">> <<include "Changelog">><</linkappend>> The following user's content appears in this instance (i.e. only the content that is currently running is visible in the list below: $specialbrew.author <<linkappend "To Do List">> <<include "ToDo">><</linkappend>> /* ------------------------- TOWN NAME -------------------------- */ <<set $town.nameprefix to either("Green", "Elms", "Oak", "Fair", "Farren", "Tall", "Nar", "Alla", "Lans", "San", "Col", "Fri", "Plain", "Hon", "Far", "Barrow", "Shi", "Mel", "Mal", "Bon", "Bie")>> <<set $town.namesuffix to either("dale", "ten", "den", "ven", "gen", "len", "lun", "stun", "ville", "burn", "view", "nen", "lan", "sed", "folk", "ork", "len", "pan", "rel", "old")>> <<set $town.name to $town.nameprefix + $town.namesuffix>> /* ------------------------- TAVERN NAME -------------------------- */ <<set $tavern.nounA to either("Warhorse", "Horseman", "Maiden", "Mage", "Bachelor", "King", "Magistrate", "Warchief", "Warrior", "Mare", "Wolf", "Fox", "Lion", "Lamb", "Warden", "Mule", "Assassin", "Swordsman", "Lady", "Knight", "Soldier", "Wizard", "Warlock", "Ranger", "Bard", "Druid", "Monk", "Paladin", "Sorcerer", "Rogue", "Cleric", "Bear", "Goblin", "Kobold", "Gnome", "Halfling", "Dwarf", "Fool", "Virgin", "Horde", "Squire", "Eagle", "Rooster", "Piglet", "Thief", "Priest", "Friar", "Blacksmith", "Guard", "Stag", "Hag", "Devil", "Angel", "Serpent", "Snake", "Rat", "Mouse", "Bandit", "Chieftain", "Griffon", "Dragon", "Lizard", "Pony", "Baron", "Heifer", "Bull", "Hound", "Goat", "Toad", "Stallion", "Monster", "Vermin", "Beholder", "Monkey", "Elephant", "Boar", "Beagle", "Bat", "Demon", "Imp", "Sprite", "Fey", "Spirit", "Bitch", "Starling", "Minotaur", "Barbarian", "Prophet", "Merchant", "Cobbler", "Unicorn", "Ogre", "Nymph", "Butcher", "Captain", "Angler", "Lover", "Mason", "Tinker", "Whale")>> <<if $tavern.nameroll is 1>> <<set $tavern.adjective to either("Wayward", "Quiet", "Jolly", "Good", "Crooked", "White", "Gray", "Blackened", "Harried", "Crimson", "Silver", "Golden", "Disturbed", "Filthy", "Ugly", "Bastard", "Faltering", "Glorious", "Beautiful", "Handsome", "Wrinkled", "Unhappy", "Intelligent", "Lovely", "Ignorant", "Senile", "Sour", "Sweet", "Lonely", "Green", "Blind", "Hungry", "Worried", "Educated", "Stupid", "Emboldened", "Honorary", "Stinky", "Bottomless", "Greasy", "Sloppy", "Stylish", "Distressed", "Harrowed", "Tormented", "Mortified", "Lopsided", "Broken", "Moldy", "Gooey", "Fermented", "Blighted", "Ornate", "Drowned", "Murdered", "Widowed", "Hanged", "Angry", "Lusty", "Haunted", "Strong", "Withered", "Comely", "Pious", "Penitent", "Patient", "Drunk", "Worthy", "Wealthy", "Loathsome", "Weak", "Miniscule", "Miniature", "Enormous", "Enlarged", "Engorged", "Lecherous", "Despicable", "Lewd", "Portly", "Violent", "Bumbling", "Faulty", "Pristine", "Cleanly", "Cracked", "Splintered", "Jeweled", "Superior", "Flawless", "Common", "Exquisite", "Elegant", "Fine", "Dull", "Brittle", "Fragile", "Effeminate", "Masculine", "Supine")>> <<elseif $tavern.nameroll is 2 or $tavern.nameroll is 3>> <<set $tavern.nounB to either("Mount", "Saddle", "Guild", "Fangs", "Man", "Pardon", "Pleasure", "Belt", "Staff", "Shield", "Prince", "Master", "Servant", "Meal", "Prince", "Favor", "Love", "Word", "Scribe", "Apprentice", "Acolyte", "Dress", "Goddess", "God", "Gold", "Purse", "Trap", "King", "Son", "Sister", "Mother", "Daughter", "Cry", "Shout", "Cupboard", "Pantry", "Queen", "Wealth", "Star", "Void", "Woman", "Man", "Whore", "Butcher", "Anvil", "Tome", "Sacrifice","Armor", "Cup", "Pot", "Stove", "Stool", "Princess", "Chain", "Sword", "Pork", "Grain", "Tooth", "Lance", "Axe", "Scabbard", "Knife", "Dagger", "Spear", "Bow", "Crossbow", "Quarterstaff", "Staff", "Fire", "Ice", "Wind", "Earth", "Water", "Stone", "Ladle", "Monastery", "Chalice", "Goblet", "Dungeon", "Lust", "Lantern", "Bone", "Life", "Stone", "Mistress", "Mind", "Treasure", "Barter", "Armorer", "Butler", "Page", "Tome", "Feather", "Shadow", "Friend", "Labyrinth", "Mountain", "Hope", "Boot", "Gauntlet")>> <<elseif $tavern.nameroll is 4>> <<set $tavern.verb to either("Moping", "Drowning", "Hanging", "Belching", "Running", "Walking", "Hunting", "Fighting", "Swinging", "Breaking", "Working", "Fermenting", "Flowering", "Worrying", "Following", "Flowing", "Complaining", "Standing", "Joking", "Laughing", "Panting", "Boarding", "Lounging", "Cutting", "Singing", "Staring", "Goading", "Disappointing", "Faltering", "Binding", "Winding", "Sundering", "Longing", "Fumbling", "Bumbling", "Stumbling", "Pining", "Whining", "Flying", "Hoarding", "Whoring", "Warring", "Winking", "Skittering", "Slithering", "Snoring", "Snorting", "Playing", "Practicing", "Grappling", "Burning", "Flaming", "Freezing", "Poisoning", "Burying", "Throwing", "Sparking", "Steaming", "Smiting", "Chittering", "Chattering", "Mumbling", "Grating", "Plowing", "Biting", "Howling", "Roaring", "Shouting", "Pouring", "Squeaking", "Stinging", "Charging", "Bleating", "Stabbing", "Goring", "Poking", "Swallowing", "Sucking", "Drinking", "Sneaking", "Hiding", "Slashing", "Limping", "Tripping", "Shifting", "Sliding", "Blinding", "Piercing", "Bludgeoning", "Crushing", "Hopping", "Thundering", "Hushing", "Crying", "Wailing", "Mourning", "Darkening", "Piling", "Digging", "Flinging")>> <<elseif $tavern.nameroll is 5>> <<set $tavern.nounC to either("Mount", "Saddle", "Guild", "Fangs", "Man", "Pardon", "Pleasure", "Belt", "Staff", "Shield", "Prince", "Master", "Servant", "Meal", "Prince", "Favor", "Love", "Word", "Scribe", "Apprentice", "Acolyte", "Dress", "Goddess", "God", "Gold", "Purse", "Trap", "King", "Son", "Sister", "Mother", "Daughter", "Cry", "Shout", "Cupboard", "Pantry", "Queen", "Wealth", "Star", "Void", "Woman", "Man", "Whore", "Butcher", "Anvil", "Tome", "Sacrifice","Armor", "Cup", "Pot", "Stove", "Stool", "Princess", "Chain", "Sword", "Pork", "Grain", "Tooth", "Lance", "Axe", "Scabbard", "Knife", "Dagger", "Spear", "Bow", "Crossbow", "Quarterstaff", "Staff", "Fire", "Ice", "Wind", "Earth", "Water", "Stone", "Ladle", "Monastery", "Chalice", "Goblet", "Dungeon", "Lust", "Lantern", "Bone", "Life", "Stone", "Mistress", "Mind", "Treasure", "Barter", "Armorer", "Butler", "Page", "Tome", "Feather", "Shadow", "Friend", "Labyrinth", "Mountain", "Hope", "Boot", "Gauntlet"), $tavern.verb to either("Moping", "Drowning", "Hanging", "Belching", "Running", "Walking", "Hunting", "Fighting", "Swinging", "Breaking", "Working", "Fermenting", "Flowering", "Worrying", "Following", "Flowing", "Complaining", "Standing", "Joking", "Laughing", "Panting", "Boarding", "Lounging", "Cutting", "Singing", "Staring", "Goading", "Disappointing", "Faltering", "Binding", "Winding", "Sundering", "Longing", "Fumbling", "Bumbling", "Stumbling", "Pining", "Whining", "Flying", "Hoarding", "Whoring", "Warring", "Winking", "Skittering", "Slithering", "Snoring", "Snorting", "Playing", "Practicing", "Grappling", "Burning", "Flaming", "Freezing", "Poisoning", "Burying", "Throwing", "Sparking", "Steaming", "Smiting", "Chittering", "Chattering", "Mumbling", "Grating", "Plowing", "Biting", "Howling", "Roaring", "Shouting", "Pouring", "Squeaking", "Stinging", "Charging", "Bleating", "Stabbing", "Goring", "Poking", "Swallowing", "Sucking", "Drinking", "Sneaking", "Hiding", "Slashing", "Limping", "Tripping", "Shifting", "Sliding", "Blinding", "Piercing", "Bludgeoning", "Crushing", "Hopping", "Thundering", "Hushing", "Crying", "Wailing", "Mourning", "Darkening", "Piling", "Digging", "Flinging")>> <</if>> /* ---------------------- TAVERN NAMEROLL CODE ----------------------- */ <<if $tavern.nameroll is 1>> <<set $tavern.name to "The " + $tavern.adjective + " " + $tavern.nounA>> <<elseif $tavern.nameroll is 2>> <<set $tavern.name to "The " + $tavern.nounA + " and " + $tavern.nounB>> <<elseif $tavern.nameroll is 3>> <<set $tavern.name to "The " + $tavern.nounA + " and the " + $tavern.nounB>> <<elseif $tavern.nameroll is 4>> <<set $tavern.name to "The " + $tavern.verb + " " + $tavern.nounA>> <<elseif $tavern.nameroll is 5>> <<set $tavern.name to "The " + $tavern.verb + " " + $tavern.nounA + " and the " + $tavern.nounC>> <<else>> <<set $tavern.name to "The " + $tavern.nounA + " Inn">> <</if>> /* ------------------------- NAME ------------------------- */ <<if ["Silver", "Golden", "Glorious", "Beautiful", "Handsome", "Lovely", "Educated", "Ornate", "Wealthy", "Cleanly", "Jeweled", "Superior", "Flawless", "Exquisite", "Elegant", "Fine"].includes($tavern.adjective)>> <<set $tavern.wealthroll += 3>> <<elseif ["Blighted", "Withered", "Lecherous", "Faulty", "Cracked", "Common"].includes($tavern.adjective)>> <<set $tavern.wealthroll -= 3>> <</if>> /* ------------------------- BARTENDER RACE -------------------------- */ /* THIS IS IN THE BARTENDER PASSAGE */ /* ------------------------- WEALTH -------------------------- */ <<if $town.wealth gt 95>> <<set $tavern.wealthroll += 5>> <<elseif $town.wealth gt 80>> <<set $tavern.wealthroll += 3>> <<elseif $town.wealth gt 70>> <<set $tavern.wealthroll += 2>> <<elseif $town.wealth gt 60>> <<set $tavern.wealthroll += 1, $tavern.populationroll += 1>> <<elseif $town.wealth gt 50>> <<set $tavern.wealthroll += 1, $tavern.populationroll += 3>> <<elseif $town.wealth gt 40>> <<set $tavern.wealthroll -= 1, $tavern.populationroll += 2>> <<elseif $town.wealth gt 30>> <<set $tavern.wealthroll -= 2>> <<elseif $town.wealth gt 20>> <<set $tavern.wealthroll -= 3, $tavern.sinroll += 1>> <<elseif $town.wealth lte 20>> <<set $tavern.wealthroll -= 5, $tavern.sinroll += 3, $tavern.populationroll -= 3>> <</if>> /* ------------------------- TYPE -------------------------- */ <<if $tavern.type is "brothel" or $tavern.type is "gambling den">> <<set $tavern.sinroll += 20, $tavern.roughnessroll +=4, $tavern.cleanlinessroll -= 5>> <<elseif $tavern.type is "quiet and low-key bar bar bar">> <<set $tavern.sinroll -= 15, $tavern.populationroll -= 5, $tavern.roughnessroll -=10, $tavern.cleanlinessroll += 3>> <<elseif $tavern.type is "raucous dive">> <<set $tavern.sinroll += 5, $tavern.populationroll += 15, $tavern.roughnessroll +=5, $tavern.cleanlinessroll -= 5>> <<elseif $tavern.type is "thieves' guild hangout">> <<set $tavern.sinroll += 15, $tavern.roughnessroll +=5>> <<elseif $tavern.type is "high-end dining club" or $tavern.type is "members-only club">> <<set $tavern.sinroll -= 10, $tavern.wealthroll += 5, $tavern.roughnessroll -=10, $tavern.cleanlinessroll += 10>> <<elseif $tavern.type is "gathering place for a secret society">> <<set $tavern.sinroll += 5, $tavern.populationroll -= 5>> <</if>> /* ------------------------- DRAW -------------------------- */ /*<<if $tavern.draw is "attractive waitstaff">> <<set $tavern.roughnessroll += 3, $tavern.sinroll += 1>> <<elseif $tavern.draw is "crude jokes the bartender makes">> <<set $tavern.roughnessroll += 3, $tavern.sinroll += 1>> <<elseif $tavern.draw is "proximity to the thieves' guild headquarters" or $tavern.draw is "proximity to the brothel">> <<set $tavern.roughnessroll += 1, $tavern.sinroll += 3>> <<elseif $tavern.draw is "witty banter with the waitstaff" or $tavern.draw is "proximity to the church" or $tavern.draw is "incredible view" or $tavern.draw is "nice view">> <<set $tavern.roughnessroll -= 1, $tavern.sinroll -= 3, $tavern.cleanlinessroll += 1>> <<elseif tavern.draw is "warmth inside" or $tavern.draw is "huge fireplace">> <<set $tavern.roughnessroll -= 2, $tavern.sinroll -= 1, $tavern.cleanlinessroll += 1>> */ <<if $tavern.draw is "lack of bedbugs" or $tavern.draw is "clean beds">> <<set $tavern.roughnessroll -= 4, $tavern.sinroll -= 1, $tavern.cleanlinessroll += 15>> <</if>> /* ---------------------- TAVERN STRUCTURE MATERIAL ----------------------- */ <<if $tavern.structure is "hewn rock">> <<set $tavern.roughnessroll += 3>> <<elseif $tavern.structure is "chiseled stone">> <<set $tavern.roughnessroll -= 1>> <<elseif $tavern.strucutre is "marble">> <<set $tavern.cleanlinesroll += 5, $tavern.wealthroll += 6>> <</if>> /* ======================= RENDERS ======================= */ /* ------------------------- WEALTH -------------------------- */ <<if $tavern.wealthroll gt 95>> <<set $tavern.wealth to "kingly", $tavern.cost += 4, $tavern.sizeroll += 3, $tavern.cleanlinessroll += 15, $tavern.roughnessroll -= 10>> <<elseif $tavern.wealthroll gt 80>> <<set $tavern.wealth to "aristocratic", $tavern.cost += 3, $tavern.cleanlinessroll += 10>> <<elseif $tavern.wealthroll gt 70>> <<set $tavern.wealth to "wealthy", $tavern.cost += 2, $tavern.cleanlinessroll += 6>> <<elseif $tavern.wealthroll gt 60>> <<set $tavern.wealth to "comfortable", $tavern.cost += 1, $tavern.populationroll += 5, $tavern.cleanlinessroll += 4>> <<elseif $tavern.wealthroll gt 50>> <<set $tavern.wealth to "modest", $tavern.populationroll += 5, $tavern.reputation -= 5, $tavern.cleanlinessroll += 2>> <<elseif $tavern.wealthroll gt 35>> <<set $tavern.wealth to "poor", $tavern.cost -= 1, $tavern.reputation -= 7, $tavern.cleanlinessroll -= 15>> <<elseif $tavern.wealthroll gt 15>> <<set $tavern.wealth to "squalid", $tavern.cost -= 2, $tavern.reputation -= 10, $tavern.cleanlinessroll -= 25>> <</if>> /* ------------------------- SIZE -------------------------- */ <<if $tavern.sizeroll gt 80>> <<set $tavern.size to "huge", $tavern.population += 5, $tavern.roughnessroll +=3, $tavern.cleanlinessroll -= 2>> <<elseif $tavern.sizeroll gt 60>> <<set $tavern.size to "large", $tavern.population += 4, $tavern.roughnessroll +=1>> <<elseif $tavern.sizeroll gt 40>> <<set $tavern.size to "medium", $tavern.population += 3>> <<elseif $tavern.sizeroll gt 20>> <<set $tavern.size to "small", $tavern.population -= 2, $tavern.sinroll -= 5>> <<elseif $tavern.sizeroll lte 20>> <<set $tavern.size to "tiny", $tavern.sinroll -= 5, $tavern.populationroll -= 5, $tavern.roughnessroll -=3>> <</if>> /* ------------------------- ROUGHNESS -------------------------- */ <<if $tavern.roughnessroll gt 80>> <<set $tavern.roughness to "bloodthirsty", $tavern.population += 3, $tavern.sinroll +=5, $tavern.cleanlinessroll -= 4>> <<elseif $tavern.roughnessroll gt 60>> <<set $tavern.roughness to "rough", $tavern.population += 1, $tavern.sinroll +=3, $tavern.cleanlinessroll -= 2>> <<elseif $tavern.roughnessroll gt 50>> <<set $tavern.roughness to "alright", $tavern.population += 1, $tavern.sinroll -=1>> <<elseif $tavern.roughnessroll gt 40>> <<set $tavern.roughness to "placid", $tavern.population += 2, $tavern.sinroll -=3>> <<elseif $tavern.roughnessroll gt 30>> <<set $tavern.roughness to "calm", $tavern.population -= 5, $tavern.sinroll -=1, $tavern.wealthroll += 1>> <<elseif $tavern.roughnessroll gt 20>> <<set $tavern.roughness to "tranquil", $tavern.population -= 10, $tavern.sinroll -=3, $tavern.wealthroll -= 1>> <<elseif $tavern.roughnessroll gt 20>> <<set $tavern.roughness to "utterly serene", $tavern.population -= 15, $tavern.sinroll -=5, $tavern.wealthroll -= 3>> <</if>> /* ------------------------- CLEANLINESS -------------------------- */ <<if $tavern.cleanlinessroll gt 80>> <<set $tavern.cleanliness to "absolutely spotless", $tavern.bedcleanliness to "perfectly prepared, with fresh sheets and a lemon scent in the air of the room">> <<elseif $tavern.cleanlinessroll gt 70>> <<set $tavern.cleanliness to "spotless", $tavern.bedcleanliness to "freshly cleaned and neat">> <<elseif $tavern.cleanlinessroll gt 60>> <<set $tavern.cleanliness to "hygienic", $tavern.bedcleanliness to "tidy and neat">> <<elseif $tavern.cleanlinessroll gt 50>> <<set $tavern.cleanliness to "decently hygienic", $tavern.bedcleanliness to "reasonably clean">> <<elseif $tavern.cleanlinessroll gt 40>> <<set $tavern.cleanliness to "slightly grubby", $tavern.bedcleanliness to "somewhat tidy">> <<elseif $tavern.cleanlinessroll gt 30>> <<set $tavern.cleanliness to "quite dirty", $tavern.bedcleanliness to "disgusting", $tavern.population -= 1, $tavern.sinroll +=1, $tavern.wealthroll -= 2>> <<elseif $tavern.cleanlinessroll gt 20>> <<set $tavern.cleanliness to "rather filthy", $tavern.bedcleanliness to "teeming with rats", $tavern.population -= 2, $tavern.sinroll +=3, $tavern.wealthroll -= 4>> <<elseif $tavern.cleanlinessroll lte 20>> <<set $tavern.cleanliness to "absolutely putrid", $tavern.bedcleanliness to "festering with bugs", $tavern.population -= 3, $tavern.sinroll +=5, $tavern.wealthroll -= 8>> <</if>> /* ------------------------- SIN -------------------------- */ <<if $tavern.sinroll gt 80>> <<set $tavern.sin to "corrupt">> <<elseif $tavern.sinroll gt 70>> <<set $tavern.sin to "venal">> <<elseif $tavern.sinroll gt 60>> <<set $tavern.sin to "sleazy">> <<elseif $tavern.sinroll gt 50>> <<set $tavern.sin to "seedy">> <<elseif $tavern.sinroll gt 40, $tavern.roughness gt 60>> <<set $tavern.sin to "surprisingly trustworthy">> <<elseif $tavern.sinroll gt 40>> <<set $tavern.sin to "trustworthy">> <<elseif $tavern.sinroll gt 30, $tavern.roughness gt 60>> <<set $tavern.sin to "surprisingly reliable">> <<elseif $tavern.sinroll gt 30>> <<set $tavern.sin to "reliable">> <<elseif $tavern.sinroll lte 20, $tavern.roughness gt 60>> <<set $tavern.sin to "surprisingly honest">> <<elseif $tavern.sinroll lte 20>> <<set $tavern.sin to "honest">> <<else>> <<set $tavern.sin to "reasonably trustworthy">> <</if>> /* ------------------------- NAMES -------------------------- */ <<set $name to { last: ["Alder", "Ash", "Ashdown", "Atwood", "Barnes", "Becker", "Berry", "Briar", "Briggs", "Brock", "Brook", "Bundy", "Burnside", "Burroughs", "Bush", "Butcher", "Butler", "Clay", "Court", "Cox", "Croft", "Cross", "Crump", "Dale", "Deane", "Delaney", "Dike", "Dodd", "Ford", "Forrest", "Fox", "Freeman", "Garside", "Gorsuch", "’Graves", "Green", "Greeves", "Gross", "Grove", "Grover", "Hall", "Hawthorne", "Hazel", "Head", "Heather", "Hill", "Holley", "Holmes", "Holt", "Homer", "Hooke", "Hope", "House", "Howe", "Hume", "Hyde", "Johnston", "Kaye", "Keats", "Kerry", "Kirk", "Lamb", "Layne", "Lea", "Lowell", "March", "Marsh", "Marshal", "Martin", "May", "Millerchip", "Mills", "Moore", "Newby", "Paine", "Paxton", "Perrin", "Pike", "Pitt", "Preacher", "Provost", "Purple", "Ridge", "Rock", "Rose", "Rowen", "Sangster", "Sellers", "Shaw", "Short", "Thorne", "Underwood", "Walsh", "Wells", "West", "Whitney", "Wilde", "Wood", "Wragge", "Wynne"], man: ["Aaryn", "Aaro", "Aarus", "Abramus", "Abrahm", "Abyl", "Abelus", "Adannius", "Adanno", "Aedam", "Adym", "Adamus", "Aedrian", "Aedrio", "Aedyn", "Aidyn", "Aelijah", "Elyjah", "Aendro", "Androe", "Aenry", "Hynroe", "Hynrus", "Aethan", "Aethyn", "Aevan", "Evyn", "Evanus", "Alecks", "Alyx", "Alexandyr", "Xandyr", "Alyn", "Alaen", "Andrus", "Aendrus", "Anglo", "Aenglo", "Anglus", "Antony", "Antonyr", "Astyn", "Astinus", "Axelus", "Axyl", "Benjamyn", "Benjamyr", "Braidyn", "Brydus", "Braddeus", "Brandyn", "Braendyn", "Bryus", "Bryne", "Bryn", "Branus", "Caeleb", "Caelyb", "Caerlos", "Carlus", "Cameryn", "Camerus", "Cartus", "Caertero", "Charlus", "Chaerles", "Chyrles", "Christophyr", "Christo", "Chrystian", "Chrystan", "Connorus", "Connyr", "Daemian", "Damyan", "Daenyel", "Danyel", "Davyd", "Daevo", "Dominac", "Dylaen", "Dylus", "Elius", "Aeli", "Elyas", "Helius", "Helian", "Emilyan", "Emilanus", "Emmanus", "Emynwell", "Ericus", "Eryc", "Eryck", "Ezekius", "Zeckus", "Ezekio", "Ezrus", "Yzra", "Gabrael", "Gaebriel", "Gael", "Gayl", "Gayel", "Gaeus", "Gavyn", "Gaevyn", "Goshwa", "Joshoe", "Graysus", "Graysen", "Gwann", "Ewan", "Gwyllam", "Gwyllem", "Haddeus", "Hudsyn", "Haesoe", "Haesys", "Haesus", "Handus", "Handyr", "Hantus", "Huntyr", "Haroldus", "Haryld", "Horgus", "Horus", "Horys", "Horyce", "Hosea", "Hosius", "Iaen", "Yan", "Ianus", "Ivaen", "Yvan", "Jaecoby", "Jaecob", "Jaeden", "Jaedyn", "Jaeremiah", "Jeremus", "Jasyn", "Jaesen", "Jaxon", "Jaxyn", "Jaxus", "Johnus", "Jonus", "Jonaeth", "Jonathyn", "Jordus", "Jordyn", "Josaeth", "Josephus", "Josaeus", "Josayah", "Jovanus", "Giovan", "Julyan", "Julyo", "Jyck", "Jaeck", "Jacus", "Kaevin", "Kevyn", "Vinkus", "Laevi", "Levy", "Levius", "Landyn", "Laendus", "Leo", "Leonus", "Leonaerdo", "Leonyrdo", "Lynardus", "Lincon", "Lyncon", "Linconus", "Logaen", "Logus", "Louis", "Lucius", "Lucae", "Lucaen", "Lucaes", "Lucoe", "Lucus", "Lyam", "Maeson", "Masyn", "Maetho", "Mathoe", "Matteus", "Matto", "Maxus", "Maximus", "Maximo", "Maxymer", "Mychael", "Mygwell", "Miglus", "Mythro", "Mithrus", "Naemo", "Naethyn", "Nathanus", "Naethynel", "Nicholaes", "Nycholas", "Nicholys", "Nicolus", "Nolyn", "Nolanus", "Olivyr", "Alivyr", "Olivus", "Oscarus", "Oscoe", "Raen", "Ryn", "Robertus", "Robett", "Bertus", "Romyn", "Romanus", "Ryderus", "Ridyr", "Samwell", "Saemuel", "Santegus", "Santaegus", "Sybasten", "Bastyen", "Tago", "Aemo", "Tagus", "Theodorus", "Theodus", "Thaeodore", "Thomys", "Thomas", "Tommus", "Tylus", "Tilyr", "Uwyn", "Oewyn", "Victor", "Victyr", "Victorus", "Vincynt", "Vyncent", "Vincentus", "Wyttus", "Wyaett", "Xavius", "Havius", "Xavyer", "Yago", "Tyago", "Tyego", "Ysaac", "Aisaac", "Ysaiah", "Aisiah", "Siahus", "Zacharus", "Zachar", "Zachaery"], woman: ["Abigayl", "Aebria", "Aeobreia", "Breia", "Aedria", "Aodreia", "Dreia", "Aeliya", "Aliya", "Aella", "Aemilya", "Aemma", "Aemy", "Amy", "Ami", "Aeria", "Arya", "Aeva", "Aevelyn", "Evylann", "Alaexa", "Alyxa", "Alina", "Aelina", "Aelinea", "Allisann", "Allysann", "Alyce", "Alys", "Alysea", "Alyssia", "Aelyssa", "Amelya", "Maelya", "Andreya", "Aendrea", "Arianna", "Aryanna", "Arielle", "Aryell", "Ariella", "Ashlena", "Aurora", "Avaery", "Avyrie", "Bella", "Baella", "Brooklinea", "Bryanna", "Brynna", "Brinna", "Caemila", "Chloe", "Chloeia", "Claira", "Clayre", "Clayra", "Delyla", "Dalyla", "Elisybeth", "Aelisabeth", "Ellia", "Ellya", "Elyana", "Eliana", "Eva", "Falyne", "Genaesis", "Genaesys", "Gianna", "Jianna", "Janna", "Graece", "Grassa", "Haenna", "Hanna", "Halya", "Harperia", "Peria", "Hazyl", "Hazel", "Jasmyne", "Jasmine", "Jocelyne", "Joceline", "Celine", "Kaelia", "Kaelya", "Kathryne", "Kathrine", "Kayla", "Kaila", "Kymber", "Kimbera", "Layla", "Laylanna", "Leia", "Leya", "Leah", "Lilia", "Lylia", "Luna", "Maedisa", "Maelania", "Melania", "Maya", "Mya", "Myla", "Milae", "Naomi", "Naome", "Natalya", "Talya", "Nathylie", "Nataliae", "Thalia", "Nicola", "Nikola", "Nycola", "Olivya", "Alivya", "Penelope", "Paenelope", "Pynelope", "Rianna", "Ryanna", "Ruby", "Ryla", "Samaentha", "Samytha", "Sara", "Sarah", "Savannia", "Scarletta", "Sharlotta", "Caerlotta", "Sophya", "Stella", "Stylla", "Valentyna", "Valerya", "Valeria", "Valia", "Valea", "Victorya", "Vilettia", "Ximena", "Imaena", "Ysabel", "Zoe", "Zoeia", "Zoea", "Zoesia"] }>> /* <<widget "wealthincrease">> <<set $tavern.wealthrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "wealthdecrease">> <<set $tavern.wealthrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "populationincrease">> <<set $tavern.populationrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "populationdecrease">> <<set $tavern.populationrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "reputationincrease">> <<set $tavern.reputationrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "reputationdecrease">> <<set $tavern.reputationrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "sinincrease">> <<set $tavern.sinrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "sindecrease">> <<set $tavern.sinrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "sizeincrease">> <<set $tavern.sizerollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "sizedecrease">> <<set $tavern.sizerollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "diversityincrease">> <<set $tavern.diversityrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "diversitydecrease">> <<set $tavern.diversityrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "roughnessincrease">> <<set $tavern.roughnessrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "roughnessdecrease">> <<set $tavern.roughnessrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> <<widget "cleanlinessincrease">> <<set $tavern.cleanlinessrollresult to Math.round($args[0]+((100-$args[0])*($args[1]/100))) >> <</widget>> <<widget "cleanlinessdecrease">> <<set $tavern.cleanlinessrollresult to Math.round($args[0]-($args[0]*($args[1]/100) )) >> <</widget>> */ <<set $shitplothooks to ["A bard. Not a magic one. Just a bard. Like y'know. A minstrel or some shit he's ok I guess.", "Man chasing after a woman through a corn field. Distant saxophone is heard before both get eaten by a troll which chokes to death on them.", "The world's highest dragon lands, eats three deer, tries to fly, crashes, then just sleeps where he fell.", "A circus is in town. A shitty circus. Like a mobile Chuck E. Cheeses during a power outage.", "A village is being savaged by the most passive aggressive wizard ever.", "Two heavily armed fighters going at it hammer and tongs in the middle of the road, Every attack is a miss on both sides.", "Suddenly ninjas. They don't attack or anything, they have better things to do. But still.", "What looks like a sword is stabbed into a stone. Turns out it's just a hilt. Made of tin.", "A gnome, a halfling and a dwarf are having a 'who's the shortest' contest. It's fairly easy to resolve and they do so shortly after the party arrives.", "A bandit calls for the party to stand and deliver. He's not robbing them, he just really wants his package.", "An ugly old man offers the party some of his lunch stew. It's not bad, could use some savory herb or something though.", "A young child is crying for his mom. His mom is maybe 40 feet away waiting for the kid to shut up and actually look.", "A carrot is near the road. If disturbed a ranger yells at the party for disturbing his rabbit bait.", "A rabbit is caught in a trap. If disturbed a ranger yells at the party for disturbing his fox bait.", "A fox is caught in a trap. If disturbed a ranger yells at the party for disturbing his wolf bait.", "A wolf is caught in a trap. If disturbed a ranger yells at the party for disturbing his bear bait.", "A bear is caught in a trap. If disturbed a ranger yells at the party for disturbing his owlbear bait.", "An owlbear is caught in a trap. If disturbed a ranger yells at the party for disturbing his ogre bait.", "An ogre caught in a trap. If disturbed a ranger yells at the party for disturbing his dragon bait.", "A dragon is caught in a trap. If disturbed a ranger yells at the party for disturbing his tarasque bait.", "A local child has taken to following the smartest member of the party around asking him 'why' in the most obnoxious voice possible.", "A bird poops right down the back of the most wizard-like character's clothes. Haha.", "A bird poops right in the eye of the most cleric-like character. Haha.", "A bird poops right on the mouth of the most thief like character. Haha.", "A branch or sign suddenly breaks it's base or chain or string and swings directly into the most wizard-like character's face.", "A lady hobo is telling shitty fortunes for 3 sp a pop. She's got no takers so far.", "A group of bandits or pirates are dead drunk singing bawdily together off to one side.", "A group of guards catch and hang a thief who just ripped off the necklace of some girl and stole from a few stands.", "An attractive bar wench starts flirting with the strongest looking male party member. If asked she'll gladly 'spend time' with them. Nothing else worth noting here.", "Town drunk wraps an arm around a party member claiming. 'You'se gais 're al'righ'' before puking on the fanciest dressed character and passing out.", "Town drunk pukes on the fanciest dressed character and passes out.", "Worst pickpocket in the world attempts to rob from the character who would most easily notice and deal with them. Mostly he just ends up groping them and the running off.", "Fake wizard claims to be a real one. When questioned he flings glitter in the party's collective face yelling 'Glitterrust!' and running before tripping on his robes and knocking himself out.", "Hobo claims to be a deposed king who will reward the party if they can return to him his seal which some other hobos stole and are hiding out under the town bridge. He just wants to sleep under the bridge after the party clears the other hobos out.", "Local noble badly disguised as a commonfolk, no one care since he's got money and is a fairly decent person. Snobs if the party tries to talk to them.", "A short shower of copper bits fall from the sky. Like. 10 of them.", "A man in a nice set of robes is handing out pamphlets for the local good parish. Introduces himself as Brother Gideon.", "A man in a bad set of robes is handing out dead rats from the local evil temple. Introduces himself as Brother BabyStabber.", "A man in a decent set of robes is handing out blank pieces of paper from the local neutral temple. Introduces himself with a shrug and a sigh.", "A lovely gazebo is seen on the side of the road. It looks like a nice place for a picnic."]>> /* "An adventure party passes by whining about a lack of something called 'Cheetos' and some or of Dew of a Mountain. Weirdos.", "An adventure party passes by with each member spouting off silly 'Ni' noises or something about bushes. Weirdos.", "An adventure party passes by with a drow sneaky fellow wearing two scimitars whinging about wanting more 'Ex-Pee' because of 'Role-playing'. Weirdo.", "An armless, legless knight has bled out near a creek. Apparently his corpse has been here for a while. His armor seems to be made of paper.", "A fairy offers the party a wish if they can answer her riddles three. If they agree she just leaves laughing saying 'I didn't think someone would actually believe me on that.'. If they don't she gets mad and leaves saying 'It's not like they were THAT hard, pansies.'", "A lumberjack is eating his lunch on the side of the road. If asked he'll share with one person.", "A miner is eating his lunch on the side of the road. If asked he'll share a beer with one person.", "A cultist is eating his lunch on the side of the road. If asked he'll share a bagel with one person.", "A perfectly serviceable wooden shield is found on the side of the road. Not masterwork or magic. Just serviceable.", "A perfectly serviceable shortsword is found on the side of the road. Not masterwork or magic. Just serviceable.", "There's a huge pot hole in the road. Like HUGE, for a pothole, it's not a pit or anything. DC 3 Acrobatics check to not stumble on it. Failure means you take 1d2-1 nonlethal teasing damage and fall flat on your ungraceful face.", "A tune if heard off in the distance. Nothing in particular, just kind of a musical edge to the area. Like a light mist.", "A troop of guardsmen are patrolling the road. They ask you to clear the way and move on.", "A man is selling sausages from a decent cart. The sausages are ok.", "A man is selling sausages from a crappy cart. The sausages are good, but you start to feel bad for eating too many of them. Like you ate an entire tin of ice cream bad.", "A man is selling sausages from a good cart with bread rolls. The bread is bland, and the spice in the sausage is forgettable, but it's filling.", "A man is selling wiener dogs from a cart that's barking. Not to eat. He's just selling the dogs. They make good mousers he says.", "A woman in armor is offering to bed any man who can beat her in an arm wrestle. She's got a 23 Strength and isn't particularly pretty, but if you're into that it's there.", "A group of guards force a group of prostitutes to 'Move along then.'", "A minstrel plays nearby. He's ok, but he'd be a lot better if he actually put some practice in.", "A local pubkeep offers the party a round of drinks for half off on account of them looking thirsty.", "A local inn offers the party a dinner half off on account of them looking hungry.", "A man missing a leg thanks the party for the good that they've been doing.", "A man missing an arm spits at the party for the good they missed doing.", "Two bards are utterly failing to sing a song in tune.", "Two bards are actually killing a particular song. The crowd around them is pretty into it.", "A man is selling hats. He's willing to trade for skins if anyone in the party has any.", "The party sees a mild acquaintance. S/He offers to get lunch with them.", "The party sees a mild annoyance. S/He flips them the bird before wandering off.", "A pie eating contest is in progress. It looks like it's down to the blacksmith's son or the cowherd's daughter.", "Two teenagers are walking down the street holding hands and blushing whenever one catches the other's eye.", "The wizard steps in shit. Roll 1d4 to see what kind. 1- Cow, 2- Cow, 3- Cow, 4- Builette.", "A group of bandits charge, but petter out before combat engages because the party looks too tough to take on.", "Seven men in hooded robes are fumbling around. Overhead is: 'Hey John, I think I've got your robes' 'Damnit Sev, your wife swapped our hoods again.' and 'Who's got my sash? It was the scarlet one.'","A drow is hung over on the side of the road. A three empty bottles of dwarven ale are nearby. He's waving his hands about muttering 'Turn off the sun.' Shortly after Dancing Lights twirl around his location as he lets out a groan of pain.", "A dwarf is passed out in a puddle of his own drool on the side of the road. A half empty bottle of elven wine is nearby.", "A friendly dog comes by and starts begging for treats from the most cleric-like party member.", "An unfriendly dog attempts to pee on the most wizard-like party member.", "Two old men are playing some sort of game on the side of the road talking mostly in murmurs, grunts, and chortles.", "Two old women are gossiping nearby knitting scarves longer than they are tall that are growing by the inch as you watch.", "A man is juggling torches nearby. Nothing goes amiss.", "Two young teenagers are arguing about whether a dragon could be three owlbears if the owlbears had armor and magic wands and the dragon had a sword.", "A local noble is in town collecting his due taxes.", "The worst bandit in the world attempts to way-lay the party with a sharpened stick and a dented pot lit. If actually confronted he faints in shock.", "The wizard discovers he has a sign pinned to the back of his robes reading 'Ass-zard'. It is unknown when it was placed there or how long it's been there.", "A dungeon is nearby, if investigated it turns out that it's still in the process of being excavated and won't be ready for several more years.", "The thief find a socket puppet nestled amongst his belongings. It appears to be made from one of the wizards socks.", "The fighter finds a flask of good booze they had forgot about amongst their belongings.", "The cleric finds a bag of honeyed nuts amongst her belongings." */ <<set $tavern to { wordnoun: either("tavern", "tavern", "tavern", "tavern", "pub", "pub", "pub", "inn", "inn", "bar", "bar", "bar", "watering hole", "drinkery"), wealth: either("squalid", "poor", "modest", "comfortable", "wealthy", "aristocratic", "kingly"), cost: 10, nameroll: random(1, 5), wealthroll: random(1, 100), populationroll: random(1, 100), reputationroll: random(1, 100), sinroll: random(1, 100), sizeroll: random(20, 80), diversityroll: random(20, 80), roughnessroll: random(1, 100), cleanlinessroll: random(1, 100), magicroll: random(1, 100), structure: either("wooden", "wooden", "wooden", "wooden", "wooden", "stone", "stone", "stone", "stone", "hewn rock", "chiseled stone"), type: either("quiet and low-key bar bar bar", "regular", "regular", "regular", "regular", "raucous dive", "raucous dive", "raucous dive", "raucous dive", "thieves' guild hangout", "gathering place for a secret society", "high-end dining club", "high-end dining club", "gambling den", "gambling den", "$town.race only club", "guild-member's only club", "members-only club", "brothel", "brothel"), draw: either("attractive waitstaff", "resident bard", "<<print $tavern.roughness>> atmosphere", "<<print $tavern.roughness>> atmosphere", "<<print $tavern.roughness>> atmosphere", "witty banter with the waitstaff", "crude jokes the bartender makes", "proximity to the thieves' guild headquarters", "warmth inside", "magic incense which is constantly burning", "proximity to the brothel", "proximity to the church", "location by the river", "wooden-chopping competition held weekly", "mahogany stairs", "clean beds", "lack of bedbugs", "magic bedbugs", "drunk wizard", "huge fireplace", "incredible view", "nice view"), shortages: ["wine", "booze", "grog", "whiskey", "mutton", "lamb", "carrots", "mugs", "forks", "frogs", "bread", "mushrooms", "salt", "silver pieces", "chairs", "eggs", "potatoes"] }>> <<set $bartender to { lastname: either($name.last), gender: either($npc.gender), race: either($npc.race), raceroll: random(1, 100), age: either($npc.age), height: either($npc.height), weight: either($npc.weight), trait: either($npc.trait), idle: ["polishing a glass with $bartender.hisher hands", "pouring a drink for a customer", "taking an order from a customer", "talking with a customer", "picking $bartender.hisher nose", "playing a card game by $bartender.himher<<nobr>>self<</nobr>>", "checking the stock levels of the beer on tap", "shouting into the kitchen, annoyed", "yelling instructions into the kitchen", "leaning against a stool, surveying the work of one of the barmaids"], owner: either(["owner", "caretaker", "proud owner", "proprietor", "current owner", "manager", "manager", "acting manager"]), greeting: ["nods at you", "welcomes you warmly", "smiles and greets you", "raises a hand with a wave", "sizes you up, before $bartender.heshe nods at you", "checks you out for just a moment before smiling at you"] }>> <<if $bartender.gender is "man">> <<set $bartender.heshe to "he">> <<set $bartender.himher to "him">> <<set $bartender.hisher to "his">> <<set $bartender.boygirl to "boy">> <<set $bartender.manwoman to "man">> <<set $bartender.menwomen to "men">> <<set $bartender.guygirl to "guy">> <<set $bartender.firstname to either($name.man)>> <<elseif $bartender.gender is "woman">> <<set $bartender.heshe to "she">> <<set $bartender.himher to "her">> <<set $bartender.hisher to "her">> <<set $bartender.boygirl to "girl">> <<set $bartender.manwoman to "woman">> <<set $bartender.menwomen to "women">> <<set $bartender.guygirl to "girl">> <<set $bartender.firstname to either($name.woman)>> <</if>> <<set _BarEyeColours to ["yellow", "amber", "brown", "hazel", "green", "blue", "gray", "aqua", "red", "purple", "pale brown", "pale blue", "pale green", "ash gray"]>> <<set _bareye to random (1, 10)>> <<if _bareye gt 9>> <<set $bartender.eyes to _BarEyeColours[random(10, 14)]>> <<elseif _bareye gt 6>> <<set $bartender.eyes to _BarEyeColours[random(0, 9)]>> <<else>> <<set $bartender.eyes to _BarEyeColours[random(1, 6)]>> <</if>> <<set _BarskinColours to ["translucent", "white", "pale", "fair", "light", "light tan", "tan", "dark tan", "brown"]>> <<set _Barskin to random(1, 10)>> <<if _Barskin gt 6>> <<set $bartender.skincolour to _BarskinColours[random(5, 9)]>> <<elseif _Barskin gt 3>> <<set $bartender.skincolour to _BarskinColours[random(3, 6)]>> <<elseif _Barskin lte 3>> <<set $bartender.skincolour to _BarskinColours[random(0, 3)]>> <</if>> <<set $bartender.hair to $npc.hairtype.random() + " " + $npc.haircolour.random() + " hair">> <<set _barphysicaltraitroll to random(1, 10)>> <<if _barphysicaltraitroll gt 8>> <<set $bartender.physicaltrait to either($npc.scar)>> <<elseif _barphysicaltraitroll gt 6>> <<set $bartender.physicaltrait to either($npc.tattoo)>> <<elseif _barphysicaltraitroll lte 6>> <<set $bartender.physicaltrait to $bartender.hair>> <</if>> <<set $bartender.name to "$bartender.firstname" + " " + "$bartender.lastname">> /* ------------------------- BARTENDER RACE -------------------------- */ <<if $bartender.race is "human">> <<set $tavern.diversityroll -= 10>> <<elseif $bartender.race is "half-elf">> <<set $bartender.height to either("rather average height", "slightly above average height", "tall", "tall", "tall"), $bartender.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight"), $tavern.diversityroll += 5, $tavern.roughnessroll -= 5>> <<elseif $bartender.race is "elf">> <<set $bartender.height to either("rather average height", "slightly above average height", "tall", "tall", "tall"), $bartender.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "slightly underweight"), $tavern.diversityroll += 5, $tavern.roughnessroll -= 10, $tavern.wealthroll += 5>> <<elseif $bartender.race is "dwarf">> <<set $bartender.height to either("short", "squat"), $bartender.weight to either("stocky", "beefy", "muscular", "slightly underweight", "slightly overweight", "slightly overweight", "round", "tubby", "portly"), $tavern.diversityroll += 5, $tavern.roughnessroll += 5, $tavern.wealthroll += 5>> <<elseif $bartender.race is "gnome">> <<set $bartender.height to either("short", "tiny"), $bartender.weight to either("stocky", "beefy", "muscular", "slightly underweight", "slightly overweight", "slightly overweight", "round", "tubby"),$tavern.diversityroll += 10, $tavern.roughnessroll -= 5>> <<elseif $bartender.race is "halfling">> <<set $bartender.height to either("short", "tiny"), $bartender.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight"), $tavern.diversityroll += 5, $tavern.roughnessroll -= 5>> <<elseif $bartender.race is "half-orc">> <<set $bartender.weight to either("stocky", "beefy", "muscular", "slightly underweight", "extremely muscular", "slightly overweight"), $tavern.diversityroll += 10, $tavern.roughnessroll += 15>> <<elseif $bartender.race is "dragonborn">> <<set $bartender.height to either("rather average height", "slightly above average height", "tall", "tall", "tall"), $bartender.weight to either("stocky", "beefy", "muscular", "slightly underweight", "extremely muscular", "slightly overweight"), $tavern.diversityroll += 10, $tavern.roughnessroll += 5, $tavern.wealthroll += 5>> <<elseif $bartender.race is "tiefling">> <<set $bartender.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight"), $tavern.diversityroll += 15, $tavern.roughnessroll += 5, $tavern.sinroll += 15, $tavern.wealthroll += 10>> <</if>> /* Race Note Code - so humans are introduced as 'a short woman', and elves are introduced as elves. */ <<if $bartender.race is "human">> <<set $bartender.racenote to $bartender.height + $bartender.manwoman>> <<else>> <<set $bartender.racenote to $bartender.race>> <</if>> <<if $bartender.race is "elf">> <<set $bartender.racesingular to "elf", $bartender.raceplural to "elves", $bartender.raceadjective to "elven", $bartender.racelanguage to "Elfish">> <<elseif $bartender.race is "dwarf">> <<set $bartender.racesingular to "dwarf", $bartender.raceplural to "dwarves", $bartender.raceadjective to "dwarven", $bartender.racelanguage to "Dwarven">> <<elseif $bartender.race is "halfling">> <<set $bartender.racesingular to "halfling", $bartender.raceplural to "hobbits", $bartender.raceadjective to "dwarven", $bartender.racelanguage to "Dwarven">> <<elseif $bartender.race is "half-orc">> <<set $bartender.racesingular to "half-orc", $bartender.raceplural to "half-orcs", $bartender.raceadjective to "orcish", $bartender.racelanguage to "Orcish">> <<elseif $bartender.race is "dragonborn">> <<set $bartender.racesingular to "drake", $bartender.raceplural to "drakes", $bartender.raceadjective to "draconian", $bartender.racelanguage to "Draconic">> <<elseif $bartender.race is "tiefling">> <<set $bartender.racesingular to "tiefling", $bartender.raceplural to "tieflings", $bartender.raceadjective to "devilish", $bartender.racelanguage to "Demonic">> <</if>> <<set $npc to { lastname: either($name.last), gender: ["man", "woman"], race: ["human", "human", "human", "human", "human", "human", "half-elf", "half-elf", "elf", "elf", "dwarf", "dwarf", "gnome", "halfling", "half-orc", "dragonborn", "tiefling"], age: ["childlike", "rather young", "eighteen year old", "surprisingly young", "relatively young", "relatively young", "middle aged", "middle aged", "middle aged", "middle aged", "mid aged", "relatively old", "sun wizened", "quite old", "ancient"], height: ["tiny", "short", "slightly below average height", "rather average height", "slightly above average height", "tall", "tall", "tall", "giraffe-like"], weight: ["waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight", "slightly overweight", "slightly overweight", "round", "tubby", "portly"], haircolour: ["brunette", "brunette", "brown", "brownish", "muddy", "blonde", "blonde", "white", "black", "black"], hairtype: ["thick", "wispy", "straight", "straight", "wavy", "wavy", "curly", "wiry", "oily", "lush", "poofy", "long", "braided", "very long", "greasy", "unruly", "unusually styled", "short cropped hair", "a shaved head"], scar: ["a jagged scar", "a dark purple scar", "an angry red scar", "a long, thin scar running up the arm", "a scar on the eye", "a scar around the neck", "a scar on the throat", "a fiery red scar", "a finger missing", "two fingers missing"], tattoo: ["a dagger tattoo", "an arrow tattoo", "an anchor tattoo", "a skull tattoo", "a pair of crossed bones tattoo", "a snake tattoo", "a scorpion tattoo", "a spider web tattoo", "a heart tattoo", "a ring of thorns tattoo", "a mermaid tattoo", "a dragon tattoo"], class: ["barbarian", "bard", "cleric", "druid", "fighter", "monk", "rogue", "ranger", "paladin", "sorcerer", "warlock", "wizard"], profession: ["Actor", "Advocate", "Advisor", "Animal handler", "Apothecary", "Architect", "Archivist", "Armorer", "Astrologer", "Baker", "Banker", "Barber", "Barkeep", "Blacksmith", "Bookseller", "Brewer", "Bricklayer", "Brothel keeper", "Buccaneer", "Butcher", "Caravanner", "Carpenter", "Cartographer", "Chandler", "Chef", "Clock maker", "Cobbler", "Cook", "Counselor", "Courtesan", "Courtier", "Cowherd", "Dancer", "Diplomat", "Distiller", "Diver", "Farmer", "Fisherman", "Fishmonger", "Gardener", "General", "Gladiator", "Glovemaker", "Goldsmith", "Grocer", "Guardsman", "Guildmaster", "Hatmaker", "Healer", "Herald", "Herbalist", "Hermit", "Historian", "Hunter", "Ice seller", "Innkeeper", "Inventor", "Jailer", "Jester", "Jeweler", "Judge", "Knight", "Lady", "Leatherworker", "Librarian", "Linguist", "Locksmith", "Lord", "Lumberjack", "Mason", "Masseur", "Merchant", "Messenger", "Midwife", "Miller", "Miner", "Minister", "Minstrel", "Monk", "Mortician", "Necromancer", "Noble", "Nun", "Nurse", "Officer", "Painter", "Patissier", "Perfumer", "Philosopher", "Physician", "Pilgrim", "Potter", "Priest", "Privateer", "Professor", "Roofer", "Ropemaker", "Rugmaker", "Saddler", "Sailor", "Scabbard maker", "Sculptor", "Scavenger", "Scholar", "Seamstress", "Servant", "Shaman", "Shepherd", "Ship's captain", "Silversmith", "Slave", "Slaver", "Smith", "Soldier", "Spice Merchant", "Squire", "Stablehand", "Stevedore", "Stonemason", "Steward", "Street seller", "Street sweeper", "Student", "Surgeon", "Surveyor", "Sailor", "Tanner", "Tavernkeeper", "Tax collector", "Teacher", "Thatcher", "Thief", "Torturer", "Town crier", "Toymaker", "Vendor", "Veterinarian", "Vintner", "Weaver", "Wetnurse", "Woodcarver", "Wood seller", "Wrestler", "Writer"], trait: ["fidgets", "drinks too much", "eats too much", "swears often", "has poor hygiene", "cannot resist flirting", "cannot stop staring at you", "sweats profusely and easily", "is a habitual liar", "embellishes the truth", "exaggerates details", "has a short temper", "is melodramatic", "gossips about the most mundane things", "cannot resist a juicy secret", "chews with an open mouth", "often sniffs audibly", "is incredibly gullible", "is skeptical of everything", "paces about incessantly", "makes poor eye contact"], currentmood: ["annoyed", "scared", "relaxed", "concerned", "bemused", "stressed", "amused", "content", "distracted"], idle: ["sitting, with a piece of bread in hand", "sitting, mug in hand", "poring over some map", "reading some letter intently", "reading a book", "shuffling a pack of cards", "chewing on a piece of hay", "sharpening a knife", "buffing a piece of armour", "polishing a shield", "sharpening the blade on a fearsome looking dagger", "cutting an apple into bite sized pieces", "biting into an apple", "eating an apple while looking at some book", "eating a hunk of cheese while reading a book", "sipping out of a huge mug while reading a book"], reading: ["a piece of history- my forefather's journal, detailing his life in $town.name when it was just a settlement.", "my journal, from many years ago.", "my mother's journal, from just before she disappeared", "a document which I received by postboy two days ago... I believe it is in code, and somebody is trying to tell me something.", "a traitor's memoirs, extremely rare... I thought it would be a good laugh, but some of what he says is concerningly accurate.", "some sort of spell, though I don't know how to read it.", "a document I bought at the flea market; it looks to be a set of instructions on how to make a golem.", "a book which I bought, believing it to be blank, and suitable for a journal. However, now there's this strange foreign script that I can't read in it.", "a book that I bought as a gift for my mother, who loves beautiful covers, despite not being able to read.", "a supposedly blank book, but every time I open it, different words appear in a strange language."] }>> <<set _eyeColours to ["yellow", "amber", "brown", "hazel", "green", "blue", "gray", "aqua", "red", "purple", "pale brown", "pale blue", "pale green", "ash gray"]>> <<set _eye to random (1, 10)>> <<if _eye gt 9>> <<set $npc.eyes to _eyeColours[random(10, 14)]>> <<elseif _eye gt 6>> <<set $npc.eyes to _eyeColours[random(0, 9)]>> <<else>> <<set $npc.eyes to _eyeColours[random(1, 6)]>> <</if>> <<set _skinColours to ["translucent", "white", "pale", "fair", "light", "light tan", "tan", "dark tan", "brown"]>> <<set _skin to random(1, 10)>> <<if _skin gt 6>> <<set $npc.skincolour to _skinColours[random(5, 9)]>> <<elseif _skin gt 3>> <<set $npc.skincolour to _skinColours[random(3, 6)]>> <<elseif _skin lte 3>> <<set $npc.skincolour to _skinColours[random(0, 3)]>> <<else>> <<set $tavern.error += 1>> <</if>> /* Race Note Code - so humans are introduced as 'a short woman', and elves are introduced as elves. */ <<if $npc.race is "human">> <<set $npc.racenote to $npc.height + $npc.manwoman>> <<else>> <<set $npc.racenote to $npc.race>> <</if>> <<if $npc.race is "elf">> <<set $npc.racesingular to "elf", $npc.raceplural to "elves", $npc.raceadjective to "elfish", $npc.racelanguage to "Elven">> <<elseif $npc.race is "dwarf">> <<set $npc.racesingular to "dwarf", $npc.raceplural to "dwarves", $npc.raceadjective to "dwarven", $npc.racelanguage to "Dwarven">> <<elseif $npc.race is "halfling">> <<set $npc.racesingular to "halfling", $npc.raceplural to "hobbits", $npc.raceadjective to "dwarven", $npc.racelanguage to "Dwarven">> <<elseif $npc.race is "half-orc">> <<set $npc.racesingular to "half-orc", $npc.raceplural to "half-orcs", $npc.raceadjective to "orcish", $npc.racelanguage to "Orcish">> <<elseif $npc.race is "dragonborn">> <<set $npc.racesingular to "drake", $npc.raceplural to "drakes", $npc.raceadjective to "draconian", $npc.racelanguage to "Draconic">> <<elseif $npc.race is "tiefling">> <<set $npc.racesingular to "tiefling", $npc.raceplural to "tieflings", $npc.raceadjective to "devilish", $npc.racelanguage to "Demonic">> <<elseif $npc.race is "half-elf">> <<set $npc.racesingular to "half-elf", $npc.raceplural to "half-elves", $npc.raceadjective to "elfish", $npc.racelanguage to "Elven">> <</if>> /* <<set _npcphysicaltraitroll to random(1, 10)>> <<if _npcphysicaltraitroll gt 8>> <<set $npc.physicaltrait to either($npc.scar)>> <<elseif _npcphysicaltraitroll gt 6>> <<set $npc.physicaltrait to either($npc.tattoo)>> <<elseif _npcphysicaltraitroll lte 6>> <<set $npc.physicaltrait to either($npc.hair)>> <</if>> */ <<set $plotguy to { lastname: either($name.last), gender: either($npc.gender), race: either($npc.race), age: either($npc.age), height: either($npc.height), weight: either($npc.weight) }>> <<if $plotguy.gender is "man">> <<set $plotguy.heshe to "he">> <<set $plotguy.himher to "him">> <<set $plotguy.hisher to "his">> <<set $plotguy.boygirl to "boy">> <<set $plotguy.manwoman to "man">> <<set $plotguy.menwomen to "men">> <<set $plotguy.guygirl to "guy">> <<set $plotguy.firstname to either($name.man)>> <<elseif $plotguy.gender is "woman">> <<set $plotguy.heshe to "she">> <<set $plotguy.himher to "her">> <<set $plotguy.hisher to "her">> <<set $plotguy.boygirl to "girl">> <<set $plotguy.manwoman to "woman">> <<set $plotguy.menwomen to "women">> <<set $plotguy.guygirl to "girl">> <<set $plotguy.firstname to either($name.woman)>> <</if>> <<set _PlotGuyEyeColours to ["yellow", "amber", "brown", "hazel", "green", "blue", "gray", "aqua", "red", "purple", "pale brown", "pale blue", "pale green", "ash gray"]>> <<set _PlotGuyeye to random (1, 10)>> <<if _PlotGuyeye gt 9>> <<set $plotguy.eyes to _BarEyeColours[random(10, 14)]>> <<elseif _PlotGuyeye gt 6>> <<set $plotguy.eyes to _BarEyeColours[random(0, 9)]>> <<else>> <<set $plotguy.eyes to _BarEyeColours[random(1, 6)]>> <</if>> <<set _BarskinColours to ["translucent", "white", "pale", "fair", "light", "light tan", "tan", "dark tan", "brown"]>> <<set _PlotGuyskin to random(1, 10)>> <<if _PlotGuyskin gt 6>> <<set $plotguy.skincolour to _BarskinColours[random(5, 9)]>> <<elseif _PlotGuyskin gt 3>> <<set $plotguy.skincolour to _BarskinColours[random(3, 6)]>> <<elseif _PlotGuyskin lte 3>> <<set $plotguy.skincolour to _BarskinColours[random(0, 3)]>> <</if>> <<set $plotguy.hair to $npc.hairtype.random() + " " + $npc.haircolour.random() + " hair">> <<set _PlotGuyphysicaltraitroll to random(1, 10)>> <<if _PlotGuyphysicaltraitroll gt 8>> <<set $plotguy.physicaltrait to either($npc.scar)>> <<elseif _PlotGuyphysicaltraitroll gt 6>> <<set $plotguy.physicaltrait to either($npc.tattoo)>> <<elseif _PlotGuyphysicaltraitroll lte 6>> <<set $plotguy.physicaltrait to either($npc.hair)>> <</if>> <<set $plotguy.name to "$plotguy.firstname" + " " + "$plotguy.lastname">> <<if $plotguy.race is "half-elf">> <<set $plotguy.height to either("rather average height", "slightly above average height", "tall", "tall", "tall"), $plotguy.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight")>> <<elseif $plotguy.race is "elf">> <<set $plotguy.height to either("rather average height", "slightly above average height", "tall", "tall", "tall"), $plotguy.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "slightly underweight")>> <<elseif $plotguy.race is "dwarf">> <<set $plotguy.height to either("short", "squat"), $plotguy.weight to either("stocky", "beefy", "muscular", "slightly underweight", "slightly overweight", "slightly overweight", "round", "tubby", "portly")>> <<elseif $plotguy.race is "gnome">> <<set $plotguy.height to either("short", "tiny"), $plotguy.weight to either("stocky", "beefy", "muscular", "slightly underweight", "slightly overweight", "slightly overweight", "round", "tubby")>> <<elseif $plotguy.race is "halfling">> <<set $plotguy.height to either("short", "tiny"), $plotguy.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight")>> <<elseif $plotguy.race is "half-orc">> <<set $plotguy.weight to either("stocky", "beefy", "muscular", "slightly underweight", "extremely muscular", "slightly overweight")>> <<elseif $plotguy.race is "dragonborn">> <<set $plotguy.height to either("rather average height", "slightly above average height", "tall", "tall", "tall"), $plotguy.weight to either("stocky", "beefy", "muscular", "slightly underweight", "extremely muscular", "slightly overweight")>> <<elseif $plotguy.race is "tiefling">> <<set $plotguy.weight to either("waif-like", "thin", "skinny", "skinny", "wiry", "thin", "stocky", "beefy", "muscular", "slightly underweight")>> <</if>> <<set $town to { race: either(["human", "human", "human", "human", "dwarf", "dwarf", "dwarf", "elf", "elf", "half-orc", "half-elf"]), wealth: random(1, 100), reputation: random(1, 100), sin: random(1, 100), diversity: random(1, 100) }>> /* Town Population Roller */ <<set _townpopulationroll to random(1, 10)>> <<if _townpopulationroll gt 8>> <<set $town.population to random(3001, 6000), $town.type to "city", $town.wealth += 15, $town.reputation += 5, $town.sin += 15, $town.diversity += 10>> <<elseif _townpopulationroll gt 5>> <<set $town.population to random(1001, 3000), $town.type to "town", $town.wealth += 5, $town.reputation += 2, $town.sin += 5, $town.diversity += 4>> <<elseif _townpopulationroll gt 2>> <<set $town.population to random(301, 1000), $town.type to "village", $town.wealth += 2, $town.reputation -= 2, $town.sin -= 3, $town.diversity -= 4>> <<elseif _townpopulationroll lte 2>> <<set $town.population to random(30, 300), $town.type to "hamlet", $town.wealth -= 2, $town.reputation -= 12, $town.sin -= 15, $town.diversity -= 12>> <</if>> <<set $town.potentiallocation to ["Seacoast", "Forest", "Hills", "Plains", "Mountains", "River Coast", "Seacoast", "Forest", "Hills", "Plains", "Mountains", "River Coast", "Jungle", "Volcanic Field", "Seacoast", "Forest", "Hills", "Plains", "Mountains", "River Coast", "Tundra", "Ice Sheet", "Seacoast", "Desert", "Hills", "Plains", "Mountains", "River Coast", "Wasteland", "Oasis"]>> <<set _terrainroll to random(1, 6)>> <<if _terrainroll lte 3>> <<set $town.terrain to "temperate", $town.location to $town.potentiallocation[random(0, 5)]>> <<elseif _terrainroll is 4>> <<set $town.terrain to "temperate", $town.location to $town.potentiallocation[random(6, 13)]>> <<elseif _terrainroll is 5>> <<set $town.terrain to "temperate", $town.location to $town.potentiallocation[random(14, 21)]>> <<elseif _terrainroll is 6>> <<set $town.terrain to "temperate", $town.location to $town.potentiallocation[random(22, 29)]>> <</if>> <<nobr>> <<linkreplace "Look at the menu." t8n>> <<if $tavern.wealthroll gt 80, $tavern.roughness gt 80>> <<print either("There's ales and boutique spirits available. Delicious smells are wafting from the kitchen, and your mouth salivates at the thought of the game that's on menu. $bartender.name proudly tells you that there are no stinkin' vegetables, and that $tavern.name stocks only the finest meats.", "The smells emanating from the kitchen tantalise your nostrils, and when you ask the waiting staff what's available to drink, they begin to take a deep breath, before listing out a huge array of wines, ales, lagers, and spirits. The <<print $npc.weight.random()>> <<print either("man", "woman")>> then tells you that while $tavern.name is proud of its menu, it caters to an exclusively carnivorous diet.")>> <<elseif $tavern.wealthroll gt 80, $tavern.roughnessroll lt 30>> <<print either("There's ales and boutique spirits available. Delicious smells are wafting from the kitchen, and your mouth salivates at the thought of the food that's on menu. The waitstaff tell you that $tavern.name is proud to be 100% violence free; upon further clarification, this is revealed to mean that there is not a single bone of meat in the entire $tavern.wordnoun<<nobr>>.<</nobr>>", "The smells emanating from the kitchen tantalise your nostrils, and when you ask the waiting staff what's on menu, they begin to take a deep breath, before listing out a huge array of wines, ales, lagers, and spirits. The waitstaff tell you that $tavern.name is proud to be 100% violence free; upon further clarification, this is revealed to mean that there is not a single bone of meat in the entire $tavern.wordnoun<<nobr>>.<</nobr>>")>> <<elseif $tavern.wealthroll gt 80>> <<print either("There's ales and boutique spirits available. Delicious smells are wafting from the kitchen, and your mouth salivates at the thought of the game that's on menu.", "The smells emanating from the kitchen tantalise your nostrils, and when you ask the waiting staff what's on menu, they begin to take a deep breath, before listing out a huge array of wines, ales, lagers, and spirits. It goes without saying that the kitchen is able to accomodate even the pickiest of royalty.")>> <<elseif $tavern.wealthroll gt 60, $tavern.roughnessroll gt 80>> <<print either("There's ales available. The food is standard fare, with roast beef, pork, and mutton on the menu for food, but curiously no vegetables. $bartender.name spits when you mention this, and says 'no stinkin' veggies around here. We eat meat and we like it, so if you don't like it, yer not eatin'.", "There's your standard beers, with the $tavern.wordnoun specialising in ales, which are allegedly quite good. As far as food is concerned, there's regular fare of beef, pork, and mutton, but strangely, no breads, cheeses, or potatoes of any description; you hear another patron loudly state that he loves not having to put up with those 'pointy ears complaining about the lack of green stuff' in $tavern.name<<nobr>>.<</nobr>>")>> <<elseif $tavern.wealthroll gt 60, $tavern.roughnessroll lt 30>> <<print either("There's ales available. The food is a peculiarly limited menu; roast vegetables, breads, cheeses, but no meats, despite $tavern.name clearly being able to afford it.", "There's your standard beers, with the $tavern.wordnoun specialising in ales, which are allegedly quite good. As far as food is concerned, there's breads, cheeses, and all the vegetables you could ever ask for, but not a single bone of meat is available.", "Drinks are pretty standard, with a house lager being twenty percent off tonight. The menu is sadly lacking any meats, and when you ask $bartender.name about it, $bartender.heshe smiles, and says that $bartender.heshe is an animal lover, and wouldn't be able to forgive $bartender.himher<<nobr>>self<</nobr>> if an animal came to harm due to $bartender.hisher business.")>> <<elseif $tavern.wealthroll gt 60, $bartender.race is "elf">> <<print ""Drinks are pretty standard, with the house lager being twenty percent off tonight. The menu is sadly lacking any meats, and when you ask $bartender.name about it, $bartender.heshe smiles, and says that $bartender.heshe is an animal lover, and wouldn't be able to forgive $bartender.himher<<nobr>>self<</nobr>> if an animal came to harm due to $bartender.hisher business." <<elseif $tavern.wealthroll gt 60>> <<print either("There's ales available. The food is standard fare, with roast beef, pork, and mutton on the menu for food.", "There's your standard beers, with the $tavern.wordnoun specialising in ales, which are allegedly quite good. As far as food is concerned, there's regular fare of beef, pork, breads and cheeses, and mutton.")>> <<elseif $tavern.wealthroll gt 40, $tavern.sinroll gt 60>> <<print either ("There's the usual house-brewed ale on tap, but it is warm and undercarbonated. You suspect that $bartender.firstname has watered it down. As far as food is concerned, there is the usual mutton and breads available.", "$bartender.firstname says that they have some freshly brewed ale, although you soon discover that to be a lie; it's lukewarm, and barely carbonated.")>> <<elseif $tavern.wealthroll gt 40>> <<print either ("There's the usual house-brewed ale on tap, but it is warm and undercarbonated. As far as food is concerned, there is the usual mutton and breads available.", "There's a limited range of beers, some of which have very clearly soured.", "The food on offer is rather plain, with nothing terribly interesting or appetizing. The beer is unfortunately much better.">> <<elseif $tavern.wealthroll gt 20>> <<print "There's what can only be described as piss available to drink, and the food isn't much better; other patrons can be seen chewing away at stale pieces of bread.">> <<elseif $tavern.wealthroll lte 20>> <<print "There's what can only be described as piss available to drink, and the food isn't much better; other patrons can be seen chewing away at stale pieces of bread.">> <</if>> <<if $tavern.wealthroll gte 50>> <<print "The special brew of the week is a $specialbrew.type called $specialbrew.name, selling for $specialbrew.cost silver. $specialbrew.description">> <</if>> <</linkreplace>> <</nobr>> <<nobr>> <<if ($tavern.populationroll gt 80, $tavern.roughnessroll gt 60)>> <<print either("You can barely hear each other over the din of the other patrons, who are $tavern.diversity. One elbows you in the ribs as they try to get around you to the bar.", "You find it difficult to hear each other over the din of the crowds that are drunkenly cavorting around.")>> <<elseif $tavern.populationroll gt 80>> <<print either("There's barely enough room to stand, let alone find a seat in the $tavern.wordnoun<<nobr>>.<</nobr>> The patrons of $tavern.name are $tavern.diversity", "The $tavern.wordnoun is packed, and the patrons who are $tavern.diversity are clamouring to find the few barmaids that are on staff.")>> <<elseif ($tavern.populationroll gt 65, $tavern.roughnessroll gt 60)>> <<print either("The $tavern.wordnoun is packed with $tavern.diversity, and you're pushed to the side as somebody makes for the latrine in a hurry.", "It's peak hour for $tavern.name and you can tell that $bartender.name is concerned about a fight breaking out. $tavern.diversity")>> <<elseif $tavern.populationroll gt 65>> <<print either("The $tavern.wordnoun is pretty packed with $tavern.diversity, and it's difficult for you to find a seat. $tavern.diversity", "The $tavern.wordnoun is quite full. $tavern.diversity, and the owner is clearly enjoying the amount of business $bartender.hisher $tavern.wordnoun is receiving.", "It must be peak hour for the $tavern.wordnoun. The barmaid is running back and forth between customers and the kitchen, trying desperately to keep ontop of the ever growing requests for more ale.")>> <<elseif ($tavern.populationroll gt 40, $tavern.roughnessroll gt 60)>> <<print either("The clientele is pretty rough, and might have scared off some of the less rambunctious potential customers. $tavern.diversity", "There's a fair number of people in the $tavern.wordnoun with quite a few swords on display. $tavern.diversity")>> <<elseif $tavern.populationroll gt 40>> <<print either("There's a reasonable amount of customers in the $tavern.wordnoun. $tavern.name's barmaid is happily walking back and forth from the kitchen, taking out plates as they are delivered.", "There's a decent number of people in $tavern.name, and you manage to find a seat without too much trouble. $tavern.diversity")>> <<elseif ($tavern.populationroll lte 40, $tavern.roughnessroll gt 60)>> <<print either("The few people that are in the tavern bear scars, and openly talk of their violent exploits. It's pretty clear that they have scared away any regular clientele. $tavern.diversity", "There are basically no people in the tavern, save for a few battle-hardened men talking in the corner.", "There's not very many customers in $tavern.name at the moment. You see a couple of adventurers hunked over in the corner, quietly discussing battle plans, but nothing of particular interest in the clientele.")>> <<elseif $tavern.populationroll lte 40>> <<print either("$tavern.name is basically empty, and there's not much for the $tavern.wordnoun<<nobr>>'s<</nobr>> barmaid to do.", "It's almost just you and the bartender in here.")>> <</if>> <</nobr>> <<nobr>> <<linkreplace "Anything interesting in $tavern.name?" t8n>> <<set _rollintrigue to random(1, 4)>> <<if _rollintrigue is 1>> <<include "PlotHookRumour">> <<elseif _rollintrigue is 2>> <<include "PlotHookRumour">> <<elseif _rollintrigue is 3>> <<include "PlotHookPaper">> <<elseif _rollintrigue is 4>> <<include "PlotHookPeople">> <<elseif _rollintrigue is 5>> <<include "PlotHookThings">> <</if>> <<include "ShitPlotHookGenerator">> <</linkreplace>> <</nobr>> You wander around the $tavern.wordnoun, and eventually find yourself in conversation with a $plotguy.height, $plotguy.weight $plotguy.gender who introduces $plotguy.himher<<nobr>>self<</nobr>> as $plotguy.name<<nobr>>.<</nobr>> You can't help but notice $plotguy.firstname has a <<print $plotguy.physicaltrait>>. You explain that you are adventurers, looking for work or otherwise profitable endeavours, and $plotguy.hisher $plotguy.eyes eyes light up, and $plotguy.firstname draws you closer, and whispers in a hushed tone 'I may have something of interest for you, in that case; <<print $plothook.people.random()>>' To be added. You see a noticeboard next to the $tavern.wordnoun's $tavern.structure bar. Walking over to it, you see a number of barter requests nailed to the noticeboard; simple things like 'have chook, want grain', 'have grain, want chook'. One catches your eye, though; it reads '<<print $plothook.paper.random()>>' <<nobr>> <<set _PlotHookRumourRoll to random(1, 2)>> <<if _PlotHookRumourRoll is 1>> You make your way around the $tavern.wordnoun, and chat with a couple of the locals. They are friendly enough for simple $town.type folk, and are happy to share a drink with you, and gossip easily- apparently, $bartender.name $bartender.trait<<nobr>>.<</nobr>> When you steer the conversation towards rumours that they've heard, the half-drunk <<print either("man", "woman")>> looks around, and in a hushed voice, whispers <<elseif _PlotHookRumourRoll is 2>> You talk amongst the good folk of $town.name, who seem pleasant enough. They gossip easily, and reckon that $tavern.name is only known for its $tavern.draw, and that the pub across the road is totally way better. You steer the conversation towards topics that are more interesting to adventurers such as yourselves, and the drunk <<print $npc.weight.random()>> <<print either("man", "woman", "person whose gender you can't quite pin down")>> looks around, and whispers in a hushed voice <</if>> <</nobr>> '<<print $plothook.rumour.random()>>' <<set $plothook to { people: ["I overheard from two servants that they plan to poison the Lord of $town.name! I've tried to get in to his grounds, but the doorguard won't listen to me because I'm just a nobody... Please, save him!", "There's a tournament coming up, not far from here. We need strong, trustworthy people as the Lord of $town.name's security detail.", "There's a bard, of great renown that lives not far from $town.name- perhaps you know of him, the Great <<print $name.man.pluck()>>? Well, last week, thieves broke in to the Songsmith's mansion, but the only thing that the scoundrels took was the bard's voice. There's a handsome reward for the return of it, too.", "I know that you are not likely to believe me, but... I am the messenger for the Duke's brother- yes, he had a brother, who has been in exile for some time. I've been charged to deliver this letter to the Duke, but I fear that I'm being followed and may meet my fate soon; the exact details are better left unknown, lest you make yourself a permanent target for holding the knowledge that I do. You must get this message to him. But do not open it, as the Duke will not touch it if the wax seal has been broken.", "I'm looking for some guards to help me deliver some cargo some weeks' way away from $town.name; I can't promise that it's going to be easy, but if you keep me and my cargo safe, I can promise rewards well worth your time.", "For many years, I've kept in contact with the priest of $town.name, Father <<print $name.man.pluck()>>. But when I visited last spring, he was nowhere to be seen, and $bartender.firstname said that he died last Autumn... I did not mention my trip to $town.name, and yet the letters from him continue.", "Many years ago, my sister $npc.woman.pluck() had a child out of wedlock. She loved it dearly, but it passed in the winter. But recently, she's been hearing its cries again, and swears to the Gods that she has seen it waving from in the paddocks, where the child played with the cows."], things: ["Behind the bar of $tavern.name, there's a small rat which you've seen the bartender look directly at, without trying to kill the pest."], rumour: ["The hedge maze in front of the manor has been maintained for decades by a strange elf who speaks in cryptic riddles. Recently, a visiting noble from a nearby kingdom went into the maze and never came out. Everyone who has gone in looking for him has met the same fate...", "A talented sculptor recently did a sculpture for the Lord of $town.name and ever since, the Lord has not been himself- before he remembered all his servants names, and now he merely bark orders... We fear that something happened to him.", "There was talk of a group of bandits that had taken up terrorizing the road to the north of $town.name, but I went through there just last week, and there was nought a sound the entire journey."], paper: ["The piece of paper bears large block letters, stating 'WANTED', with an illustration underneath- the faces below bear a remarkable similarity to your own...", "The paper states 'WANTED: DEAD OR ALIVE', with the fine print reading 'For the crimes of theft, robbery, burglary, and arson, the $town.name Bandit is wanted dead or alive.' You ask $bartender.firstname about what the crimes entailed, and apparently there's been a huge rash of thefts of food in $town.name recently, resulting in food shortages. The $town.type's council has hired bounty hunters to catch the criminal."] }>> <<nobr>><<include "Renders">><</nobr>>You make your way through the $town.type of $town.name until you come to a $tavern.wordnoun, which is called <strong>$tavern.name</strong>, a $tavern.size $tavern.structure tavern that the locals know best for its $tavern.draw<<nobr>>.<</nobr>> Behind the counter is who you would assume to be the bartender, a $bartender.racenote who is currently <<print $bartender.idle.random()>>. You walk up to the bar, and strike up conversation with the $bartender.manwoman, who introduces $bartender.himher<<nobr>>self<</nobr>> as $bartender.name, the $bartender.owner of $tavern.name<<nobr>>.<</nobr>> <<linkreplace "Talk with $bartender.name" t8n>><<include "BartenderTalk">><</linkreplace>> <<include "TavernDescription">> <<include "LookAround">> <<print $tavern.patrons.pluck()>> <<print $tavern.entertainment.pluck()>> <<include "Menu">> <<include "Intrigue">> <h4> Accomodation </h4><<include "Rooms">> <<set $tavern.games to ["A group of commoners is playing horse shoes out back.", "The party is surprised to find the country darts league in full swing as they enter. The waitresses are used to the chaos and dodge darts easily. The half ogre bouncer is using lawn darts.", "A group of Hill Dwarves are in the middle of a drinking contest, and two of them are passed out already. The Prize is a solid platinum stein.", "Wet Chainmail contest!", "Four large Barbarians are loudly sledging each other during an arm wrestling competition.", "A shy teenage girl is reciting bad poetry in a corner. No one is paying the slightest bit of attention to her.", "It's trivia night! Those scholars from the School of History and the Arts at the University always win, but tonight, we represent and the School of Alchemy will show those smug book-snobs what it means to be a nerd.", "A promoter is working his way around the tables looking for challengers to fight the local champion pugilist.", "It's a sausage fest! The place is packed with dwarves eager to devour the all-you-can-eat sausage special.", "An over-sized brute is arm-wrestling crushing the hand of everyone in sight.", "Some goblins are throwing dice with some animated skeletons at a table in the corner.", "A goblin is doing a poor job at cheating at a dice game, while a skeleton is doing an excellent job at cheating.", "A 7'2 red dragonborn with a 5' bastard sword is having a drinking contest with a dwarf. The dragonborn has a 4-pint tankard, and is almost managing to keep pace.", "A party sits in the corner booth playing cards. All of them are cheating, except the paladin, who, curiously, is winning.", "A mountain of a man in barbarian leathers is arm wrestling a small dragon and winning.", "An awakened Roper is winning two games of billiards at once.", "A group of drunken pixies is playing hide and seek by hiding behind patrons.", "The players have stumbled into a regional card championship being held that night. The buy in is huge but so is the pot.", "A shady looking gnomish inventor is proudly showing off his latest invention. He calls it a one armed bandit.", "A grey haired story teller is sitting near the fire holding a contest. He'll give a large purse for a story he hasn't heard yet, but so far no one has won."]>> <<set $tavern.entertainment to ["The bartender tells elaborate stories about where the stuffed wyrmling dragon on the mantel came from. In reality, $bartender.heshe is a retired wizard and it’s $bartender.hisher familiar which grew sick and died, but $bartender.heshe keeps it as a memento.", "A bard is telling a story about the player’s latest act of daring do. He’s embellishing quite a bit. When he recognizes the party he makes a big spectacle.", "A bard is telling the story of the player’s latest exploit. It’s an obvious character assassination.", "A local bardic group, The Rolling Boulders, are performing, and a large crowd of drunken groupies will not stop screaming.", "A beggar offers to sing for a few coppers. You heard him singing to the last table. He's awful.", "A sassy fortune teller has set up shop in a corner booth. She informs you that she sees a hangover in your near future.", "A stirring rendition of 'The Lady and the Faerie Dragon' has the crowd calling for an encore from the minstrels.", "The lute-player catches some undergarments from the crowd and drapes them across the ridiculous horned helm he wears.", "On stage tonight: The Deep Tones. A quartet of dwarves with long beards and deep voices singing a capella favorites from places without light (or proper music).", "On stage tonight: Shaela Windspeaker. An elf-maid singer-songwriter with a bit of a whiny voice who is slowly making her way through her most recent song of protest against the previous and the present centuries of war.", "A nervous show-wizard on the small stage is doing tricks with Prestidigitation for the un-amused patrons.", "There is a pair of musicians warbling well known drinking songs. They have made an impromptu stage out of several tables. One of them seems to be tilting precariously."]>> <<set $tavern.patrons to ["A poor farmer is trying to pay his bar tab with a sack of potatoes and a barrel of pickles.", "A sea captain has set up shop at a table and is trying to sell mementos and souvenirs from his latest great voyage of exploration. Birds, exotic coins, tiny mermaids, he has it all. Some of it looks fake though. A tiny bit looks disturbingly real.", "A ranger sits alone in a corner, smoking. A hood covers most of his face. At his feet is a sleeping wolfhound. Everyone is giving him a wide berth.", "A lone Troll is drinking at the end of the bar and softly crying and singing one country ballad after another.", "A stoned magician is fumbling his way through one awful card trick after another.", "A mixed group of Elves are drinking bad wine and holding scented handkerchiefs up to their noses to keep out the stench. One has an obsidian bow strapped to her back.", "Two guards are arguing at a table over who the captain likes more by comparing almost identical spears and claiming to have the better one.", "A sad clown is drinking a beer alone.", "A handsome young woman is holding court among some of her would-be suitors. Her father interrupts, and she stalks off embarrassed.", "Some idiot is having a stag night. His friends are loud and obnoxiously harassing the barmaids.", "It's ladies night! And it's not disappointing... A few pretty little things from the weavers' guild are here, a couple of attractive healers from the temple, and the beautiful new town librarian.", "A surly old witch is drinking sherry while stroking the fat grey cat sitting on her lap.", "The barmaid is a marilith, mixing up four drinks at a time.", "The barmaid is a succubus, she seems to be making great tips.", "The attendant in the bathroom is a foul-smelling zombie. He offers you a mint crystal.", "Behind the bar is a gnomish alchemist with a penchant for mixology experiments.", "The toothless mop-hand reminisces with a hobgoblin military has-been over ales about how an otyugh in the loo isn't as bad as the time a carrion crawler was in there.", "The barmaid is a doppelganger. When she returns to your table with your drinks she has taken the form of one of your party.", "A fat priest is doing an excellent jiggly dance in rhythm with the music. Either that or a gelatinous cube has made it's way onto the dance floor?"]>> $bartender.name looks <<print $npc.currentmood.random()>>, and is idly <<print $npc.idle.random()>>, until you start talking with the $bartender.height $bartender.manwoman, who looks pleased with the welcome distraction from the patrons, who $bartender.heshe tells you are for the most part a <<print $tavern.sin>> lot. You talk about the regular goings on in $town.name, and $tavern.name, and $bartender.firstname says<<nobr>> " <<set _shortage to random(1, 10)>> <<if $tavern.wealthroll gt 80>> <<set _shortage += 2>> <<elseif $tavern.wealthroll gt 60>> <<set _shortage += 1>> <<elseif $tavern.wealthroll lt 40>> <<set _shortage -= 1>> <<elseif $tavern.wealthroll lte 20>> <<set _shortage -= 2>> <</if>> <<if _shortage gt 7, $tavern.populationroll gt 70>> <<print either("We're lucky that I bought that extra case of grog... I get the feeling that we're gonna need it.", "I'm glad that Breiga kept an eye on the stock levels, otherwise we'd have sold out of <<print $tavern.shortages.pluck()>>")>> <<elseif _shortage gt 7>> <<print either("Business is alright, in honesty I think that I prefer running out of supplies than not... At the moment, it looks like I'll not be running out any time soon.", "I think that I may have oversupplied on <<print $tavern.shortages.pluck()>>...")>> <<elseif _shortage gt 4>> <<print either("We've currently got a bit of a shortage of <<print $tavern.shortages.pluck()>>, but hopefully we'll be getting a cartload overmorrow.", "We're currently running out of <<print $tavern.shortages.pluck()>>, but with any luck, we'll be getting some more before the night is out.", "I don't know how it happened, but we're running out of <<print $tavern.shortages.pluck()>><<nobr>>...<</nobr>> To be honest, I reckon the barmaid is to blame.", "I swear that I ordered a cartload last week, but I'll be damned if we're not running low on <<print $tavern.shortages.pluck()>> somehow.", "I told <<print $name.woman.pluck()>> to order some, but wouldn't you know, I find myself low on <<print $tavern.shortages.pluck()>>!")>> <<elseif _shortage lte 4, $tavern.population gt 70>> <<print either("Things are honestly in a mess at the moment around the $tavern.name, we've got a full house, and I'm low on <<print $tavern.shortages.pluck()>> AND <<print $tavern.shortages.pluck()>>! How does that even happen!?", "You can tell that business is booming, but there's only one more case of <<print $tavern.shortages.pluck()>>, and we're completely out of <<print $tavern.shortages.pluck()>>!")>> <<elseif _shortage lte 4, $tavern.populationroll lt 40>> <<print either("Well, you can probably guess that business isn't the best right at this moment. Maybe the lack of <<print $tavern.shortages.pluck()>> has something to do with it...", "Business is slow, I'm not gonna lie. We've had no cartments of <<print $tavern.shortages.pluck()>> for almost a week, certainly isn't helping things.")>> <<elseif _shortage lte 4>> <<print "Well, business could be better. We've got a bit of a shortage on <<print $tavern.shortages.pluck()>>, and that certainly can't be helping things, but I suppose there's always some bad days; they're just not spending the coin, is all.">> <</if>> <</nobr>> <<linkreplace "Talk more with $bartender.name" t8n>> $bartender.firstname tells you that the patrons are $tavern.diversity, and that $bartender.heshe <<print either("loves working in $tavern.name", "hates working in $tavern.name", "finds working in the $tavern.wordnoun boring", "finds working in the $tavern.wordnoun fun")>>. $bartender.firstname says "Before I took over $tavern.name, I was a <<print $npc.class.random()>>, and damn good at it. But that was a long time ago... The only thing that bonds me to the past now? <<print $npc.bond.pluck()>>' <</linkreplace>> <<linkreplace "Anything interesting been happening lately?" t8n>> 'Well...<<print $plothook.rumour.pluck()>>' <</linkreplace>> <<nobr>> <<if $tavern.sizeroll gt 80>> <<set _freerooms to random(6, 10)>> <<elseif $tavern.sizeroll gt 60>> <<set _freerooms to random(5, 9)>> <<elseif $tavern.sizeroll gt 40>> <<set _freerooms to random(4, 8)>> <<elseif $tavern.sizeroll gt 20>> <<set _freerooms to random(3, 6)>> <<elseif $tavern.sizeroll lte 20>> <<set _freerooms to random(2, 4)>> <</if>> <<if $tavern.populationroll gt 80>> <<set _freerooms -= 3>> <<elseif $tavern.populationroll gt 60>> <<set _freerooms -= 2>> <<elseif $tavern.populationroll gt 40>> <<set _freerooms -= 1>> <<elseif $tavern.populationroll gt 20>> <<set _freerooms += 2>> <<elseif $tavern.populationroll lte 20>> <<set _freerooms += 3>> <</if>> <<if _freerooms lte 0>> <<print "You talk with the barmaid about lodgings, and she says that there are no free rooms in $tavern.name at the moment...">> <<elseif _freerooms == 1>> $tavern.name has just one available room, which is $tavern.size and $tavern.bedcleanliness. Because this $tavern.wordnoun is priced for $tavern.wealth patrons, it will cost $tavern.cost silver to stay here for the night. <<linkreplace "Rent a room for the night" t8n>> <<include "Sleep">> <</linkreplace>> <<elseif _freerooms gt 1>> $tavern.name has _freerooms available rooms, which are $tavern.size and $tavern.bedcleanliness. Because this $tavern.wordnoun is priced for $tavern.wealth patrons, it will cost $tavern.cost silver to stay here for the night. <<linkreplace "Rent a room for the night" t8n>> <<include "Sleep">> <</linkreplace>> <</if>><</nobr>> <<nobr>> <<set _restfulness to random(1, 100)>> <<set _sleepeasy to 0>> <<if $tavern.wealth is "kingly">> <<set _restfulness += 30, _sleepeasy += 3>> <<elseif $tavern.wealth is "aristocratic">> <<set _restfulness += 15, _sleepeasy += 2>> <<elseif $tavern.wealth is "wealthy">> <<set _restfulness += 7, _sleepeasy += 1>> <<elseif $tavern.wealth is "modest">> <<set _restfulness -= 2>> <<elseif $tavern.wealth is "poor">> <<set _restfulness -= 5, _sleepeasy -= 2>> <<elseif $tavern.wealth is "squalid">> <<set _restfulness -= 10, _sleepeasy -= 3>> <</if>> <<if $tavern.cleanlinessroll gt 90>> <<set _restfulness += 30>> <<elseif $tavern.cleanlinessroll gt 80>> <<set _restfulness += 15, _sleepeasy += 3>> <<elseif $tavern.cleanlinessroll gt 70>> <<set _restfulness += 5, _sleepeasy += 2>> <<elseif $tavern.cleanlinessroll gt 60>> <<set _restfulness += 3, _sleepeasy += 1>> <<elseif $tavern.cleanlinessroll gt 50>> <<set _restfulness -= 2>> <<elseif $tavern.cleanlinessroll gt 40>> <<set _restfulness -= 5>> <<elseif $tavern.cleanlinessroll gt 30>> <<set _restfulness -= 10, _sleepeasy -= 1>> <<elseif $tavern.cleanlinessroll gt 20>> <<set _restfulness -= 15, _sleepeasy -= 2>> <<elseif $tavern.cleanlinessroll lte 20>> <<set _restfulness -= 20, _sleepeasy -= 3>> <</if>> <<if $tavern.bedcleanlinessroll gt 90>> <<set _restfulness += 30>> <<elseif $tavern.bedcleanliness is "perfectly prepared, with fresh sheets and a lemon scent in the air of the room">> <<set _restfulness += 30, _sleepeasy += 3>> <<elseif $tavern.bedcleanliness is "freshly cleaned and neat">> <<set _restfulness += 20, _sleepeasy += 2>> <<elseif $tavern.bedcleanliness is "tidy and neat">> <<set _restfulness += 15, _sleepeasy += 1>> <<elseif $tavern.bedcleanliness is "reasonably clean">> <<set _restfulness += 10>> <<elseif $tavern.bedcleanliness is "somewhat tidy">> <<set _restfulness += 5>> <<elseif $tavern.bedcleanliness is "disgusting">> <<set _restfulness -= 10, _sleepeasy -= 1>> <<elseif $tavern.bedcleanliness is "teeming with rats">> <<set _restfulness -= 20, _sleepeasy -= 2>> <<elseif $tavern.bedcleanliness is "festering with bugs">> <<set _restfulness -= 30, _sleepeasy -= 3>> <</if>> <<if _restfulness gt 90, _sleepeasy gte 2>> <<print "You unsurprisingly get an excellent night's sleep, and awake feeling refreshed and reinvigorated">> <<elseif _resfulness gt 90, _sleepeasy lte -2>> <<print "You surprisingly get an excellent night's sleep, and awake feeling refreshed and reinvigorated">> <<elseif _resfulness gt 90>> <<print "You get an excellent night's sleep, and awake feeling refreshed and reinvigorated">> <elseif _resfulness gt 80, _sleepeasy gte 2>> <<print "You unsurprisingly get a great night's sleep, and awake feeling refreshed and reinvigorated">> <<elseif _resfulness gt 80, _sleepeasy lte -2>> <<print "You surprisingly get a great night's sleep, and awake feeling refreshed and reinvigorated">> <<elseif _resfulness gt 70, _sleepeasy gte 2>> <<print "You unsurprisingly get a good night's sleep, and awake feeling refreshed">> <<elseif _resfulness gt 70, _sleepeasy lte -2>> <<print "You surprisingly get a good night's sleep, and awake feeling refreshed">> <<elseif _resfulness gt 70>> <<print "You get a good night's sleep, and awake feeling refreshed">> <<elseif _resfulness gt 50, _sleepeasy gte 2>> <<print "You get an alright night's sleep, which is disappointing considering the quality of $tavern.name, but you awake feeling reasonably refreshed">> <<elseif _resfulness gt 50, _sleepeasy lte -2>> <<print "You get an alright night's sleep despite the poor quality of $tavern.name, but you awake feeling reasonably refreshed">> <<elseif _resfulness gt 50>> <<print "You get an alright night's sleep, and awake feeling reasonably refreshed">> <<elseif _resfulness gt 30, _sleepeasy gte 2>> <<print "You get an awful night's sleep, which is disappointing considering the quality of $tavern.name, and awake with a sore back; it might have been how you were sleeping, or the bed, but you feel pretty awful">> <<elseif _resfulness gt 30, _sleepeasy lte -2>> <<print "You get an awful night's sleep, which is unsurprising considering the quality of $tavern.name, and awake with a sore back; it might have been how you were sleeping, or the bed, but you feel pretty awful">> <<elseif _resfulness gt 30>> <<print "You get an awful night's sleep, and awake with a sore back; it might have been how you were sleeping, or the bed, but you feel pretty awful">> <<elseif _resfulness lte 30, _sleepeasy gte 2>> <<print "The night seems to go on forever, and you just can't get to sleep, despite the comforts provided. You awake in the morning to the roosters outside, and feel groggy, and not at all rested">> <<elseif _resfulness lte 30, _sleepeasy lte -2>> <<print "The night seems to go on forever, and you just can't get to sleep, probably due to the disgusting conditions that you were expected to sleep in. You awake in the morning to the roosters outside, and feel groggy, and not at all rested">> <<elseif _resfulness lte 30>> <<print "The night seems to go on forever, and you just can't get to sleep. You awake in the morning to the roosters outside, and feel groggy, and not at all rested">> <<else>> <<print "It's a regular sort of sleep, and you awake feeling reasonably refreshed">> <</if>> <<if $tavern.type is "brothel">> <<print "in spite of the whores' moaning.">> <<elseif $tavern.type is "gambling den">> <<print "in spite of the whores' moaning.">> <<else>> <<print ".">> <</if>> <<if $tavern.wealth is "kingly">> <<print "In the morning, you're awakened to a knock on the door; apparently $tavern.name comes with a complimentary breakfast in bed. You get dressed and open the door, and one of the barmaids comes in wheeling a trolley, upon which is laden with toast, fruits, cured meats, porridge, and all kinds of cheeses with breads.">> <<elseif $tavern.wealth is "aristocratic">> <<print "In the morning, you're awakened to the sound of a bell. Going downstairs to the bar area, you see that a continental breakfast has been set out for you. $bartender.name is standing behind the counter, pouring a beer which $bartender.heshe hands to you, asking if you slept well.">> <<elseif $tavern.wealth is "wealthy">> <<print "When you wake, you pack your things and head downstairs to see that $bartender.name is waiting there, in case you wanted any breakfast before you left; $bartender.heshe says that there's hot porridge, breads and cheeses, and fruit if you'd like to pay the nominal fee of one silver for the breakfast.">> <<elseif $tavern.wealth is "modest">> <<print "You head down after packing your things, and see that $bartender.name is sitting at one of the benches, chewing on a hunk of bread with cheese. The $bartender.weight $bartender.manwoman nods at you, and pauses, finishing chewing. When $bartender.heshe does finish, $bartender.heshe tells you that there's some bread and cheese left, if you want to pay the three copper for it.">> <<elseif $tavern.wealth is "poor">> <<print either("You make your way down out of the $tavern.wordnoun and see $bartender.name has fallen asleep at a bowl of porridge. From the kitchen, you can smell something burning", "You make your way down, and as you're leaving $tavern.name, you accidentally knock a cup over. From behind the bar, you hear $bartender.firstname yell out obscenities at you for disturbing $bartender.hisher slumber.", "You start to make your way out of $tavern.name, careful not to disturb the patrons that have fallen asleep at their tables", "You smell something burning, and make your way down to check; when you get down to the kitchen of $tavern.name, you find $bartender.firstname sitting, chewing angrily over a bowl of burnt porridge.")>> <<elseif $tavern.wealth is "squalid">> <<print either("You start to make your way out of the filthy $tavern.wordnoun, and smell something burning, and make your way down to check; when you get down to the kitchen of $tavern.name, you find $bartender.firstname sitting, chewing angrily over a bowl of burnt porridge.", "You can't help but shake the feeling that there's a smell clinging to your clothes after staying the night at $tavern.name<<nobr>>.<</nobr>>")>> <</if>> 