uses_mana 
Designates the item it's added to as something that "uses mana".
Procs | |
| can_activate | Should be the raw conditional we use for determining if the thing that "uses mana" can actually activate the behavior that "uses mana". |
|---|---|
| can_activate_check_failure | What can_activate_check returns apon failing to activate. |
| can_activate_with_feedback | Wrapper for can_activate(). Should return a bitflag that will be passed down to the signal sender on failure. |
| drain_mana | The primary proc we will use for draining mana to simulate it being consumed to power our actions. |
| get_mana_required | Should return the numerical value of mana needed to use whatever it is we're using. Unaffected by attunements. |
| is_mana_sufficient | Should return TRUE if the total adjusted mana of all mana pools surpasses get_mana_required(). FALSE otherwise. |
| react_to_successful_use | Should react to a post-use signal given by the parent, and ideally subtract mana, or something. |
Proc Details
can_activate
Should be the raw conditional we use for determining if the thing that "uses mana" can actually activate the behavior that "uses mana".
can_activate_check_failure
What can_activate_check returns apon failing to activate.
can_activate_with_feedback
Wrapper for can_activate(). Should return a bitflag that will be passed down to the signal sender on failure.
drain_mana
The primary proc we will use for draining mana to simulate it being consumed to power our actions.
get_mana_required
Should return the numerical value of mana needed to use whatever it is we're using. Unaffected by attunements.
is_mana_sufficient
Should return TRUE if the total adjusted mana of all mana pools surpasses get_mana_required(). FALSE otherwise.
react_to_successful_use
Should react to a post-use signal given by the parent, and ideally subtract mana, or something.