Overhauls heretic rituals slightly for better user feedback (and to help locate a bug) (#65223)

This commit is contained in:
MrMelbert
2022-03-04 03:15:12 -08:00
committed by GitHub
parent 8cc98ea037
commit 3a2bd5516d
15 changed files with 312 additions and 159 deletions
+3 -3
View File
@@ -68,9 +68,9 @@
// Now, we can ACTUALLY run the ritual. Let's do it.
// Attempt to run the knowledge via the sacrifice rune.
// If do_rituals() returns FALSE with our knowledge, it messed up.
// If do_rituals() returns TRUE, then it was successful.
if(!our_rune.do_rituals(our_heretic, list(knowledge)))
// If do_ritual() returns FALSE with our knowledge, it messed up.
// If do_ritual() returns TRUE, then it was successful.
if(!our_rune.do_ritual(our_heretic, knowledge))
// We failed. The knowledge should have everything to succeed, yet it returned FALSE!
// Clean up the atoms it was meant to consume, so we can keep testing.
for(var/atom/leftover as anything in created_atoms)