I’m excited to share that I’ve successfully implemented the Task Assignment System for Depot Workers! 🎉
Depot Workers can now be assigned to essential tasks, each affecting the depot’s operation and survival. I also built a detailed management window, allowing for easy task assignment and performance tracking.
Tasks Implemented:
Loading/Unloading: Every delivery must be unloaded from or loaded onto trucks, carts, and trains. The more workers assigned, the faster it happens—crucial when supplies arrive in bulk.
Depot Organization: Without workers organizing the depot, reports become increasingly inaccurate. The display of resources can’t be trusted, and deliveries may arrive with incorrect amounts.
Depot Maintenance: Essential for keeping supplies in usable condition. Proper maintenance prevents ammo from corroding, food from spoiling, and tools from breaking down.
Vehicle Maintenance: Keeps trucks, carts, and other transport units functional. Without regular upkeep, breakdowns become common, disrupting vital supply lines.
Animal Care: Horses and pack animals require rest, food, and medical attention. Overworked animals can die, reducing transport capacity—or become a source of emergency food or deadly sickness if neglected.
Food Preparation: Impacts how efficiently food is cooked and distributed, affecting health, morale, and survival rates. Poor food quality leads to weakened, sick, or demoralized workers and soldiers.
Security: Prevents theft, sabotage, and desertion. It also affects the behavior of POWs, civilians, and even depot staff, depending on how strict or lax security is.
Barrack Maintenance: Properly maintained barracks reduce sickness, fatigue, and injuries while keeping morale up. Neglecting them results in overcrowded, disease-ridden shelters.
Hospital Maintenance: Affects how many sick and wounded can be treated, how fast they recover, how many meds are required, and how many lives can be saved when injuries pile up.
Special Tasks: Reserved for unique missions or emergencies, requiring specialized effort outside of daily depot routines.
Building: Allows the construction of new modules like hospitals, mechanic bays, or even frontline installations such as storage depots or field kitchens—unlocking unit modifiers.
Upgrading: Determines how quickly new module upgrades are completed, improving efficiency and unlocking advanced features.
Infrastructure Work: Repairs roads, builds makeshift bridges, and maintains key transport routes. Affects transport unit speed, breakdown chances, and the frequency of transport-related random events.
Balancing these tasks will be critical. Every choice matters—neglecting even one area can cripple the entire supply system.
Next I will be implementing the modifiers and calculations. The stats for each worker are already in the code, like fatigue, health, motivation, etc. Next step will be to change those depending on time spend, or slept, etc.
0 comments