spirit_holding
![code/datums/components/spirit_holding.dm 6](git.png)
spirit holding component; for items to have spirits inside of them for "advice"
Used for the possessed blade and fantasy affixes
Vars | |
allow_channeling | Allows channeling |
---|---|
allow_exorcism | Allows exorcism |
allow_renaming | Allows renaming the bound item |
attempting_awakening | bool on if this component is currently polling for observers to inhabit the item |
bound_spirit | mob contained in the item. |
Procs | |
affix_spirit | On conclusion of the ghost poll |
attempt_exorcism | attempt_exorcism: called from on_bible_smacked, takes time and if successful resets the item to a pre-possessed state |
block_buckle_message | signal fired from a mob moving inside the parent |
custom_name | custom_name : Simply sends a tgui input text box to the blade asking what name they want to be called, and retries it if the input is invalid. |
on_attack_self | signal fired on self attacking parent |
on_destroy | signal fired from parent being destroyed |
on_examine | signal fired on examining the parent |
Var Details
allow_channeling
![code/datums/components/spirit_holding.dm 12](git.png)
Allows channeling
allow_exorcism
![code/datums/components/spirit_holding.dm 14](git.png)
Allows exorcism
allow_renaming
![code/datums/components/spirit_holding.dm 10](git.png)
Allows renaming the bound item
attempting_awakening
![code/datums/components/spirit_holding.dm 8](git.png)
bool on if this component is currently polling for observers to inhabit the item
bound_spirit
![code/datums/components/spirit_holding.dm 18](git.png)
mob contained in the item.
Proc Details
affix_spirit
On conclusion of the ghost poll
attempt_exorcism
attempt_exorcism: called from on_bible_smacked, takes time and if successful resets the item to a pre-possessed state
Arguments:
- exorcist: user who is attempting to remove the spirit
block_buckle_message
signal fired from a mob moving inside the parent
custom_name
custom_name : Simply sends a tgui input text box to the blade asking what name they want to be called, and retries it if the input is invalid.
Arguments:
- awakener: user who interacted with the blade
on_attack_self
signal fired on self attacking parent
on_destroy
signal fired from parent being destroyed
on_examine
signal fired on examining the parent