Add configurable auto-rearm feature when duck is shot/befriended

- Add 'rearm_on_duck_shot' config option (defaults to true)
- Automatically rearm all disarmed players when any duck is successfully shot
- Also applies when ducks are successfully befriended
- Includes error handling and logging for the rearm process
- Improves game flow by reducing downtime for players who made wild shots
This commit is contained in:
2025-09-24 16:03:03 +01:00
parent 688aca759f
commit f9883758f3
2 changed files with 29 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
"duck_spawn_min": 10,
"duck_spawn_max": 30,
"duck_timeout": 60,
"befriend_success_rate": 75
"befriend_success_rate": 75,
"rearm_on_duck_shot": true
}