Santa's Toy Factory Upgrade Tables
Santa's Toy Factory — Upgrade Price Tables
The heart of a tycoon's progression curve: per-level upgrade price tables ([][]int), max-level caps, production speeds, and storage capacities, with lookup helpers. Shows how Epic drives tunable game balance from plain Verse data tables instead of hard-coded numbers.
From the Santa's Toy Factory Epic starter project (SampleVerse/SantaToyFactory/Config/upgrade_config.verse). Epic Games reference Verse, shown for study.
-
# This file contains the data used to configure the factory in the game. # This includes upgrade prices, max levels, production speeds, storage capacities and more. # It also contains functions for getting all this data. using { /Verse.org/Simulation } using { Persistence } # Blubberchops: "Looks like this is the place to modify the upgrade prices for belts." # "Let's make them cheaper!" # Defines the upgrade price per level for each factory belt. FactoryBeltPrices: [][]int = # Each column is a belt. 0 1 2 3 # Each row is a level. array{ array{ 1, 5, 10, 15}, array{ 5, 10, 25, 35}, array{ 10, 25, 50, 100}, array{ 20, 50, 100, 200}, array{ 30, 100, 200, 300}, array{ 40, 200, 400, 500}, array{ 50, 250, 500, 750}, array{ 75, 375, 750, 1000}, array{ 100, 500, 1000, 1500}, array{ 150, 750, 1500, 2000}, array{ 200, 1000, 2000, 3000}, array{ 250, 1250, 2500, 3500}, array{ 300, 1500, 3000, 4000}, array{ 400, 2000, 4000, 5000}, array{ 500, 2500, 5000, 7500}}
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.