# Forge Server Economy ## Overview The economy addon contains server-side systems for world economic interactions that are still implemented in SQF. Current stores cover fuel tracking, medical service behavior, and a placeholder service economy store. ## Dependencies - `forge_server_main` - `forge_server_common` at runtime for logging, formatting, and player lookup - `forge_server_bank` at runtime for medical service charges - `forge_client_actor` and `forge_client_notifications` for response RPCs ## Main Components - `fnc_initFEconomyStore.sqf` tracks active refueling sessions and reports fuel totals. - `fnc_initMEconomyStore.sqf` manages medical spawn occupancy, healing charges, respawn placement, death inventory handling, and body-bag transfer. - `fnc_initSEconomyStore.sqf` initializes the service economy placeholder. ## Event Surface The addon registers CBA server events for fuel start/tick/stop, player killed, player respawn, and healing. Medical store initialization runs after post-init to discover configured medical spawn objects. ## Notes The service economy store is currently a stub. Fuel and medical behavior should stay server-authoritative because they mutate money, inventory, and respawn state.