class ritual {
string name;
string family;
int base_gp_cost;
int * align;
int targets;
class stage * stages;
int pk_check;
int teach_base;
int learn_base;
string training_skill;
int movement;
int speech;
int vision;
string * materials , * consumables;
function target_check;
string resist_skill;
string help;
int offensive;
object caster;
object imbue;
object * rit_targets;
object * resistors;
int current_stage;
int start_time;
int target_count;
function valid;
int degree;
string deity;
mapping difficulties;
mapping benefits;
}
class stage {
int key;
string * messages;
string skill;
int level;
string * materials;
string * consumables;
int pause;
int time_modifier;
function success_func;
string prayer;
int imbue_source;
}