feat(falukant): add 'lover_breakup_risk_high' event handling and localization updates
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s
- Introduced a new event type for high breakup risk in relationships, including a sample payload for integration. - Updated the MessagesDialog component to handle new parameters related to breakup risk. - Added translations for the new event in Cebuano, German, English, Spanish, and French to enhance user understanding of relationship dynamics. - Enhanced documentation to reflect the new notification structure for high breakup risk events.
This commit is contained in:
@@ -128,6 +128,22 @@ Optional:
|
||||
- Notification
|
||||
- Ereignislog
|
||||
|
||||
Empfohlene Notification für hohes Trennungsrisiko:
|
||||
|
||||
```json
|
||||
{
|
||||
"tr": "random_event.lover_breakup_risk_high",
|
||||
"event_id": "lover_breakup_risk_high",
|
||||
"event_type": "family",
|
||||
"relationship_id": 123,
|
||||
"risk_percent": 42,
|
||||
"affection": 18,
|
||||
"visibility": 61,
|
||||
"discretion": 23,
|
||||
"months_underfunded": 2
|
||||
}
|
||||
```
|
||||
|
||||
## Pflichtlogik Monthly Tick
|
||||
|
||||
Der externe Daemon muss monatlich:
|
||||
|
||||
@@ -560,6 +560,23 @@ Mögliche Ereignisse:
|
||||
- Forderung nach höherem Unterhalt
|
||||
- kirchlicher Tadel
|
||||
- Erpressung
|
||||
- akutes Trennungsrisiko bei Liebschaft (`lover_breakup_risk_high`)
|
||||
|
||||
Beispiel-Payload für `lover_breakup_risk_high`:
|
||||
|
||||
```json
|
||||
{
|
||||
"tr": "random_event.lover_breakup_risk_high",
|
||||
"event_id": "lover_breakup_risk_high",
|
||||
"event_type": "family",
|
||||
"relationship_id": 123,
|
||||
"risk_percent": 42,
|
||||
"affection": 18,
|
||||
"visibility": 61,
|
||||
"discretion": 23,
|
||||
"months_underfunded": 2
|
||||
}
|
||||
```
|
||||
- Kind wird bekannt
|
||||
|
||||
## Kinder aus Liebschaften
|
||||
|
||||
Reference in New Issue
Block a user