feat(FalukantService, i18n): enhance household tension handling and localization updates
All checks were successful
Deploy to production / deploy (push) Successful in 1m55s

- Added functionality to refresh and update household tension scores and reasons in the FalukantService, improving user experience by reflecting real-time household dynamics.
- Updated localization strings across multiple languages (Cebuano, German, English, Spanish, French) to include new office rank terminology and improved marriage crisis descriptions, enhancing clarity and context for users.
- Introduced a new office rank tier structure in localization files, providing better categorization and understanding of office ranks in the game.
This commit is contained in:
Torsten Schulz (local)
2026-04-17 17:07:53 +02:00
parent 1dd4d18927
commit afbea926a2
7 changed files with 86 additions and 15 deletions

View File

@@ -4956,7 +4956,12 @@ class FalukantService extends BaseService {
};
}
const tensionRefresh = await this.refreshHouseholdTensionState(falukantUser, falukantUser.character);
const plainHouse = userHouse.get({ plain: true });
if (tensionRefresh) {
plainHouse.householdTensionScore = tensionRefresh.score;
plainHouse.householdTensionReasonsJson = tensionRefresh.reasons;
}
plainHouse.servantSummary = this.buildServantSummary(plainHouse, falukantUser.character);
plainHouse.debtorsPrison = await this.getDebtorsPrisonStateForUser(falukantUser);
return plainHouse;