Religious Sects
Religious Sects are a way to convert the fun of having an active 'god' (admin) to code-mechanics so you aren't having to press adminwho.
Sects are not meant to overwrite the fun of choosing a custom god/religion, but meant to enhance it. The idea is that Space Jesus (or whoever you worship) can be an evil bloodgod who takes the lifeforce out of people, a nature lover, or all things righteous and good. You decide!
Vars | |
alignment | holder for alignments. |
---|---|
altar_icon | Changes the Altar of Gods icon |
altar_icon_state | Changes the Altar of Gods icon_state |
convert_opener | Opening message when someone gets converted |
default_item_favor | The default value for an item that can be sacrificed |
desc | Description of the religious sect, Presents itself in the selection menu (AKA be brief) |
desired_items | Turns into 'desired_items_typecache', lists the types that can be sacrificed barring optional features in can_sacrifice() |
desired_items_typecache | Autopopulated by desired_items |
favor | The Sect's 'Mana' |
max_favor | The max amount of favor the sect can have |
name | Name of the religious sect |
rites_list | Lists of rites by type. Converts itself into a list of rites with "name - desc (favor_cost)" = type |
starter | Does this require something before being available as an option? |
Procs | |
adjust_favor | Adjust Favor by a certain amount. Can provide optional features based on a user. Returns actual amount added/removed |
can_sacrifice | Returns TRUE if the item can be sacrificed. Can be modified to fit item being tested as well as person offering. |
generate_rites_list | Generates a list of rites with 'name' = 'type' |
on_conversion | Activates once selected and on newjoins, oriented around people who become holy. |
on_riteuse | Activates when an individual uses a rite. Can provide different/additional benefits depending on the user. |
on_sacrifice | Activates when the sect sacrifices an item. Can provide additional benefits to the sacrificer, which can also be dependent on their holy role! If the item is suppose to be eaten, here is where to do it. NOTE INHER WILL NOT DELETE ITEM FOR YOU!!!! |
on_select | Activates once selected |
sect_bless | Replaces the bible's bless mechanic. Return TRUE if you want to not do the brain hit. |
set_favor | Sets favor to a specific amount. Can provide optional features based on a user. |
Var Details
alignment
holder for alignments.
altar_icon
Changes the Altar of Gods icon
altar_icon_state
Changes the Altar of Gods icon_state
convert_opener
Opening message when someone gets converted
default_item_favor
The default value for an item that can be sacrificed
desc
Description of the religious sect, Presents itself in the selection menu (AKA be brief)
desired_items
Turns into 'desired_items_typecache', lists the types that can be sacrificed barring optional features in can_sacrifice()
desired_items_typecache
Autopopulated by desired_items
favor
The Sect's 'Mana'
max_favor
The max amount of favor the sect can have
name
Name of the religious sect
rites_list
Lists of rites by type. Converts itself into a list of rites with "name - desc (favor_cost)" = type
starter
Does this require something before being available as an option?
Proc Details
adjust_favor
Adjust Favor by a certain amount. Can provide optional features based on a user. Returns actual amount added/removed
can_sacrifice
Returns TRUE if the item can be sacrificed. Can be modified to fit item being tested as well as person offering.
generate_rites_list
Generates a list of rites with 'name' = 'type'
on_conversion
Activates once selected and on newjoins, oriented around people who become holy.
on_riteuse
Activates when an individual uses a rite. Can provide different/additional benefits depending on the user.
on_sacrifice
Activates when the sect sacrifices an item. Can provide additional benefits to the sacrificer, which can also be dependent on their holy role! If the item is suppose to be eaten, here is where to do it. NOTE INHER WILL NOT DELETE ITEM FOR YOU!!!!
on_select
Activates once selected
sect_bless
Replaces the bible's bless mechanic. Return TRUE if you want to not do the brain hit.
set_favor
Sets favor to a specific amount. Can provide optional features based on a user.