Template:GenericData

Revision as of 14:29, 29 July 2026 by LVL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation [view] [edit] [history] [purge]

Usage

edit

A shorthand wrapper template to retrieve raw technical values from datamined game data via Module:GenericData.

This template can retrieve objective parameters, rejuvenator stats, item prices, soul distribution percentages, and Street Brawl specific parameters.

Parameters

edit

Retrieves a raw data value from the game's generic data files.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Function1

The function name to call on Module:GenericData.

Example
get_streetbrawl_param, get_objective_param
Stringrequired
Key2

The data key to retrieve.

Example
m_vecGoldPerRound, Tier1GoldKill
Stringrequired
Index3

Optional. The list index to access if the key's value is an array (e.g. round number or player count).

Example
1
Numberoptional

Examples

edit

Street Brawl Data (Single Value)

edit

First team to win {{GenericData|get_streetbrawl_param|m_iScoreToWin}} rounds wins the match.

First team to win 3 rounds wins the match.

Street Brawl Data (Array Index)

edit

Round 3 soul budget is {{GenericData|get_streetbrawl_param|m_vecGoldPerRound|3}}.

Round 3 soul budget is 9400.

Street Brawl Data (Entire Array)

edit

Soul budgets per round: {{GenericData|get_streetbrawl_param|m_vecGoldPerRound}}.

Soul budgets per round: .

Objective Data

edit

Tier 1 gold on kill: {{GenericData|get_objective_param|Tier1GoldKill}}.

Tier 1 gold on kill: 1250.

Item Price

edit

Tier 4 item cost: {{GenericData|get_tiered_item_price|4}}.

Tier 4 item cost: 6400.

Trooper Gold Share

edit

3 players splitting trooper gold: {{GenericData|get_trooper_gold_share_frac|3}}.

3 players splitting trooper gold: 36%.