Page 1 of 1

Some older useful spells from the akashic archives

Posted: Fri Dec 09, 2022 5:58 am
by gchpaco
I felt it useful to have these older ones here, too. I did not write all or even most of these.

Kirin's Knitting Needle
sneaking spell, standing spell → spell
(KirinDave)

I've taken the trouble to transcribe my compiler for sneak trinkets. This makes it very easy to turn any pair of spells into a sneak trinket spell. It's written with simplicity of writing and use in mind.

To use this spell, put your "sneak" spell on the stack, then put your "standing" spell on the stack. Then put this spell on the stack, and call hermes. What's left on the stack is a compiled spell that is suitable for writing to a cypher, artifact, trinket, or spellbook (for use with CAD) that will cast the sneak spell while you're sneaking and the standing spell otherwise.

You cannot use this spell inside a trinket or cypher or whatever without extra work, but that is possible assuming you want to read the spells from foci dropped on the ground. I leave that version as an exercise for the hexxer.

I've written it inside an intro/retro pair to make sure to call out that you need to write consideration 4 times in a row.

The code is as follows:

IntrospectionNumerical Reflection: 2Flock's GambitConsiderationConsiderationConsiderationConsiderationJester's GambitNumerical Reflection: 2Flock's GambitIntrospectionMind's ReflectionStadiometer's PurificationNumerical Reflection: 1.5Maximus DistillationSelection DistillationHermes' GambitRetrospectionCombination DistillationRetrospection

If Pekhui is available, this change accommodates it.

IntrospectionNumerical Reflection: 2Flock's GambitConsiderationConsiderationConsiderationConsiderationJester's GambitNumerical Reflection: 2Flock's GambitIntrospectionMind's ReflectionStadiometer's PurificationNumerical Reflection: 1.5Mind's ReflectionaawawwawwaMultiplicative Dstl.Maximus DistillationSelection DistillationHermes' GambitRetrospectionCombination DistillationRetrospection

Kirin's Ruler
(KirinDave)

This is a spell that I use to construct "vector fields". Vector fields are just points in space relative to [0,0,0]. This is very useful when you want to do something repetitive at a point in space but you don't know where that point in space is yet. For example, you might want to raycast to farmland and grow it it in a 3x3 space, or conjure a bubble of blocks around a monster.

To use this spell, put it in a trinket (you cannot use it via a CAD trinket from a spellbook!), then:

1. Put an empty list in a focus and hold it in offhand.
2. Place your Sentinel (normal is fine) somewhere. That is [0,0,0].
3. Right click the trinket on a block relative to the sentinel, it will be added to the focus's list.
4. Duplicates will be removed, so don't worry about accidentally clicking part of your world twice.

Remember, you get style points if you name the trinket "Kirin's Ruler."

(Thanks go to inkoate for catching the transcription error, and gchpaco for catching a sign bug)

Scribe's ReflectionLocate SentinelMind's ReflectionCompass' PurificationMind's ReflectionAlidade's PurificationArcher's DistillationJester's GambitSubtractive DistillationRevealSpeaker's DistillationUniqueness PurificationScribe's Gambit

Running Stitch
spell... → spell
(gchpaco)

This is a fairly simple hex-making hex. Put on the stack all the bits you want, in the order you want them in. Cast this. You will now have one hex that is all the previous ones concatenated. Works on any number of components.

Flock's ReflectionFlock's GambitIntrospectionFlock's DisintegrationRetrospectionJester's GambitThoth's Gambit

Reify
iota → spell
(gchpaco)

This is something I made after KirinDave noted that consideration works. Due to the same constraints as with the "knitting needle", I'm displaying in intro/retro pairs to emphasize the four considerations in a row.

This isn't something you want in a trinket, but it's useful in a spellbook. Have an iota on the stack, run this, and it assembles it into a hermes-able program to push that iota onto the stack, that you can then stitch together with other spells.

IntrospectionSingle's PurificationConsiderationConsiderationConsiderationConsiderationSpeaker's DistillationRetrospection

Stygian Loom
any..., spell → spell
(SnazzGass)

Turns any spell into a stygian spell that leaves no garbage on the stack.

Flock's ReflectionFlock's GambitIntrospectionNumerical Reflection: 5Selection DistillationFlock's DisintegrationHermes' GambitCharon's GambitRetrospectionJester's GambitIntegration Distillation

Counter's Queue
num → list
(MachiToons)

Returns a list of integers from 0 up to num.

IntrospectionHuginn's GambitIntrospectionFlock's DisintegrationRetrospectionIntrospectionGemini DecompositionAbacus PurificationIntegration DistillationRetrospectionMuninn's ReflectionGemini GambitMuninn's ReflectionFlock's GambitThoth's GambitVacant ReflectionJester's GambitHermes' GambitRetrospection

An alternate that consumes more executions but does not overwrite the ravenmind:

IntrospectionJester's GambitGemini GambitRetrospectionIntrospectionGemini DecompositionAbacus PurificationIntegration DistillationRetrospectionSingle's PurificationThoth's GambitaeIntrospectionFlock's DisintegrationRetrospectionJester's GambitThoth's GambitVacant ReflectionJester's GambitHermes' Gambit

Uncapped Counter's Queue
num → list
([object Object], Rastaban)

A modification of MachiToons' Counter's Queue that only consumes one evaluation.

Flock's ReflectionFlock's GambitRetrograde PurificationSpeaker's DecompositionJester's GambitMuninn's ReflectionSpeaker's DistillationHuginn's GambitIntrospectionFlock's ReflectionRetrospectionNumerical Reflection: 0Selection DistillationJester's GambitGemini GambitFlock's ReflectionFlock's GambitHermes' GambitFlock's ReflectionFlock's GambitMuninn's ReflectionSpeaker's DecompositionHuginn's GambitJester's GambitSpeaker's DistillationRetrograde PurificationFlock's Disintegration

Re: Some older useful spells from the akashic archives

Posted: Sun Dec 11, 2022 3:02 am
by Robotgiggle
Here's an updated version of Kirin's Knitting Needle that works in 0.10.x versions of the mod. It should be used exactly the same as the original Knitting Needle spell – put the sneak spell on the stack, then the standing spell, then this, and then cast hermes.

Introspection Consideration Consideration Consideration Consideration Rotation Gambit II Consideration Consideration Consideration Consideration Jester's Gambit Numerical Reflection: 4 Flock's Gambit Introspection Mind's Reflection Stadiometer's Purification Numerical Reflection: 1.5 Minimus Distillation Rotation Gambit II Augur's Exaltation Hermes' Gambit Retrospection Combination Distillation Retrospection

Knitting Needle, again

Posted: Sun Dec 11, 2022 3:29 am
by [object Object]
Here's another updated version of Kirin's Knitting Needle for 0.10.x, except this one's 4 patterns shorter.

Code: Select all

{
    Numerical Reflection: 2
    Flock's Gambit
    {
        Mind's Reflection
        Stadiometer's Purification
        Numerical Reflection: 1.5
        Minimus Distillation II
        {
            Bookkeeper's Gambit: -
        }
        Flock's Disintegration
        Flock's Disintegration
        Augur's Exaltation
        Hermes' Gambit
    }
    Numerical Reflection: 5
    Rotation Gambit
    Surgeon's Exaltation
}
qqqNumerical Reflection: 2ewdqdweqqqqaqawqNumerical Reflection: 1.5qqqqqBookkeeper's Gambit: Keep 1eeeqwaeawqqwaeawqawdddeaqqeeeNumerical Reflection: 5aaeaawqaeaqweee

Uncapped Counter's Queue II

Posted: Mon Dec 12, 2022 10:39 pm
by [object Object]
Uncapped Counter's Queue II
numlist
Like Uncapped Counter's Queue above, but uses 3 fewer patterns (6 if you don't need to preserve the ravenmind) in exchange for using two recursion levels instead of one.

Code: Select all

{
    // optional: save previous ravenmind
    // omit if you don't need the previous ravenmind
    Muninn's Reflection
    
    Vacant Reflection
    Rotation Gambit // replace with Jester's Gambit if you didn't save the ravenmind above
    Dioscuri Gambit
    Huginn's Gambit
    
    {
        Gemini Decomposition
        Abacus Purification
        Integration Distillation
    }
    Rotation Gambit
    Gemini Gambit

    {
        Combination Distillation
    }
    Flock's Disintegration

    Muninn's Reflection
    Gemini Gambit
    Muninn's Reflection
    Flock's Gambit

    Hermes' Gambit
    Hermes' Gambit

    // optional: restore previous ravenmind
    // omit if you don't need the previous ravenmind
    Jester's Gambit
    Huginn's Gambit
}
qqqqeewdweddwqqaeaaeaaeaaaadadaaweqqwawqaawqqqaadaaaqaeaqedqdeeeeaaeaaaadaadaaqqqqaeaqeeeqwaeawqqeewdweddwaadaadaaqeewdweddwewdqdwedeaqqdeaqqaawddeqqwawqaaweee