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

@@ -882,7 +882,14 @@
"giftDecent": "Decent gift",
"giftLavish": "Lavish gift",
"reconcile": "Reconcile dispute",
"costFree": "free",
"effectHintTitle": "Costs and effects of these actions",
"effectSpendTime": "Conversation/time together: no money cost, +2 marriage satisfaction, +1 public stability, -2 household order, and +{minutes} minutes on running productions.",
"effectGifts": "Gifts cost money and have stronger effects: small {small} (+2/+1), decent {decent} (+4/+2), lavish {lavish} (+7/+3).",
"effectReconcile": "Reconcile dispute: no money cost, +1 marriage satisfaction, +1 public stability.",
"effectProduction": "Production impact is daemon-based: running productions get +{minutes} minutes via their start timestamp and therefore finish later.",
"spendTimeSuccess": "The time together has stabilized the marriage.",
"spendTimeSuccessWithDelay": "The time together has stabilized the marriage. {count} running production(s) were delayed by {minutes} minutes.",
"giftSuccess": "The gift has improved the marriage.",
"reconcileSuccess": "The dispute has been eased for now.",
"actionError": "The action could not be completed."