requital 
Vars | |
| conflict_flags | Flags to what conflicts with what. |
|---|---|
| max_instances | The maximum number of times this requital can roll. |
| max_owners | Maximum number of owners. |
| max_targets | Minimum number of owners. |
| min_owners | Minimum number of owners. |
| min_targets | Minimum number of targets. |
| owners | List of minds that own this. |
| owning_job_blacklist | Job types that cannot own this requital. |
| owning_job_whitelist | Job types that can get this requital as an owner. Takes priority over owning_job_blacklist. |
| target_job_blacklist | Job types that cannot be targetted by this requital. |
| target_job_whitelist | Job types that can be targetted by this requital. Takes priority over target_job_blacklist. |
| targets | List of minds that are targeted by this. |
| weight | The weight for this requital to roll relative to the others. Default 100. |
Procs | |
| finalize | This requital is ready to go. |
| get_owner_text | Returns the string to display to a target. |
| get_target_text | Returns the string to display to a target. |
| get_valid_owners | Returns a list of valid owners. |
| get_valid_targets | Returns all valid targets in a list. The list is a copy and mutable. |
| is_valid_initial_owner | Should we even bother trying... |
| parse_text | Just read the proc dude. |
| select_owners | Selects owner(s), returns FALSE on failure. |
| select_targets | Selects target(s), returns FALSE on failure. |
| setup | Setup the requital. Returns FALSE if it is unable to find owners or targets that meet it's criteria. |
Var Details
conflict_flags 
Flags to what conflicts with what.
max_instances 
The maximum number of times this requital can roll.
max_owners 
Maximum number of owners.
max_targets 
Minimum number of owners.
min_owners 
Minimum number of owners.
min_targets 
Minimum number of targets.
owners 
List of minds that own this.
owning_job_blacklist 
Job types that cannot own this requital.
owning_job_whitelist 
Job types that can get this requital as an owner. Takes priority over owning_job_blacklist.
target_job_blacklist 
Job types that cannot be targetted by this requital.
target_job_whitelist 
Job types that can be targetted by this requital. Takes priority over target_job_blacklist.
targets 
List of minds that are targeted by this.
weight 
The weight for this requital to roll relative to the others. Default 100.
Proc Details
finalize
This requital is ready to go.
get_owner_text
Returns the string to display to a target.
get_target_text
Returns the string to display to a target.
get_valid_owners
Returns a list of valid owners.
get_valid_targets
Returns all valid targets in a list. The list is a copy and mutable.
is_valid_initial_owner
Should we even bother trying...
parse_text
Just read the proc dude.
select_owners
Selects owner(s), returns FALSE on failure.
select_targets
Selects target(s), returns FALSE on failure.
setup
Setup the requital. Returns FALSE if it is unable to find owners or targets that meet it's criteria.