Lot of updates 😄 and breaking changes 😢
World
- Team gets reputation when finishing a travel
- Add Octopulp population
- Free pirates generated depend on team reputation
- Lower chance of local team starting a game (wait for full rest?)
- Reduce amount of gold that can be found and in general rewrite resource finding system
- Allow to travel and explore only if there is at least one pirate. We still allow trade to ensure resources can still be sold.
- Forbid to start game if team has less than 5 pirates
- Generate at least 2 teams per planet at new game
Spaceship
- Make double and triple engines quicker
Player
- Add potential, hidden value
- On apply game end logic, only clone player tiredness and morale
- Player training should be applied only at long tick in the general skill update logic
- training bonus after game depends on wether player is above/below potential
- tick_players_update: add malus to stats depending on age.
- On player creation, initial age should depend on population
- Add age APIs to population
- Improve player hire cost calculation
- Allow for pirates to leave the team due to morale or old age (only if not playing, should be checked on medium tick. If player leaves own team, notify with popup)
- Generated random players initial skills depend on age
Team
- Team stores open trades and challenges
Engine
- add morale updates similar to tiredness but more swingy.
- morale affects the minimum roll
- If knocked out, morale goes to 0
- Planet location should have effect on game (e.g., at beginning of game, native players get morale bonus)
Network
- Introduce trades
- Include trades in swarm requests. Challenge button redirects to team panel, trade button to player panel.
UI
players panel
- Free pirates filter should be only for pirate on current/target planet. Maybe rename filter to "Tavern"?
myTeam panel
- Rename to team name in tab
- Format satoshi resource as bitcoin if necessary (if team has a lot)
- Add game tactic description
new game screen
- only 3 starting base ships (one per type)
widgets
- Player widget: morale value is taken from ongoing game if necessary (like tiredness)
- Challenge button now renders it directly and indicates whether there is an open challenge from the team
galaxy panel
- Add top free pirates list
- Add resource list
Audio
- Move radios to assets file
- Add streaming timeout for radios