This is a spell I made to help with looping through an arbitrarily sized 3d area, but it can probably be used and done in a lot smarter ways.
It takes any number N and pushes a list with all values -n through n to the Ravenmind.
Vector Offest Purification (num -> list)
A more detailed explanation of what happens is in the hexcode:
This is the actual list manipulation stuff:
This is detecting if it needs to stop or not:
this is it executing itself and cleaning up after itself:
and ending:
Code: Select all
{
//main function
{
//recursion starter and list maker
Muninn's Reflection
Gemini Decomposition
//check if the ravenmind is empty, pushing false and rotating the stack
Augur's Purification
Jester's Gambit
//getting the provided N for if the ravenmind IS empty and turning it
//into the start of our list
Flock's Reflection
Numerical Reflection: 1
Subtractive Distillation
Fisherman's Gambit II
Numerical Reflection: -1
Multiplicative Distillation
Single's Purification
//if that handles the selection
Augur's Exaltation
//taking the last element of the list and adding one
Gemini Decomposition
Gemini Decomposition
Abacus Purification
Numerical Reflection: 1
Subtractive Distillation
Selection Distillation
Numerical Reflection: 1
Additive Distillation
Integration Distillation
//pushing that list to the ravenmind
Huginn's Gambit
//grab the list from the Ravenmind
Muninn's Reflection
//check if it is as long as it needs to be ((n*2)+1) length
Gemini Decomposition
Abacus Purification
Flock's Reflection
Numerical Reflection: 1
Subtractive Distillation
Fisherman's Gambit II
Numerical Reflection: 2
Multiplicative Distillation
Numerical Reflection: 1
Additive Distillation
Equality Distillation
//if it is long enough, stop iteration
{
Charon's Gambit
}
//else, continue
Flock's Reflection
Numerical Reflection: 2
Subtractive Distillation
Fisherman's Gambit II
//if
Augur's Exaltation
//execute the above
Hermes' Gambit
}
//setting up iteration
Gemini Decomposition
//starting iteration
Hermes' Gambit
//cleaning up after itself
Bookkeeper's Gambit: vv
}
}
...insert stuff from above
Code: Select all
//omitted portion, see above snippet
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
{
{
{
//constructing a vector offset
Vector Exaltation
//grabbing the block vec
Prospector's Gambit
//applying the offset
Additive Distillation
//placing a light because magic torchspam
Conjure Light
}
Muninn's Reflection
Thoth's Gambit
Jester's Gambit
Bookkeeper's Gambit: v
}
Muninn's Reflection
Thoth's Gambit
Jester's Gambit
Bookkeeper's Gambit: v
}
Muninn's Reflection
Thoth's Gambit