heretic
The heretic antagonist itself.
Vars | |
ascended | Whether we've ascended! (Completed one of the final rituals) |
---|---|
blacklisted_rune_turfs | A blacklist of turfs we cannot scribe on. |
drawing_rune | Whether we're drawing a rune or not |
give_objectives | Whether we give this antagonist objectives on gain. |
heretic_path | The path our heretic has chosen. Mostly used for flavor. |
high_value_sacrifices | A list of TOTAL how many high value sacrifices completed. |
knowledge_points | A list of how many knowledge points this heretic CURRENTLY has. Used to research. |
living_heart_organ_slot | The organ slot we place our Living Heart in. |
passive_gain_timer | The time between gaining influence passively. The heretic gain +1 knowledge points every this duration of time. |
researched_knowledge | Assoc list of [typepath] = [knowledge instance]. A list of all knowledge this heretic's reserached. |
sac_targets | Lazy assoc list of [weakrefs to humans] to [image previews of the human]. Humans that we have as sacrifice targets. |
scribing_tools | A static typecache of all tools we can scribe with. |
total_sacrifices | A list of TOTAL how many sacrifices completed. (Includes high value sacrifices) |
Procs | |
add_sacrifice_target | Add [target] as a sacrifice target for the heretic. Generates a preview image and associates it with a weakref of the mob. |
check_mansus_grasp_offhand | Callback to check that the user's still got their Mansus Grasp out when drawing a rune. |
draw_rune | The actual process of drawing a rune. |
forge_primary_objectives | Create our objectives for our heretic. |
on_target_deleted | Signal proc for COMSIG_PARENT_QDELETING registered on sac targets if sacrifice targets are deleted (gibbed, dusted, whatever), free their slot and reference |
passive_influence_gain | Increments knowledge by one. Used in callbacks for passive gain over time. |
remove_sacrifice_target | Removes [target] from the heretic's sacrifice list. Returns FALSE if no one was removed, TRUE otherwise |
try_draw_rune | Attempt to draw a rune on [target_turf]. |
Var Details
ascended
Whether we've ascended! (Completed one of the final rituals)
blacklisted_rune_turfs
A blacklist of turfs we cannot scribe on.
drawing_rune
Whether we're drawing a rune or not
give_objectives
Whether we give this antagonist objectives on gain.
heretic_path
The path our heretic has chosen. Mostly used for flavor.
high_value_sacrifices
A list of TOTAL how many high value sacrifices completed.
knowledge_points
A list of how many knowledge points this heretic CURRENTLY has. Used to research.
living_heart_organ_slot
The organ slot we place our Living Heart in.
passive_gain_timer
The time between gaining influence passively. The heretic gain +1 knowledge points every this duration of time.
researched_knowledge
Assoc list of [typepath] = [knowledge instance]. A list of all knowledge this heretic's reserached.
sac_targets
Lazy assoc list of [weakrefs to humans] to [image previews of the human]. Humans that we have as sacrifice targets.
scribing_tools
A static typecache of all tools we can scribe with.
total_sacrifices
A list of TOTAL how many sacrifices completed. (Includes high value sacrifices)
Proc Details
add_sacrifice_target
Add [target] as a sacrifice target for the heretic. Generates a preview image and associates it with a weakref of the mob.
check_mansus_grasp_offhand
Callback to check that the user's still got their Mansus Grasp out when drawing a rune.
Arguments
- user - the mob drawing the rune
draw_rune
The actual process of drawing a rune.
Arguments
- user - the mob drawing the rune
- target_turf - the place the rune's being drawn
- drawing_time - how long the do_after takes to make the rune
- additional checks - optional callbacks to be ran while drawing the rune
forge_primary_objectives
Create our objectives for our heretic.
on_target_deleted
Signal proc for COMSIG_PARENT_QDELETING registered on sac targets if sacrifice targets are deleted (gibbed, dusted, whatever), free their slot and reference
passive_influence_gain
Increments knowledge by one. Used in callbacks for passive gain over time.
remove_sacrifice_target
Removes [target] from the heretic's sacrifice list. Returns FALSE if no one was removed, TRUE otherwise
try_draw_rune
Attempt to draw a rune on [target_turf].
Arguments
- user - the mob drawing the rune
- target_turf - the place the rune's being drawn
- drawing_time - how long the do_after takes to make the rune
- additional checks - optional callbacks to be ran while drawing the rune