Sub topic 8
Map Resources, Sources and Sinks
Assume you already know how to identify a game’s core loop and player verbs. This chapter focuses on the economy inside that loop: what the player gains, where it comes from, where it goes, and how those flows shape pacing.
A resource is anything the game tracks and lets the player gain, spend, store, transform, or lose. Examples include health, ammunition, gold, crafting materials, action points, information, and time. A resource does not need to appear as a number. A safe room, a powerful ability on cooldown, or an unvisited map area can also act as a resource.
A source adds a resource to the player’s available stock. A sink removes it. A conversion changes one resource into another.
| Element | Meaning | Example |
|---|---|---|
| Source | Adds to a resource | Defeating an enemy awards 20 gold |
| Sink | Removes or consumes a resource | A shop upgrade costs 100 gold |
| Conversion | Exchanges one resource for another | Spend three herbs to craft one potion |
| Stock | The amount currently available | The player has 64 gold |
Start with a resource ledger
Choose one section of the game and list every resource that affects decisions. Record its starting amount, its sources, its sinks, and whether the player can carry it between encounters.
For example, in a dungeon-crawling game:
- Gold comes from defeated enemies and treasure chests.
- Gold leaves the economy through shops and upgrade fees.
- Health comes from the player’s maximum health, healing items, and healing stations.
- Health leaves through enemy attacks and environmental hazards.
- Potions convert gold or ingredients into future survivability.
- Time may act as a resource if a level has a countdown or escalating threat.
Do not call a reward a source merely because it feels generous. Record the actual event that changes the stock. If a chest contains 50 gold, the chest is the source. The decision to open the chest is not itself a source.
Trace the loop over time
A resource map becomes useful when you connect it to timing and player choice. Ask these questions:
- How often does a source appear?
- Is the source guaranteed, random, or earned through skill?
- Can the player save the resource for later?
- Which sinks are mandatory, optional, or avoidable?
- Does spending the resource improve future income?
- What happens when the player reaches zero?
- Can the player accumulate enough to ignore the intended choices?
A sink can be soft or hard. A soft sink, such as an optional cosmetic item, removes resources without blocking progress. A hard sink, such as ammunition consumed by every attack, directly limits what the player can do. Hard sinks create pressure, while soft sinks provide long-term goals.
Test the economy with a small model
A reinforcing loop occurs when spending a resource increases future income. Rising costs can balance that growth. This small model shows how upgrade prices affect progression:
def simulate(runs, income_per_run, first_cost, cost_growth, bonus_per_level):
"""Return the upgrade level after each completed run."""
gold = 0.0
level = 0
cost = first_cost
levels = []
for _ in range(runs):
gold += income_per_run * (1 + bonus_per_level * level)
while gold >= cost:
gold -= cost
level += 1
cost = round(cost * cost_growth)
levels.append(level)
return levels
print(simulate(10, 100, 150, 1.5, 0.1))Change cost_growth and compare the output. A lower value makes upgrades arrive sooner. That may create a rapid power curve, shorten challenge, and reduce the value of ordinary rewards. A higher value preserves scarcity but can make progression feel stalled.
Exercise
A player earns 30 coins from each encounter. A healing potion costs 60 coins, and an upgrade costs 120 coins. After four encounters, the player has bought one potion. What is the remaining stock, assuming no other spending?
Show answer
The player earns 120 coins. After spending 60 coins on the potion, 60 coins remain.