feat(falukant): enhance marriage actions with production delay handling and UI updates
All checks were successful
Deploy to production / deploy (push) Successful in 2m58s

- Implemented logic in FalukantService to delay running productions when spending time with a spouse, updating the start timestamp accordingly.
- Enhanced the response from the spend time API to include details about delayed productions and household order changes.
- Updated FamilyView component to display the cost of marriage actions and added a help section detailing the effects of actions, including production delays.
- Added new translations for action effects in multiple languages to improve user understanding of the marriage actions.
This commit is contained in:
Torsten Schulz (local)
2026-04-13 12:09:17 +02:00
parent ba72d4fb74
commit 1bce855b3a
7 changed files with 136 additions and 10 deletions

View File

@@ -938,7 +938,14 @@
"giftDecent": "Decent regalo",
"giftLavish": "Lavish regalo",
"reconcile": "Reconcile dispute",
"costFree": "free",
"effectHintTitle": "Gasto ug epekto sa kini nga mga aksyon",
"effectSpendTime": "Conversation/time together: walay gasto sa kwarta, +2 marriage satisfaction, +1 public stability, -2 household order ug +{minutes} minutos sa running productions.",
"effectGifts": "Ang mga regalo naay gasto ug mas kusog nga epekto: small {small} (+2/+1), decent {decent} (+4/+2), lavish {lavish} (+7/+3).",
"effectReconcile": "Reconcile dispute: walay gasto sa kwarta, +1 marriage satisfaction, +1 public stability.",
"effectProduction": "Ang production effect daemon-based: ang running productions makadawat ug +{minutes} minutos pinaagi sa start timestamp ug mahuman nga mas ulahi.",
"spendTimeSuccess": "Ang time together naay stabilized ang kasal.",
"spendTimeSuccessWithDelay": "Ang time together naay stabilized ang kasal. {count} ka running production na-delay ug {minutes} minutos.",
"giftSuccess": "Ang regalo naay improved ang kasal.",
"reconcileSuccess": "Ang dispute naay eased para sa now.",
"actionError": "Ang action could dili be completed."