Register a new issue type from the specified data.
Register a new issue type from the specified data.
1 table data
the data to register.
local p0 = {} p0.id = "p0" p0.display = _T("P0_ISSUES", "P0 issues") p0.displayLowercase = _T("P0_ISSUE", "P0 issue") p0.icon = "issue_p0" p0.description = _T("P0_ISSUE_DESCRIPTION", "P0 issues are critical bugs. They must be fixed before the game is released, as they impact the review score the most. Most common types are: Crashes Gameplay blockers") p0.discoverChance = 40 p0.generateChance = 12 p0.salesImpact = 0.05 p0.salesImpactExponent = 2 p0.priority = 3 p0.scoreImpact = 0.1 p0.scoreImpactExponent = 2 p0.fixTime = {min = 1, max = 2} issues:registerNew(p0)