Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/religious_tool

Allows the parent to act similarly to the Altar of Gods with modularity. Invoke and Sect Selection is done via attacking with a bible. This means you cannot sacrifice Bibles (you shouldn't want to do this anyways although now that I mentioned it you probably will want to).

Vars

catalyst_typeSets the type for catalyst
easy_access_sectEnables access to the global sect directly
force_catalyst_afterattackEnables overide of COMPONENT_NO_AFTERATTACK, not recommended as it means you can potentially cause damage to the item using the catalyst.
operation_flagsWhat extent do we want this religious tool to act? In case you don't want full access to the list. Generated on New
performing_riteThe rite currently being invoked

Procs

AttemptActionsSince all of these involve attackby, we require mega proc. Handles Invocation, Sacrificing, And Selection of Sects.
SetGlobalToLocalSets the easy access variable to the global if it exists.
generate_available_sectsSect Selection
on_examineAppends to examine so the user knows it can be used for religious purposes.

Var Details

catalyst_type

Sets the type for catalyst

easy_access_sect

Enables access to the global sect directly

force_catalyst_afterattack

Enables overide of COMPONENT_NO_AFTERATTACK, not recommended as it means you can potentially cause damage to the item using the catalyst.

operation_flags

What extent do we want this religious tool to act? In case you don't want full access to the list. Generated on New

performing_rite

The rite currently being invoked

Proc Details

AttemptActions

Since all of these involve attackby, we require mega proc. Handles Invocation, Sacrificing, And Selection of Sects.

SetGlobalToLocal

Sets the easy access variable to the global if it exists.

generate_available_sects

Sect Selection

Rite Invocation

Sacrificing

Generates a list of available sects to the user. Intended to support custom-availability sects. Because these are not instanced, we cannot put the availability on said sect beyond variables.

on_examine

Appends to examine so the user knows it can be used for religious purposes.