grand_ritual
The Grand Ritual is the Wizard's alternate victory condition and also a tool to make funny distractions and progress the round state.
The wizard is assigned a random area to perform the ritual in. This entails travelling to that area, drawing a 3x3 rune, and casting on it for a while. Completing these causes a random event to immediately occur and may cause additional side effects in the area. The more rituals are completed, the more dramatic the events which can be spawned.
After passing certain thresholds Grand Ritual completions will begin spawning active and expended Reality Tears. Above a certian threshold, beginning the ritual will alert the crew to your location.
The 7th ritual completion is special and allows you to pick a "finale" effect which should be very dramatic. Further completion after that returns to the usual behaviour.
Vars | |
area_blacklist | Areas where you can't be tasked to draw a rune, usually because they're too mean |
---|---|
area_whitelist | Areas where you can place a rune To be honest if maintenance subtypes didn't exist I could probably have got away with just a blacklist, c'est la vie |
blacklisted_rune_turfs | A blacklist of turfs we cannot scribe on. |
drawing_rune | True while you are drawing a rune, prevents action spamming |
drew_finale | If you have drawn your finale rune |
rune | Weakref to a rune drawn in the current area, if there is one |
target_area | Path to area we want to draw in next |
times_completed | Number of times the grand ritual has been completed somewhere by this user |
total_cheese_goal_met | Whether we have sacrificed enough cheese or not |
total_cheese_sacrificed | Number of cheese sacrificed on previously drawn runes |
Procs | |
draw_rune | Draws the ritual rune |
get_appropriate_rune_typepath | The seventh rune we spawn is special |
get_pinpoint_text | Compare positions and output information. Similar to heretic target locating. But simplified because we shouldn't be able to target locations on lavaland or the gateway anyway. |
on_rune_complete | Called when you finish invoking a rune you drew, get ready for another one. |
pinpoint_area | Pinpoints the ritual area |
set_new_area | Finds a random station area to place our rune in |
start_drawing_rune | Checks if you're actually able to draw a rune here |
validate_area | If the target area doesn't exist or has been invalidated somehow, pick another one |
Var Details
area_blacklist
Areas where you can't be tasked to draw a rune, usually because they're too mean
area_whitelist
Areas where you can place a rune To be honest if maintenance subtypes didn't exist I could probably have got away with just a blacklist, c'est la vie
blacklisted_rune_turfs
A blacklist of turfs we cannot scribe on.
drawing_rune
True while you are drawing a rune, prevents action spamming
drew_finale
If you have drawn your finale rune
rune
Weakref to a rune drawn in the current area, if there is one
target_area
Path to area we want to draw in next
times_completed
Number of times the grand ritual has been completed somewhere by this user
total_cheese_goal_met
Whether we have sacrificed enough cheese or not
total_cheese_sacrificed
Number of cheese sacrificed on previously drawn runes
Proc Details
draw_rune
Draws the ritual rune
get_appropriate_rune_typepath
The seventh rune we spawn is special
get_pinpoint_text
Compare positions and output information. Similar to heretic target locating. But simplified because we shouldn't be able to target locations on lavaland or the gateway anyway.
on_rune_complete
Called when you finish invoking a rune you drew, get ready for another one.
pinpoint_area
Pinpoints the ritual area
set_new_area
Finds a random station area to place our rune in
start_drawing_rune
Checks if you're actually able to draw a rune here
validate_area
If the target area doesn't exist or has been invalidated somehow, pick another one