Mi2dRPGamEng/engine/skills.py

35 lines
916 B
Python

from __future__ import annotations
# Classic D&D-style skill placeholders. Values are skill levels/modifiers, meaning TBD by game logic.
DND_SKILLS = (
"acrobatics",
"animal_handling",
"arcana",
"athletics",
"deception",
"history",
"insight",
"intelligence",
"intimidation",
"investigation",
"medicine",
"nature",
"perception",
"performance",
"persuasion",
"religion",
"sleight_of_hand",
"stealth",
"survival",
)
def default_bio() -> dict[str, int]:
return {skill: 0 for skill in DND_SKILLS}
# "tech" is deliberately NOT one of the DND_SKILLS above - it isn't bought/rolled/assigned
# directly like the others. It's derived from intelligence and perception (see
# Character.base_tech_skill), so a character's hacking ability moves automatically as those
# two skills do, with nothing extra to spend on it in the character creator.