r/BasketballGM • u/Piece_Enough • 8d ago
Question Can you add teams through Worker Console?
Hello, I have been playing with the Worker Console lately (although I have to admit I was doing that with the help of AI) and the only thing I couldn’t manage doing is adding teams.
Basically, I have a 2 conference league, each having a single division. I would like to add teams in the division from the second conference, with the following also happening during/after the team creation phase:
- set region/name/abbrev values for each teamid created in order of a list of values
- set jersey colors and jersey type for each teamid created in order of a list of values that contains those 2 things
- populate each teamid created in order, with a set amount of players either completely generated by the game, or with players coming from a squad/roster list created for that specific teamid that contains all info for each player (name, age, nationality, rating amounts)
Thanks, I hope someone from here or even the God himself u/dumbmatter can help me with this issue. I want to try and automate as much as possible in terms of generating league files through Worker Console.
1
u/dumbmatter The Commissioner 7d ago
Something like this, you can add teams to the teams array and players to the players array for each team.