feat(FalukantService, i18n): enhance household tension handling and localization updates
All checks were successful
Deploy to production / deploy (push) Successful in 1m55s
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user