finished out skills per level, added skill trees to professions templates

This commit is contained in:
2025-11-02 19:08:36 -06:00
parent fd572076e0
commit 31aa0000cc
16 changed files with 361 additions and 26 deletions

View File

@@ -11,27 +11,23 @@ from app.game.systems.leveling import set_level
dice = Dice()
# tuning knobs
level_growth = 1.25
progression = DEFAULT_LEVEL_PROGRESSION
def build_char(name:str, origin_story:str, race_id:str, profession_id:str, fame:int=0, level:int=1) -> Entity:
def build_char(name:str, origin_story:str, race_id:str, profession_id:str,ability_pathway:str,level:int=1) -> Entity:
races = RaceRepository()
professions = ProfessionRepository()
progression = DEFAULT_LEVEL_PROGRESSION
race = races.get(race_id)
profession = professions.get(profession_id)
profession.ability_paths
e = Entity(
uuid = str(uuid.uuid4()),
name = name,
origin_story = origin_story,
fame = fame,
race =race,
ability_pathway=ability_pathway,
profession = profession
)