Skip to main content

Overview

Hyperscape features a player-driven economy with banking, shops, loot drops, and item trading.

Currency

Coins are the universal currency:
  • Dropped by all mobs
  • Used to purchase from shops
  • Stackable in inventory

Inventory

Configuration

Capacity

  • 28 slots in active inventory (RuneScape-style)
  • 100 slots in bank storage
  • 1000 max stack for stackable items
  • Items must be managed carefully
  • Stackable items (coins, arrows) share a slot

Item Properties

Banking

Features

  • Unlimited storage slots
  • Accessible at bank locations in starter towns
  • Each bank is independent (no shared storage)

Operations

  • Deposit: Move items from inventory to bank
  • Withdraw: Move items from bank to inventory
  • Organize: Drag to rearrange
Banks are safe storage—items cannot be lost from banks.

Shops

General Store

Available in all starter towns:

Shop Mechanics

  • Stock replenishes over time
  • Prices are fixed
  • Sell items back for reduced value

Loot Drops

Mob Drops

All mobs drop loot on death:

Drop Tables

Drop tables are defined in NPC manifests and calculated at runtime:
Drop tables are defined in world/assets/manifests/npcs.json and loaded by DataManager.

Economy Flow

Item Tiers

Weapons

Armor

Bows

Player Trading

Trade System

Players can trade items directly with each other using an OSRS-style two-screen confirmation flow:

Initiating a Trade

  1. Right-click another player
  2. Select “Trade with [Player Name]”
  3. If not adjacent, your character walks to them automatically
  4. Trade request appears as pink clickable chat message

Trade Flow

Offer Screen:
  • Add items by left-clicking inventory items (adds 1)
  • Right-click for context menu: Offer-1, Offer-5, Offer-10, Offer-X, Offer-All
  • Remove items by clicking them in your trade offer
  • Both players must accept to proceed
Confirmation Screen:
  • Final review of both offers
  • Wealth transfer indicator shows value difference
  • Both players must accept again to complete
  • Trade executes atomically (no item duplication possible)

Anti-Scam Features

Security

  • Server-authoritative state management
  • Atomic database transactions
  • Inventory locks during swap
  • Proximity validation (must be adjacent)
  • Rate limiting on requests
  • Tradeable flag enforcement
Trade requests appear as pink clickable messages in chat. Click to accept instantly.

Future Features

A Grand Exchange (automated marketplace) is planned for future updates.