Gem Vault

Bank gem storage system. Protect gems from death by storing them in Gringotts vault. Account creation costs 1000 gold (one-time, gemaccountcost setting). Each deposit/withdrawal costs 100 gold transfer fee (gemtransfercost setting). Maximum 500 gems storable (maxgemsinbank setting, configurable). Gems survive death (always). Gems optionally survive VE dragon kill (if dktake = 0, else vault empties). Access via Bank page (footer-bank hook). Where Gringotts goblins discovered they can charge you 100 gold every single time you want to move a gem between your pocket and your vault, creating a lucrative side business taxing paranoid players who refuse to risk their precious gemstones to random forest deaths.

Accessing the Gem Vault

Location:

  • Gringotts Bank page
  • Footer navigation (footer-bank hook)
  • Link: "Gem Vault" or similar (appears after account created)

Initial Visit (No Account):

  • Goblins offer vault service
  • Explains gem protection benefits
  • Account creation prompt
  • Cost displayed: gemaccountcost (default: 1000 gold)

After Account Exists:

  • Vault access interface
  • Shows current gems in vault (gemsinbank pref)
  • Shows gems on hand (player inventory)
  • Deposit/withdraw options with transfer fee notice

Creating a Vault Account

One-Time Setup:

  • Cost: gemaccountcost setting (default: 1000 gold)
  • Must have sufficient gold
  • If insufficient: "You don't have enough gold" message
  • Cannot proceed without payment

Account Creation Process:

  • 1. Visit Bank, click Gem Vault
  • 2. Goblins explain service
  • 3. Confirm account creation
  • 4. Gold deducted: -1000 gold (default)
  • 5. cacc (Created Account) pref set to 1
  • 6. Account active immediately
  • 7. gemsinbank pref initialized to 0

Permanent Account:

  • Once created, account persists forever (cacc = 1)
  • No recurring fees
  • No account closure option (permanent investment)
  • Survives death, VE (account itself, not necessarily gem contents if dktake = 1)

Depositing Gems

Interface:

  • Form: Enter number of gems to deposit
  • Shows current gems on hand: "You have X gems"
  • Shows vault capacity: "Vault holds Y gems (max: maxgemsinbank)"
  • Transfer fee warning: "Each gem costs 100 gold to transfer" (configurable)

Deposit Process:

  • 1. Enter gem amount
  • 2. System calculates total cost:
  • Cost = (gems × gemtransfercost)
  • Example: 10 gems × 100 gold = 1000 gold
  • 3. Gold validation check
  • 4. Vault capacity check (gemsinbank + amount ≤ maxgemsinbank)
  • 5. If valid: Deduct gold, deduct gems from inventory, add to gemsinbank pref
  • 6. Confirmation message

Deposit Restrictions:

  • Insufficient Gems: Can't deposit more than you have
  • Insufficient Gold: Can't afford transfer fees
  • Vault Full: Can't exceed maxgemsinbank (default 500)
  • Error messages for each failure case

Example Deposit:

  • You have: 15 gems, 2000 gold
  • Vault has: 50 gems (max 500)
  • Deposit: 10 gems
  • Cost: 10 × 100 = 1000 gold
  • Result: 5 gems in pocket, 1000 gold, 60 gems in vault

Withdrawing Gems

Interface:

  • Form: Enter number of gems to withdraw
  • Shows vault contents: "Vault contains X gems"
  • Transfer fee warning: Same 100 gold per gem (default)

Withdrawal Process:

  • 1. Enter gem amount
  • 2. System calculates cost:
  • Cost = (gems × gemtransfercost)
  • 3. Gold validation (must afford fees)
  • 4. Vault balance check (gemsinbank >= amount)
  • 5. If valid: Deduct gold, deduct from gemsinbank, add to player gems
  • 6. Confirmation message

Withdrawal Restrictions:

  • Insufficient Vault Gems: Can't withdraw more than stored
  • Insufficient Gold: Must pay transfer fee even to withdraw own gems
  • No "free withdrawal" option (goblins ALWAYS charge)

Example Withdrawal:

  • You have: 5 gems, 800 gold
  • Vault has: 60 gems
  • Withdraw: 7 gems
  • Cost: 7 × 100 = 700 gold
  • Result: 12 gems in pocket, 100 gold, 53 gems in vault

Death Protection

Gems Lost on Death (Without Vault):

  • Normal death: All gems in pocket lost (standard LoGD mechanic)
  • No protection for carried gems
  • PvP deaths, forest deaths, event deaths all cost gems

Gems Protected in Vault:

  • Vault gems NEVER lost to death
  • Safe regardless of death cause
  • gemsinbank pref unchanged on death
  • Can withdraw after resurrection

Strategic Implications:

  • Store gems before dangerous activities (PvP, hard forest fights)
  • Keep only needed gems in pocket
  • Vault acts as death insurance
  • Transfer fee cost vs gem loss risk calculation

VE Dragon Kill Behavior

dktake Setting:

  • Controls whether vault empties at VE (dragon kill)
  • Default: 1 (vault DOES empty)
  • If dktake = 0: Vault gems carry over to next VE

If dktake = 1 (Default - Vault Empties):

  • On VE dragon kill: gemsinbank pref reset to 0
  • All stored gems lost (dragonkilltext hook)
  • Account persists (cacc = 1 unchanged)
  • Can deposit new gems post-VE
  • VE resets vault like death resets pocket gems

If dktake = 0 (Vault Persists):

  • On VE: gemsinbank unchanged
  • Gems carry over to next VE cycle
  • Massive advantage for vault users
  • Gem hoarding across multiple VEs
  • Admin decision for server economy balance

Server Balance Consideration:

  • dktake = 1: Fresh start each VE, no gem accumulation advantage
  • dktake = 0: Rewards vault investment, creates gem wealth gap
  • Most servers use dktake = 1 (reset)

Admin Configuration

Settings:

  • gemaccountcost: Account creation cost (int, default: 1000 gold)
  • gemtransfercost: Cost per gem transfer (deposit/withdraw) (int, default: 100 gold)
  • maxgemsinbank: Maximum vault capacity (int, default: 500 gems)
  • dktake: Empty vault at VE? (bool, default: 1 - yes, empty)

User Preferences:

  • gemsinbank: Gems currently in vault (int, default: 0)
  • cacc: Has created account (bool, default: 0)

Hooks Used:

  • footer-bank: Adds Gem Vault navigation link
  • dragonkilltext: Handles VE vault emptying (if dktake = 1)

Cost Analysis

Account Creation Investment

Setting Default Cost Equivalent In
gemaccountcost 1000 gold ~1 gem value, several forest fights

Is 1000 gold worth it?

  • If you die frequently: YES (protects gems from all deaths)
  • If you hoard gems: YES (prevents loss of valuable stockpile)
  • If you rarely die: MAYBE (less urgent, but still insurance)
  • If you never have gems: NO (nothing to protect)

Transfer Fee Economics

Gems Transferred Total Cost (@ 100g/gem) Notes
1 gem 100 gold Micro-transaction viable
10 gems 1000 gold Equals account cost
50 gems 5000 gold Significant investment
100 gems 10,000 gold Massive fee

Transfer Fee Strategy:

  • Batch Transfers: Deposit/withdraw in bulk to minimize total transaction count
  • Emergency Only: Only transfer when necessary (before risky activity or after accumulation)
  • Fee vs Risk: If death risk < transfer cost, skip vault
  • Example: Storing 5 gems costs 500 gold. If you rarely die, might not be worth it.

Break-Even Analysis

When does vault pay for itself?

  • Account cost: 1000 gold (one-time)
  • If you would have lost 10+ gems to death without vault: Vault saved you gem value > 1000 gold cost
  • Plus transfer fees: Each deposit/withdraw adds cost
  • Frequent deaths make vault economical quickly
  • Rare deaths make vault a luxury

Strategy & Best Practices

For New Players

Should I Get a Vault Early?

  • YES if:
    • You die often (learning forest combat)
    • You PvP frequently
    • You're accumulating gems (quests, donations)
    • 1000 gold is affordable (not breaking your budget)
  • WAIT if:
    • You have <5 gems total (nothing to protect)
    • 1000 gold would bankrupt you (need gold for healing/equipment)
    • You rarely die (low risk)

For Experienced Players

Optimal Vault Usage:

  • Keep small working inventory in pocket (2-5 gems)
  • Store bulk gems in vault (protect hoard)
  • Withdraw only when needed for purchases
  • Deposit after gem acquisition (quest rewards, donations)
  • Pre-deposit before risky activities (PvP, dangerous forest, experimental events)

Transfer Timing:

  • Deposit: After earning gems (quest completion, finding gems)
  • Withdraw: Before gem purchases (shops, potions, services)
  • Avoid: Frequent small transfers (fee waste)
  • Batch: Combine multiple gem movements into one transaction

For High-VE Players

VE Planning:

  • If dktake = 1: Expect vault to empty at dragon kill
  • Withdraw gems before VE attempt if planning major post-VE purchases
  • Or accept gem loss as VE cost
  • If dktake = 0: Vault becomes long-term gem savings account across VEs

For Admins

Economy Tuning:

  • gemaccountcost: Higher = exclusive feature, Lower = accessible to all
  • gemtransfercost: Higher = gold sink (good for economy), Lower = convenient (player-friendly)
  • maxgemsinbank: Higher = unlimited hoarding, Lower = forces gem spending
  • dktake: 1 = VE resets (fresh start), 0 = wealth accumulation (gap between veterans/newbies)

Recommended Settings:

  • New Server: Low account cost (500g), moderate transfer (50g), dktake = 1
  • Established Server: Default settings work, adjust based on gold inflation
  • High Economy: Increase all costs to match gold availability

Common Questions

Q: Do I lose vault gems when I die?
A: No. Vault gems always protected from death. Only pocket gems lost.

Q: Do I lose vault gems at VE?
A: Depends on dktake setting. If dktake = 1 (default): Yes, vault empties. If dktake = 0: No, gems carry over.

Q: Why does withdrawing MY OWN gems cost gold?
A: Gringotts transfer fees. Goblins charge for vault service. Withdrawal = service.

Q: Can I increase my vault capacity beyond 500 gems?
A: Only if admin increases maxgemsinbank setting. Player cannot expand vault individually.

Q: What happens if I try to deposit 501 gems (over limit)?
A: Error message. Transaction blocked. Must stay within maxgemsinbank capacity.

Q: Can I transfer gems to another player via vault?
A: No. Vault is personal storage only. Use gem transfer features (if available) for gifting.

Q: Does vault account persist across VEs?
A: Yes. Account (cacc = 1) persists. Gem contents depend on dktake setting.

Q: Can I get a refund if I close my account?
A: No account closure mechanism. 1000 gold is permanent investment.

Q: Is the transfer fee PER transaction or PER gem?
A: Per gem. Transferring 10 gems = 10 × gemtransfercost (default 1000 gold total).

Limitations

  • High Transfer Costs: 100 gold per gem can be prohibitive for frequent transfers
  • No Free Withdrawals: Must pay to access own gems (unlike some bank systems)
  • Capacity Limit: 500 gem cap (default) prevents unlimited hoarding
  • VE Vulnerability: If dktake = 1, vault not protected from dragon kill reset
  • No Partial Transfers: Can't set automated rules (e.g., "always keep 10 in vault")
  • No Interest/Growth: Gems don't multiply or gain value in vault (static storage)
  • One Account Only: Cannot create multiple vaults or sub-accounts

Gem Vault: where Gringotts goblins created a lucrative side business charging you 1000 gold just to OPEN an account that lets you store shiny rocks, then charging you an additional 100 gold EVERY SINGLE TIME you want to move a gem between your pocket and your vault, whether depositing for safekeeping or withdrawing your own property. The vault protects gems from death (your corpse gets looted but the goblins keep your vault safe, professional courtesy among thieves perhaps) and optionally survives VE dragon kills if the admin sets dktake to 0, though most servers leave it at dktake = 1 meaning your carefully hoarded 500-gem vault gets wiped clean when you reset, forcing you to start your gem collection from scratch. The maximum capacity is 500 gems (maxgemsinbank setting) because apparently even magical vaults have size limits, Gringotts couldn't possibly expand the enchanted storage space beyond an arbitrary threshold set by a module developer in 2006. Transfer fees scale linearly with gem count, so depositing 100 gems costs you 10,000 gold in fees alone, creating delightful economic scenarios where protecting your gems costs more than the gems are worth, but at least you'll have peace of mind knowing they're safe in a goblin-run underground vault while you're out getting murdered by forest centaurs and losing all your pocket change. The account creation fee is a one-time cost that persists forever (cacc pref = 1) even if you never use the vault again, making it either a wise long-term investment or an expensive mistake depending on your death frequency and gem accumulation rate, and there's absolutely no refund or account closure option because apparently Gringotts has a strict "no backsies" policy on magical vault contracts.