SlashCo Wiki

SlashCo.RegisterPerk

  SlashCo.RegisterPerk( Perk perkTbl, string perkID )

Description

Registers a perk and associates it with its team.
Registration is rejected after perks have finished loading.
Default values are applied for the perk's level and price.
Conflict IDs are also converted into lookup keys within the PERK.Conflicts table.

Arguments

1Perk perkTbl

The PERK table to register

2string perkID

Unique identifier for the perk