perks.module
README.md
perks
The data behind V's growth in Banana 2077: five attribute perk trees, five skills that level with use, and the street-cred track. The module is pure data plus a few lookups. game.rules owns the profile and applies every effect, and the character menu draws the trees from this data.
P.trees[attr]: the name and tagline of each tree. The trees are body SOLO, reflexes BLADES, tech ENGINEER, intelligence NETRUNNER and cool HEADHUNTER.P.list: 35 perks, 7 per tree. Each perk has anid,tree,tier(1–4, gated by an attribute of 4 / 9 / 15 / 20 throughP.tierGate),col,ranks, an optionalreq, and either per-rank statmods(added toR.stat) or aflag(read by a rules hook). Each also carries adesc.P.byId,P.byTree[attr]andP.gate(perk)look perks up.P.skills: five skills (solo, shinobi, engineer, netrunner, headhunter), each with per-level stat mods. Related fields:P.skillXp: the XP each action gives.P.skillMax: the level cap, 20.P.skillMilestones: levels 5/10/15/20, each giving a bonus perk point.P.skillToNext(level): the XP needed for the next level.
- Street cred:
P.credMax: the level cap.P.credToNext(level): the XP needed for the next level.P.credRewards: the cred each source gives.P.credTitle(level): the title shown for a cred level.