/tg/ Station 13 - Modules - TypesVar Details - Proc Details

scripture

Vars

button_icon_stateIcon state of the action button
categoryWhat category of scripture is this
cogs_requiredHow many cogs are required to be used to use this
descShown decription of the scripture in the UI
end_on_invocationOnly set to false if you call end_invoke somewhere in your scripture
invocation_chant_timerTimer object for the distance between invoking chants
invocation_textText said during invocation, automatically translates to Ratvarian
invocation_timeTime required to invoke this while standing still
invokerRef to the mob invoking this
invokers_requiredHow many people need to invoke this in sight of each other to use
invoking_slabRef to the slab invoking this
nameName of the scripture
power_costHow much power this scripture costs to use
recital_soundSound to play on finish
research_requiredIf this scripture requires research to be unlocked
tipTooltip shown on-hover. Keep to a few words
vitality_costHow much vitality this scripture costs to use

Procs

begin_invokeStart invoking a scripture, calling end_invoke() if it doesn't finish
check_special_requirementsCheck for any special requriements such as not having enough invokers, or not holding the slab
end_invokeEnd the invoking, nulling things out
invokeInvoke this scripture, checking if there's valid power and vitality
invoke_failOn failure of invoking the scripture
invoke_successOn success of invoking the scripture
recitalThe overall reciting proc for saying every single line for a scripture
reciteFor 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