Inn Backdoor

Random encounter at the inn. Navigation link "O - Open the Backdoor" leads to 12 equally-weighted random outcomes (8.33% each): mundane observations (cat/dog chase, smelly alley, weather, kegs, temperature), romantic sighting (Bill and Fleur kissing), charm penalties (step in poo -1 charm, bird poo -1 charm), nothing (garbage cans, mouse), minor reward (1 gold coin), or dangerous rat bite (-1 forest turn, or if no turns: -2 HP, or if fatal: death with news announcement). Settings: male/female NPC names (default Bill/Fleur). No cooldown, no cost. Repeatable infinitely. Where the game teaches you that curiosity about back alley doors leads to stepping in feces approximately 16.66% of the time, which is actually lower than real-world statistics suggest it should be.

Accessing the Backdoor

Location:

  • Any inn (hook: "inn")
  • Navigation: "Things to do" → "O?Open the Backdoor"
  • Link: runmodule.php?module=backdoor

Requirements:

  • None (anyone can open door)
  • No cost
  • No cooldown
  • Repeatable indefinitely (if you enjoy gambling with feces)

What You See:

  • Text: "You open the back door, step outside and discover."
  • One of 12 random outcomes (equal probability)
  • Return navigation: "(R) Return to Inn"

The 12 Possible Outcomes

Mundane Observations (5 outcomes, 41.67% total)

Outcome 1: Cat Chase (8.33%)

  • Text: "a cat being chased by a dog."
  • No mechanical effect
  • Pure flavor (exciting nature documentary)

Outcome 2: Smelly Alley (8.33%)

  • Text: "that the back alley smells funny."
  • No mechanical effect
  • Olfactory disappointment (alley smells = funny, not pleasant)

Outcome 3: Weather Observation (8.33%)

  • Text: "the weather may change soon."
  • No mechanical effect
  • Meteorological speculation (may = uncertainty, no actual forecast)

Outcome 4: Empty Kegs (8.33%)

  • Text: "some empty Ale kegs."
  • No mechanical effect
  • Barrel discovery (empty = no free ale, sorry)

Outcome 5: Temperature Check (8.33%)

  • Text: "it was warmer inside than it is outside."
  • No mechanical effect
  • Thermodynamic realization (should've stayed inside)

Romantic Encounter (1 outcome, 8.33%)

Outcome 6: Kissing NPCs (8.33%)

  • Text: "[Female NPC] and [Male NPC] kissing."
  • Default: "Fleur and Bill kissing."
  • Configurable via settings (male/female names)
  • No mechanical effect
  • Voyeuristic awkwardness (caught couple in private moment)

Charm Penalties (2 outcomes, 16.66% total)

Outcome 7: Step in Poo (8.33%)

  • Text: "you just stepped in poo. You feel less charming."
  • Effect: -1 charm point
  • Charm cannot go below 0 (floor at 0)
  • No log entry (silent shame)
  • Fecal fashion crisis

Outcome 8: Bird Poo (8.33%)

  • Text: "a bird has just poo'd on you. You feel less charming."
  • Effect: -1 charm point
  • Charm cannot go below 0 (floor at 0)
  • Avian assault (from above, no warning)

Nothing of Interest (2 outcomes, 16.66% total)

Outcome 9: Garbage Cans (8.33%)

  • Text: "nothing here but garbage cans."
  • No mechanical effect
  • Waste management acknowledgment (bins exist, that's it)

Outcome 11: Mouse (8.33%)

  • Text: "a mouse running away."
  • No mechanical effect
  • Rodent sighting (mouse flees, no interaction)

Reward (1 outcome, 8.33%)

Outcome 10: Gold Coin (8.33%)

  • Text: "a gold coin on the ground, Lucky You!"
  • Effect: +1 gold
  • Logged: "found 1 gold coin opening the Inn backdoor"
  • Minor treasure (1 whole gold!)

Dangerous Encounter (1 outcome, 8.33%)

Outcome 12: Rat Bite (8.33%)

  • Text: "you startled a fat rat who bites your ankle."
  • Effect Chain:
    • If you have ≥1 forest turn:
      • -1 forest turn
      • Text: "You lose time for 1 forest fight while you recover."
      • Temporary injury (skip one fight)
    • If you have 0 turns:
      • -2 hitpoints
      • Text: "Ouch, that must have hurt! You lose a few hitpoints."
      • If this reduces HP to ≤0:
        • Death
        • News announcement: "[Player name] has died as the result of being bitten by a rat behind the Inn."
        • Navigation: "(D) Hogwarts News"
        • Permanent(ish) consequence (death by vermin)
  • The ONLY outcome with real danger
  • Chance of death: 8.33% × (if 0 turns AND ≤2 HP) = rare but possible

Probability Analysis

Outcome Categories:

  • No Effect (Flavor Only): 50% (6/12: cat, alley, weather, kegs, temperature, garbage)
  • Negative: 25% (3/12: poo -1 charm, bird poo -1 charm, rat bite)
  • Positive: 8.33% (1/12: gold coin)
  • Neutral Story: 16.67% (2/12: kissing NPCs, mouse)

Charm Loss Risk:

  • 16.66% chance per use (2/12 outcomes)
  • If you use backdoor 10 times: ~83% chance of at least one charm loss
  • If you use backdoor 100 times: expect ~17 charm losses

Death Risk:

  • 8.33% rat encounter rate
  • Requires: 0 forest turns remaining AND ≤2 current HP
  • Realistic scenario: end of day, low HP, multiple backdoor uses
  • Embarrassment factor: dying to rat = infinite

Expected Value:

  • Average gold gain: +0.083 gold per use (1/12 × 1 gold)
  • Average turn change: -0.083 turns per use (1/12 × -1 turn, if turns available)
  • Average charm change: -0.166 charm per use (2/12 × -1 charm)
  • Conclusion: Economically terrible (charm loss > gold gain)

Admin Configuration

Module Settings:

  • male: Name of male NPC seen kissing (text, default: "Bill")
  • female: Name of female NPC seen kissing (text, default: "Fleur")

Customization Examples:

  • male = "Harry", female = "Ginny" → "Ginny and Harry kissing."
  • male = "Ron", female = "Hermione" → "Hermione and Ron kissing."
  • male = "Neville", female = "Luna" → "Luna and Neville kissing."
  • Only affects Outcome 6 (8.33% of uses)

No Other Settings:

  • Cannot disable outcomes
  • Cannot adjust probabilities (always 1/12 each)
  • Cannot change rewards/penalties
  • Cannot add cooldown
  • Module = simple random table, no configuration depth

Strategy & Usage

For Players

When to Use:

  • Never, if you value charm: Expected -0.166 charm per use
  • Never, if low HP with 0 turns: Death risk exists
  • For entertainment only: Random flavor text, minimal rewards
  • If you're bored at the inn: Click for variety (low stakes)

Risk Mitigation:

  • Use only when: HP > 2 (safety buffer from rat)
  • Use only when: Charm > 5 (can afford losses)
  • Use only when: Forest turns remaining > 0 (rat bite less punishing)
  • Avoid: End-of-day with 0 turns and low HP = death possible

Realistic Expectations:

  • ~1 gold per 12 uses (0.083 gold/use average)
  • ~2 charm losses per 12 uses
  • ~1 rat bite per 12 uses
  • 50% chance of completely boring outcome
  • Entertainment value: subjective (randomness = fun?)

For Roleplayers

Narrative Uses:

  • Witness Bill/Fleur romance (8.33% chance)
  • Discover mundane alley details (weather, smells, kegs)
  • Experience misfortune (poo, bird, rat) for character development
  • Find lucky coin (minor treasure story)
  • Mouse/cat sightings (animal encounters)

Why Your Character Opens the Door:

  • Curiosity (what's outside?)
  • Fresh air (escaping smoky inn)
  • Privacy (sneaking outside)
  • Shortcut (attempting alley navigation)
  • Poor impulse control (clicking available links)

Common Questions

Q: Can I die from opening a door?
A: Yes. Rat bite (8.33% chance) can kill if you have 0 turns AND ≤2 HP. Death message: "died as the result of being bitten by a rat behind the Inn." Embarrassing but permanent.

Q: Is there a cooldown on using the backdoor?
A: No. You can spam it infinitely. Each use = new 1/12 roll. Charm will vanish quickly.

Q: What's the best outcome?
A: Gold coin (+1 gold, 8.33% chance). Everything else is flavor or penalty.

Q: What's the worst outcome?
A: Rat bite leading to death (8.33% chance of bite, conditional death). Second worst: charm penalties (16.66% combined).

Q: Can I change the NPCs kissing?
A: Only admin can (settings: male/female names). Default: Bill and Fleur.

Q: Does weather actually change after Outcome 3?
A: No. Text says weather "may change soon." Pure speculation, no game effect.

Q: Why would I use this?
A: Entertainment? Boredom? Compulsive link-clicking? Statistically it's a terrible idea (charm loss > gold gain).

Q: Can I loot the empty kegs?
A: No. They're empty. Text explicitly says "empty Ale kegs." No interaction.

Q: If I find gold, can I find more by using it again?
A: Yes, theoretically. Each use = 8.33% gold chance. But also 8.33% rat chance. Risk/reward questionable.

Q: Does the bird poo outcome give any compensation?
A: No. Just -1 charm and sadness. Birds have no accountability system.

Technical Details

Random Outcome Logic:

  • Function: e_rand(1,12) (random integer 1-12)
  • Each outcome: exactly 1/12 probability (8.33%)
  • No weighting, no player influence
  • Independent rolls (previous results don't affect future)

Charm Floor:

  • if (charm < 0) charm = 0
  • Charm cannot go negative (minimum 0)
  • Multiple poo outcomes stack until 0 reached

Rat Bite Damage Chain:

  • Check: turns ≥ 1?
    • Yes: turns--, output turn loss message
    • No: hitpoints -= 2, check death condition
  • Death check: if (hitpoints ≤ 0)
    • addnews() with rat death message
    • Standard death processing (graveyard redirect)

Hook:

  • Hook: "inn" (shows navigation at all inn locations)
  • Navigation: "Things to do" → "O?Open the Backdoor"
  • Always visible (no conditions)

Outcome Table Reference

Roll Outcome Effect Type
1Cat chased by dogNoneFlavor
2Alley smells funnyNoneFlavor
3Weather may changeNoneFlavor
4Empty ale kegsNoneFlavor
5Temperature observationNoneFlavor
6NPCs kissingNoneStory
7Step in poo-1 CharmPenalty
8Bird poo-1 CharmPenalty
9Garbage cansNoneFlavor
10Gold coin+1 GoldReward
11Mouse runningNoneFlavor
12Rat bite-1 Turn OR -2 HP (death?)Danger

Inn Backdoor: where your character demonstrates the stellar decision-making skills that led them to become a professional monster-fighter by opening a mysterious back door behind a tavern and discovering that back alleys contain exactly what evolutionary biology and urban planning would predict—garbage, vermin, excrement, temperature differentials, weather speculation, empty beverage containers, and occasionally Bill and Fleur making out behind the building like teenagers who think nobody can see them even though there's literally a navigation link advertising the backdoor's existence to every patron in the establishment. The module offers twelve equally-probable outcomes determined by a single e_rand(1,12) call with no weighting or player agency, resulting in a 50% chance of completely meaningless flavor text (cat chased by dog! alley smells! weather exists! kegs are empty! it's colder outside! garbage cans!), a 16.66% chance of stepping in or being struck by feces from terrestrial or avian sources respectively (both causing -1 charm with a floor at 0 because apparently there's a minimum threshold of un-charmingness below which you cannot descend even when covered in multiple types of poo), an 8.33% chance of finding exactly one gold coin on the ground which the debug log will meticulously record as "found 1 gold coin opening the Inn backdoor" as if this financial windfall requires auditing, an 8.33% chance of witnessing the configurable male and female NPCs (default: Bill and Fleur) engaged in romantic activities which has zero mechanical effect but provides invaluable intelligence about the inn's back alley serving as the local make-out spot, an 8.33% chance of seeing a mouse run away which contributes nothing except confirming that yes rodents do inhabit alleys who would have guessed, and an 8.33% chance of startling a fat rat who bites your ankle resulting in either -1 forest turn if you have turns remaining (you need time to recover from this devastating ankle injury) or -2 hitpoints if you're out of turns with the delightful possibility that if this damage kills you the game will announce to everyone via addnews that you "died as the result of being bitten by a rat behind the Inn" which is absolutely the least heroic death message in the entire codebase and will haunt your legacy forever as other players wonder what kind of fool dies to a rat behind a tavern, and the expected value analysis reveals that each use costs approximately -0.166 charm and +0.083 gold making this one of the worst possible ways to spend your time except that it costs nothing but dignity and has no cooldown so you can spam it infinitely if self-destructive resource grinding is your preferred gameplay loop.