finished out skills per level, added skill trees to professions templates
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user