Jacob Schmidt 8117e6ffa6 feat(economy): Enhance economy system with service charges and medical billing
- Expanded README.md to detail economy addon functionalities including refueling, medical services, and service charges.
- Updated XEH_PREP.hpp to include initSEconomyStore preparation.
- Modified XEH_postInit.sqf to ensure MEconomyStore initializes only if not nil.
- Adjusted XEH_preInit.sqf to initialize SEconomyStore correctly.
- Updated config.cpp to include forge_server_common as a required addon.
- Enhanced fnc_initFEconomyStore.sqf to manage fuel refueling sessions and organization charges.
- Improved fnc_initMEconomyStore.sqf to handle medical billing and fallback to organization funds.
- Created fnc_initSEconomyStore.sqf for organization-funded service charges and repairs.
- Updated org.rs and org.rs service layer to support member debt recording and organization fund charging.
- Added ECONOMY_USAGE_GUIDE.md for comprehensive documentation on economy functionalities.
- Updated MODULE_REFERENCE.md and README.md to include links to the new economy guide.
2026-04-18 13:37:09 -05:00
..
2026-04-17 17:09:21 -05:00
2026-04-17 17:09:21 -05:00
2026-04-17 17:09:21 -05:00

Forge Shared Libraries

The lib workspace contains reusable Rust crates for Forge domain models, repository traits, services, and shared helpers.

Crates

  • forge-models: serializable domain models shared by services and extension routes.
  • forge-repositories: repository traits plus in-memory implementations used by tests and transient hot-state stores.
  • forge-services: business logic for actor, bank, garage, locker, org, phone, store, task, and CAD workflows.
  • forge-shared: validation and cross-crate helpers.

Durable persistence is implemented in the server extension with SurrealDB repository implementations.

Test

cargo test -p forge-models
cargo test -p forge-repositories
cargo test -p forge-services
cargo test -p forge-shared