Page 1 of 1

Bridging Wisp

Posted: Sun Apr 23, 2023 12:29 am
by beholderface
A fairly straightforward hex that summons a wisp which conjures blocks to make a bridge in the (axial) direction you're looking. Doesn't work quite as well going down, since the conjured block gets in the way of the wisp's movement, but you can stand on the blocks and break them to descend safely (just make sure to cast it again every so often, the wisp only has so much media). It works just fine going up, but it moves too quickly for you to be able to climb the pillar as it's being built.

With the 20 dust provided by this version of the code, the wisp will produce 17 blocks before running out of media. Each additional 10 dust will add ~9 blocks to that.

Demonstration video

Code: Select all

//wisp pattern list
{
    Numerical Reflection: 1
    Haste
    //reset wisp stack
    Flock's Reflection
    Flock's Gambit
    Bookkeeper's Gambit: v
    //raycast downwards, if result is null or further than one block away, conjure a block below wisp
    Identity Reflection
    Compass' Purification
    Gemini Decomposition
    Vector Reflection -Y
    Archer's Distillation
    Gemini Decomposition
    Augur's Purification
    {
        Subtractive Distillation
        Length Purification
        Numerical Reflection: 1
        Maximus Distillation
    }
    //if false, return true
    {
        True Reflection
    }
    Flock's Disintegration
    Augur's Exaltation
    Hermes' Gambit
    //if true, conjure block below wisp
    {
        Identity Reflection
        Compass' Purification
        Vector Reflection -Y
        Additive Distillation
        Conjure Block
    }
    //if false, do nothing
    Vacant Reflection
    Augur's Exaltation
    Hermes' Gambit
    //move further along path
    Identity Reflection
    Compass' Purification
    {
        //placeholder for embedding axial vector
        Bookkeeper's Gambit: -
    }
    Flock's Disintegration
    Additive Distillation
    Pathfinder's Gambit
    Wander
}
//swap placeholder with axial vector
Gemini Decomposition
{
    Bookkeeper's Gambit: -
}
Flock's Disintegration
Locator's Distillation
Mind's Reflection
Alidade's Purification
Axial Purification
Surgeon's Exaltation
//summon wisp
Mind's Reflection
Compass' Purification II
Vector Reflection +Y
Numerical Reflection: 2
Division Distillation
Additive Distillation
Mind's Reflection
Alidade's Purification
Axial Purification
Additive Distillation
Numerical Reflection: 20
Summon Cyclic Wisp

Re: Bridging Wisp

Posted: Sun Apr 23, 2023 12:59 am
by beholderface
Second version because I messed up the first one's logic and it was no better than just trying to conjure below the wisp without checking anything:
Should be usable in the exact same way as the first one, it just won't mishap when going over blocks.

Code: Select all

//wisp pattern list
{
    Numerical Reflection: 1
    Haste
    //reset wisp stack
    Flock's Reflection
    Flock's Gambit
    Bookkeeper's Gambit: v

    Identity Reflection
    Compass' Purification
    Vector Reflection -Y
    Additive Distillation
    Sorter's Purification
    Gemini Decomposition
    Gemini Decomposition
    {
        //embedded iotas: block type water, block type lava
    }
    Flock's Disintegration
    Rotation Gambit
    Equality Distillation
    Rotation Gambit II 
    Equality Distillation
    Disjunction Distillation
    Jester's Gambit
    Augur's Purification
    Negation Purification
    Disjunction Distillation
    {
        Identity Reflection
        Compass' Purification
        Vector Reflection -Y
        Additive Distillation
        Conjure Block
    }
    Vacant Reflection
    Augur's Exaltation
    Hermes' Gambit

    //move further along path
    Identity Reflection
    Compass' Purification
    {
        //placeholder for embedding axial vector
        Bookkeeper's Gambit: -
    }
    Flock's Disintegration
    Additive Distillation
    Pathfinder's Gambit
    Wander
}
//swap placeholder with axial vector
Gemini Decomposition
{
    Bookkeeper's Gambit: -
}
Flock's Disintegration
Locator's Distillation
Mind's Reflection
Alidade's Purification
Axial Purification
Surgeon's Exaltation
//summon wisp
Mind's Reflection
Compass' Purification II
Vector Reflection +Y
Numerical Reflection: 2
Division Distillation
Additive Distillation
Mind's Reflection
Alidade's Purification
Axial Purification
Additive Distillation
Numerical Reflection: 20
Summon Cyclic Wisp