Skip to main content

Module economy

Module economy 

Source

Structs§

Currency
Three-tier currency: gold, silver, copper. 100 copper = 1 silver, 100 silver = 1 gold.
Economy
The global economy — tracks supply, demand, and prices for all items.
PlayerReputation
A player’s standing with a specific faction, affecting shop prices.
PriceModifier
Computes a final price from base price with supply/demand and reputation factors.
ShopInventory
A merchant’s shop with items, buying, selling, and restocking.
ShopItem
A single item stocked in a shop.
TaxSystem
Region-based sales tax and black market premium.
TradeOffer
A barter proposal between two parties.