scripture
Vars | |
button_icon_state | Icon state of the action button |
---|---|
category | What category of scripture is this |
cogs_required | How many cogs are required to be used to use this |
desc | Shown decription of the scripture in the UI |
end_on_invocation | Only set to false if you call end_invoke somewhere in your scripture |
invocation_chant_timer | Timer object for the distance between invoking chants |
invocation_text | Text said during invocation, automatically translates to Ratvarian |
invocation_time | Time required to invoke this while standing still |
invoker | Ref to the mob invoking this |
invokers_required | How many people need to invoke this in sight of each other to use |
invoking_slab | Ref to the slab invoking this |
name | Name of the scripture |
power_cost | How much power this scripture costs to use |
recital_sound | Sound to play on finish |
research_required | If this scripture requires research to be unlocked |
tip | Tooltip shown on-hover. Keep to a few words |
vitality_cost | How much vitality this scripture costs to use |
Procs | |
begin_invoke | Start invoking a scripture, calling end_invoke() if it doesn't finish |
check_special_requirements | Check for any special requriements such as not having enough invokers, or not holding the slab |
end_invoke | End the invoking, nulling things out |
invoke | Invoke this scripture, checking if there's valid power and vitality |
invoke_fail | On failure of invoking the scripture |
invoke_success | On success of invoking the scripture |
recital | The overall reciting proc for saying every single line for a scripture |
recite | For reciting an individual line of a scripture |
Var Details
button_icon_state
Icon state of the action button
category
What category of scripture is this
cogs_required
How many cogs are required to be used to use this
desc
Shown decription of the scripture in the UI
end_on_invocation
Only set to false if you call end_invoke somewhere in your scripture
invocation_chant_timer
Timer object for the distance between invoking chants
invocation_text
Text said during invocation, automatically translates to Ratvarian
invocation_time
Time required to invoke this while standing still
invoker
Ref to the mob invoking this
invokers_required
How many people need to invoke this in sight of each other to use
invoking_slab
Ref to the slab invoking this
name
Name of the scripture
power_cost
How much power this scripture costs to use
recital_sound
Sound to play on finish
research_required
If this scripture requires research to be unlocked
tip
Tooltip shown on-hover. Keep to a few words
vitality_cost
How much vitality this scripture costs to use
Proc Details
begin_invoke
Start invoking a scripture, calling end_invoke() if it doesn't finish
check_special_requirements
Check for any special requriements such as not having enough invokers, or not holding the slab
end_invoke
End the invoking, nulling things out
invoke
Invoke this scripture, checking if there's valid power and vitality
invoke_fail
On failure of invoking the scripture
invoke_success
On success of invoking the scripture
recital
The overall reciting proc for saying every single line for a scripture
recite
For reciting an individual line of a scripture