Template:GenericDataGive feedback
Usage
[edit source]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 source]Retrieves a raw data value from the game's generic data files.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Function | 1 | The function name to call on Module:GenericData.
| String | required |
| Key | 2 | The data key to retrieve.
| String | required |
| Index | 3 | Optional. The list index to access if the key's value is an array (e.g. round number or player count).
| Number | optional |
Examples
[edit source]Street Brawl Data (Single Value)
[edit source]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 source]Round 3 soul budget is {{GenericData|get_streetbrawl_param|m_vecGoldPerRound|3}}.
Round 3 soul budget is 9400.
Street Brawl Data (Entire Array)
[edit source]Soul budgets per round: {{GenericData|get_streetbrawl_param|m_vecGoldPerRound}}.
Soul budgets per round: .
Objective Data
[edit source]Tier 1 gold on kill: {{GenericData|get_objective_param|Tier1GoldKill}}.
Tier 1 gold on kill: 1250.
Item Price
[edit source]Tier 4 item cost: {{GenericData|get_tiered_item_price|4}}.
Tier 4 item cost: 6400.
Trooper Gold Share
[edit source]3 players splitting trooper gold: {{GenericData|get_trooper_gold_share_frac|3}}.