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_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 |
selecting_sect | Prevents double selecting sects |
Procs | |
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_rites | Generates available rites to pick from. It expects the sect to be picked by the time it was called (by tgui data) |
generate_available_sects | Generates a list of available sects to the user. Intended to support custom-availability sects. |
generate_sacrifice_list | checks to invalidate Generates an english list (so string) of wanted sac items. Returns null if no targets! |
on_examine | Appends to examine so the user knows it can be used for religious purposes. |
perform_rite | Perform the rite, called from /datum/component/religious_tool/proc/AttemptActions |
select_sect | Select the sect, called from /datum/component/religious_tool/proc/AttemptActions |
ui_interact | Sacrificing |
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
selecting_sect
Prevents double selecting sects
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_rites
Generates available rites to pick from. It expects the sect to be picked by the time it was called (by tgui data)
generate_available_sects
Generates a list of available sects to the user. Intended to support custom-availability sects.
generate_sacrifice_list
checks to invalidate Generates an english list (so string) of wanted sac items. Returns null if no targets!
on_examine
Appends to examine so the user knows it can be used for religious purposes.
perform_rite
Perform the rite, called from /datum/component/religious_tool/proc/AttemptActions
select_sect
Select the sect, called from /datum/component/religious_tool/proc/AttemptActions
ui_interact
Sacrificing