SPLURT Station 13 - Modules - TypesVar Details - Proc Details

eldritch_knowledge

#Eldritch Knowledge

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"
sacs_neededRequired sacrifices to unlock

Procs

cleanup_atomsUsed atom cleanup
on_deathA proc that handles the code when the mob dies
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
on_ranged_attack_eldritch_bladeSickly blade distant 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"

sacs_needed

Required sacrifices to unlock

Proc Details

cleanup_atoms

Used atom cleanup

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

on_death

A proc that handles the code when the mob dies

This proc is primarily used to end any soundloops when the heretic dies

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

on_ranged_attack_eldritch_blade

Sickly blade distant act

Same as /datum/eldritch_knowledge/proc/on_eldritch_blade but works on targets that are not in proximity to you.

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.