feat(falukant): enhance marriage actions with production delay handling and UI updates
All checks were successful
Deploy to production / deploy (push) Successful in 2m58s
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:
@@ -695,7 +695,14 @@
|
||||
"giftDecent": "Gutes Geschenk",
|
||||
"giftLavish": "Großzügiges Geschenk",
|
||||
"reconcile": "Streit schlichten",
|
||||
"costFree": "kostenlos",
|
||||
"effectHintTitle": "Kosten und Wirkung dieser Aktionen",
|
||||
"effectSpendTime": "Gespräch/Zeit miteinander: keine Geldkosten, +2 Ehezufriedenheit, +1 öffentliche Stabilität, -2 Haushaltsordnung und laufende Produktionen +{minutes} Minuten.",
|
||||
"effectGifts": "Geschenke kosten Geld und wirken stärker: klein {small} (+2/+1), gut {decent} (+4/+2), großzügig {lavish} (+7/+3).",
|
||||
"effectReconcile": "Streit schlichten: keine Geldkosten, +1 Ehezufriedenheit, +1 öffentliche Stabilität.",
|
||||
"effectProduction": "Die Produktionswirkung ist daemonbasiert: Laufende Produktionen erhalten +{minutes} Minuten über den Startzeitpunkt und werden entsprechend später abgeschlossen.",
|
||||
"spendTimeSuccess": "Die gemeinsame Zeit hat die Ehe stabilisiert.",
|
||||
"spendTimeSuccessWithDelay": "Die gemeinsame Zeit hat die Ehe stabilisiert. {count} laufende Produktion(en) wurden um {minutes} Minuten verzögert.",
|
||||
"giftSuccess": "Das Geschenk hat die Ehe verbessert.",
|
||||
"reconcileSuccess": "Der Streit wurde fürs Erste geschlichtet.",
|
||||
"actionError": "Die Aktion konnte nicht ausgeführt werden."
|
||||
|
||||
Reference in New Issue
Block a user