Skip to content
Daisy edited this page May 9, 2024 · 9 revisions

[RPF] Resource Pool Framework

rpf_clipLogo_256

Wiki

Function Library

System Overview

Bug Reporting & Contributing

Overview

Certain addons may want to incorporate an action or ability that has a cost, or draws from a pool of some resource. Generally, any incorporation of this cost-based ability requires in-mod development of its own system of a resource pool to draw from, a subtraction and/or addition function, limits, etc. This all results in many decentralized systems used to manage individual resource pools and their alterations. This mod aims to centrilize all the systems necessary for creation, management, and interaction with resource pools into a scriptable framework that can be easily optimized with minimal change to dependent mods.

Feature and optimization suggestions, as well as general bug reports and feedback, are greatly appreciated and encouraged.

Roadmap

Published Addons:

  • base

Provides base functionalities. Creation, removal, subtraction, addition, automatic renewal/decay, etc. All CBA Events take place on the server.

  • local

Provides local functionalities. Almost identical to base, but does not broadcast anything over the network (information of the pool is not shared), besides the existence of the pool. All CBA Events take place on the local machine.

  • qol

Provides Quality of Life functions. Allows manual changing of pool variables, and automatic calls for renew/decay with the change. Provides both local and server events.

In-Progress Addons:

  • gui

Provides functions specifically to work with GUI elements. Mainly supports smooth incrementation for both key actions and script calls.

  • modules

Provides modules to allow usage of the framework in non-scripting (Eden Editor) environments.

Clone this wiki locally