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

Basic knowledge

#Eldritch Knwoledge

Datum that makes eldritch cultist interesting.

Eldritch knowledge aren't instantiated anywhere roundstart, and are initalized and destroyed as the round goes on.

Vars

banned_knowledgeWhat knowledge is incompatible with this. This will simply make it impossible to research knowledges that are in banned_knowledge once this gets researched.
costCost of knowledge in souls
descDescription of the knowledge
gain_textWhat shows up
nameName of the knowledge
next_knowledgeNext knowledge in the research tree
required_atomsUsed with rituals, how many items this needs
result_atomsWhat do we get out of this
routeWhat path is this on defaults to "Side"

Procs

cleanup_atomsUsed atom cleanup
on_eldritch_bladeSickly blade act
on_finished_recipeWhat happens once the recipe is succesfully finished
on_gainWhat happens when this is assigned to an antag datum
on_lifeWhat happens every tick
on_loseWhat happens when you loose this
on_mansus_graspMansus grasp act
recipe_snowflake_checkSpecial check for recipes

Var Details

banned_knowledge

What knowledge is incompatible with this. This will simply make it impossible to research knowledges that are in banned_knowledge once this gets researched.

cost

Cost of knowledge in souls

desc

Description of the knowledge

gain_text

What shows up

name

Name of the knowledge

next_knowledge

Next knowledge in the research tree

required_atoms

Used with rituals, how many items this needs

result_atoms

What do we get out of this

route

What path is this on defaults to "Side"

Proc Details

cleanup_atoms

Used atom cleanup

Overide this proc if you dont want ALL ATOMS to be destroyed. useful in many situations.

on_eldritch_blade

Sickly blade act

Gives addtional effects to sickly blade weapon

on_finished_recipe

What happens once the recipe is succesfully finished

By default this proc creates atoms from result_atoms list. Override this is you want something else to happen.

on_gain

What happens when this is assigned to an antag datum

This proc is called whenever a new eldritch knowledge is added to an antag datum

on_life

What happens every tick

This proc is called on SSprocess in eldritch cultist antag datum. SSprocess happens roughly every second

on_lose

What happens when you loose this

This proc is called whenever antagonist looses his antag datum, put cleanup code in here

on_mansus_grasp

Mansus grasp act

Gives addtional effects to mansus grasp spell

recipe_snowflake_check

Special check for recipes

If you are adding a more complex summoning or something that requires a special check that parses through all the atoms in an area override this.