Low Spirits

Inn service for raising spirits after dementor attacks or spirit debuffs. Pay configurable gems (default 5) to chat with gender-based NPC (male characters → wenches like Fleur Delacour, female → gigolos like Bill Weasley). NPC gives you chocolate, raises spirits from current value to random(floor, 2) where floor = min(current spirits + 1, 2), grants forest turns equal to spirit increase (current spirits negative = more turns). Once per day limit (been preference). Refusal conditions: already visited today (customizable excuses) OR spirits already >1 (you're too happy, share YOUR chocolate). Configurable NPC name lists and refusal message arrays. Great cure for dementor attacks in Forbidden Forest. Where you pay five gems to an attractive person who shakes your hand, gives you chocolate, and somehow this increases your resolve to fight Voldemort enough that you gain extra forest turns.

Location & Access

How to Access:

  • Inn navigation hook
  • Category: "Things to do"
  • Link: "Chat with [NPC Name]`0 ([X] gems)"
  • Cost displayed in navigation (transparency)
  • NPC randomly selected from configured list

Gender-Based NPC Selection:

  • Male characters (SEX_MALE):
    • Pool: wenches setting + "Fleur" (hardcoded)
    • Default: "Fleur Delacour,Fleur" (setting + append)
    • Random selection from comma-separated list
  • Female/Other characters:
    • Pool: gigolos setting + "Bill" (hardcoded)
    • Default: "Bill Weasley,Bill"
  • Randomized each time link generated (not locked per day)

Cost & Requirements

Gem Cost:

  • Default: 5 gems
  • Configurable (cost setting)
  • Deducted after confirmation (if accepted)
  • No refund if spirits already high

Once Per Day Limit:

  • Preference: "been" (int, default 0)
  • Incremented after successful chocolate gift
  • Reset to 0 at newday
  • If been >= 1 (visits allowed): Refused with excuse

Insufficient Gems:

  • If gems < cost: Refusal before spirit check
  • Message: "`@%s `@says, \"Sorry %s`@, you don't have enough gems to interest me.\"`0"
  • No interaction occurs

Refusal Conditions

Refusal 1: Already Visited Today:

  • Condition: been >= 1 (visits allowed)
  • Message: "`@%s `@says, \"Sorry %s`@, [random excuse], so I can't help you right now.\"`0"
  • Excuse pool (excuses setting, colon-separated):
    • "I've got a headache"
    • "I'm too tired"
    • "these Dementor attacks just have me feeling too nervous"
    • "I just gave out my last piece of chocolate"
    • "please don't talk to me, I'm having a bad day"
  • Random selection from excuse list

Refusal 2: Spirits Too High:

  • Condition: spirits > 1 (already in good mood)
  • Message: "`@%s`@ says, \"Sorry %s`@, [random excuse2]\"`0"
  • Excuse2 pool (excuses2 setting, colon-separated):
    • "you're in very high spirits, I think you should share your chocolate with me"
    • "come back tomorrow and try again, you're already in very high spirits today and don't need anymore chocolate!"
    • "I would share, but I don't have anymore chocolate."
  • No gems deducted (failed spirit check before payment)

Success: Cheerup Sequence

Acceptance Message:

  • "`@%s `@pockets your %s gems and shakes your hand, saying \"I'm so glad you came up to talk to me %s`@.\"`0"
  • NPC name, gem cost, your name displayed
  • Gems deducted immediately

Spirit Calculation:

  • floor = current spirits + 1
  • if (floor > 2): floor = 2 (capped)
  • newspirit = rand(floor, 2)
  • Result: Always between (current+1) and 2
  • If spirits = -2: rand(−1, 2) → -1, 0, 1, or 2
  • If spirits = 0: rand(1, 2) → 1 or 2
  • If spirits = 1: rand(2, 2) → always 2

Chocolate & Turns:

  • Message: "`@%s `@cheers up your spirits by giving you a piece of chocolate.`n`^Your resolve to `\$fight `^until Voldemort is dead, has been increased along with your spirits!`0"
  • Turns gained: (newspirit − current spirits)
  • Example: spirits -2 → 1 = gain 3 turns
  • Example: spirits 0 → 2 = gain 2 turns
  • Example: spirits 1 → 2 = gain 1 turn
  • Spirits updated: session['user']['spirits'] = newspirit
  • Floor check: if spirits < -2, set to -2 (safety)

Debug Log:

  • "Spent 5 gems to raise spirits in the inn." (cost variable logged)

Spirit Mechanics

Spirit Range:

  • Minimum: -2 (very low spirits, dementor attacked)
  • Maximum: 2 (high spirits, happy)
  • Normal: 0-1 (neutral to okay)

How Spirits Affect Turns:

  • This module grants turns = spirit INCREASE
  • Raising from -2 to 2 = +4 turns (maximum gain)
  • Raising from -1 to 1 = +2 turns (moderate gain)
  • Raising from 1 to 2 = +1 turn (minimum gain)
  • Already at 2: Can't use module (refused, spirits too high)

Dementor Attack Cure:

  • Dementors lower spirits (forest encounters)
  • Low spirits = fewer turns, bad mood
  • This module reverses effect (chocolate cure canon Harry Potter)
  • Practical: Regain lost turns from dementor debuff

Admin Configuration

Settings:

  • cost: How many gems does this action cost? (int, default 5)
  • wenches: NPC names for male players (text, default "Fleur Delacour")
  • gigolos: NPC names for female players (text, default "Bill Weasley")
  • excuses: Colon-separated refusal messages for already-visited (textarea, 5 defaults)
  • excuses2: Colon-separated refusal messages for high-spirits (textarea, 3 defaults)

Customization Examples:

  • Add more NPCs: wenches = "Fleur Delacour:Hermione Granger:Ginny Weasley"
  • Change cost: cost = 10 (more expensive)
  • Add excuses: excuses = ".:I'm on break:Stop bothering me"
  • All lists comma/colon-separated, random selection

Balancing:

  • High cost (10+ gems): Expensive emergency cure
  • Low cost (1-2 gems): Cheap daily boost
  • Once-per-day prevents spam (can't farm turns)
  • Spirit >1 refusal prevents abuse (only for low spirits)

Strategy Guide

When to Use:

  • After dementor attack (spirits negative, turns lost)
  • When spirits ≤1 (eligible for service)
  • Have 5+ spare gems (can afford cost)
  • Want extra forest turns (turn gain valuable)

When to Skip:

  • Spirits already 2 (will be refused)
  • Already used today (once per day limit)
  • Low on gems (can't afford 5 gems)
  • Don't need turns urgently

Optimal Use:

  • Use immediately after dementor attack (spirits -2)
  • Maximum turn gain if spirits very low
  • 5 gems for 2-4 turns = decent value
  • Chocolate cure thematic and practical

Turn Value Calculation:

  • Spirits -2: Expected gain ≈ 2.5 turns (avg of rand(-1,2) increase)
  • Spirits -1: Expected gain ≈ 2 turns
  • Spirits 0: Expected gain ≈ 1.5 turns
  • Spirits 1: Guaranteed 1 turn (floor=2, newspirit always 2)
  • Worth it if you value turns highly

Lore & Flavor

Canon Harry Potter References:

  • Chocolate cures dementor effects (canon remedy)
  • Dementors drain happiness/hope (spirits mechanic)
  • Bill Weasley: Curse breaker, handsome, scarred
  • Fleur Delacour: Veela, beautiful, Triwizard champion
  • Inn setting: Three Broomsticks or Hog's Head

Character Interaction:

  • NPC pockets gems, shakes hand (friendly transaction)
  • Gives chocolate (caring gesture)
  • Excuses when unavailable (humanizing, realistic)
  • "Glad you came to talk to me" (welcoming)

Resolve to Fight Voldemort:

  • Spirits = willpower/morale (thematic link)
  • Chocolate → increased resolve → more turns
  • Fighting until Voldemort dead (war context)
  • Dementors serve Voldemort (enemy connection)

Limitations

  • Once Per Day: Can only raise spirits once daily (prevents turn farming)
  • Spirit Cap: Refuses if spirits >1 (can't boost already-happy players)
  • Gem Cost: 5 gems expensive for low-level players (paywall)
  • RNG Spirit Gain: Random floor to 2 = unpredictable turn gain
  • No Refund: If spirits too high, message unclear until AFTER clicking
  • Gender-Locked NPCs: Male players only see wenches, female only gigolos (heteronormative)

Low Spirits: where you visit the inn and see a navigation link for "Chat with [Bill Weasley or Fleur Delacour depending on your character's gender]`0 (5 gems)" and when you click it hoping for a pleasant conversation the NPC either refuses because you already visited today with excuses like "I've got a headache" or "these Dementor attacks just have me feeling too nervous" or "please don't talk to me I'm having a bad day," OR they refuse because your spirits are already too high saying things like "you're in very high spirits, I think you should share your chocolate with me" or "I would share but I don't have anymore chocolate," OR if your spirits are ≤1 and you haven't visited today they pocket your 5 gems and shake your hand saying "I'm so glad you came up to talk to me" then give you a piece of chocolate which somehow increases your resolve to fight until Voldemort is dead by calculating a new spirit value as rand(max(current spirits + 1, up to floor 2), 2) and granting you forest turns equal to the spirit increase (so if you had spirits -2 from a dementor attack and roll a 2 you gain 4 turns total), which makes this module basically an emergency dementor-attack cure that costs 5 gems and converts chocolate into willpower through the power of attractive NPCs being nice to you.