Vladimir's Blood Bank

Vampire-themed banking module in village. Run by Vladimir the vampire. Give blood once per day for `Generosity` buff (+2% defense, 20 rounds). Deposit/withdraw gold. Transfer money to other players (level restrictions). Borrow loans based on level (borrowperlevel config). Optional deposit/transfer toggle.

Location

Village navigation, marked with "B" key. Bank appears in location specified by bankloc setting (default: village).

Vladimir's Greeting:

  • Dark doorway entrance
  • Vampire behind counter with bloody smile
  • "Greetings, you have X gold invested with us."
  • Or: "You have a debt of X gold to us."

Give Blood

Once Per Day:

  • Offer to give blood to Vladimir
  • Warm smile (if vampires could give warm smiles)
  • Assistant takes you to side room
  • Comfortable bed, collection process
  • Orange juice and cookie in waiting area (30 minutes)

Buff Reward:

  • Name: "Generosity"
  • Duration: 20 rounds
  • Effect: +2% defense (defmod 1.02)
  • Message: "You feel really good about yourself!"

Second Attempt Same Day:

  • Vladimir refuses politely
  • "Rather not have you faint in his bank"
  • Try again another time

Deposit/Withdraw Gold

Deposit (if allowdep = 1):

  • Enter amount or 0 to deposit all
  • Gold moved from hand to bank account
  • Tracks balance in goldinbank field

Withdraw:

  • Enter amount or 0 to withdraw all
  • Gold moved from bank to hand
  • Can't withdraw more than you have

Balance Display:

  • Positive: "You have X gold invested with us"
  • Negative: "You have a debt of X gold to the bank"

Borrow Loans

Loan Limit:

  • Max borrowable = level × borrowperlevel config (e.g., 100 gold per level)
  • Level 5 = 500 gold max loan
  • Level 10 = 1000 gold max loan

Borrowing Process:

  • Click "Take out a Loan" or "Borrow More" (if already in debt)
  • Enter amount
  • Money withdrawn from account first (if positive balance)
  • Remainder borrowed (goldinbank goes negative)

Repayment:

  • Use "Pay off Debt" to deposit gold when in debt
  • Reduces negative balance
  • No interest charges (generous vampire!)

Transfer Money

Requirements (if allowtx = 1):

  • Level ≥ mintransferlev config OR dragonkills > 0
  • Positive bank balance (can't transfer while in debt)

Transfer Limits:

  • Recipient max: level × transferperlevel (e.g., 1000 per level)
  • Sender daily max: level × maxtransferout
  • Minimum: Must transfer at least your own level (prevents 1 gold spam)
  • Recipient daily limit: transferreceive config (prevents multi-account farming)

Transfer Flow:

  • Enter amount and recipient name (partial names OK)
  • Preview and confirm recipient
  • If multiple matches, select from dropdown
  • Gold transferred instantly, recipient gets system mail notification

Blocked Transfers:

  • To yourself (Vladimir says it's a waste of time)
  • More than daily limit
  • More than recipient can receive
  • Recipient already received too many transfers today

Admin Settings

  • allowdep: Allow deposit? (bool, default: 0)
  • allowtx: Allow transfer? (bool, default: 0)
  • bankloc: Where does bank appear? (location, default: village)

Deposit and transfer are optional features admins can disable.

Strategy

Give Blood Daily:

  • Free +2% defense buff for 20 rounds
  • Always worth doing
  • No downside

Loan Management:

  • Borrow only if needed (no interest, but debt blocks transfers)
  • Pay off before attempting transfers
  • Loan limit scales with level (safe to use)

Transfers:

  • Useful for helping clan members or alts (if allowed)
  • Subject to daily limits (prevents abuse)
  • Minimum transfer = your level (prevents spam)

Comparison to Standard Bank

  • Blood Bank: Vampire theme, blood donation buff, transfer system
  • Standard Bank: Generic bank with deposit/withdraw only

Blood Bank is a themed replacement for standard banking with extra features.

Hooks Used

  • village: Add "B?The Blood Bank" navigation
  • newday: Reset giventoday pref to 0
  • changesetting: Update bankloc if village name changes

Vladimir's Blood Bank: where you donate blood to a vampire for a measly +2% defense buff and he generously lends you gold at 0% interest, which is honestly the least realistic part of this entire fantasy game. At least the orange juice and cookie are complementary.