Log inGet started
World

Banana 2077

Branchmain
Branchesmain
Commit49a1306fab

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 an id, tree, tier (1–4, gated by an attribute of 4 / 9 / 15 / 20 through P.tierGate), col, ranks, an optional req, and either per-rank stat mods (added to R.stat) or a flag (read by a rules hook). Each also carries a desc.
  • P.byId, P.byTree[attr] and P.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.