3x3 Hammer

Post your coolest Hexcasting creations here.

New topics are NOT for chatting or asking help, put those in the comments of a post or in a different forum.
gchpaco
Posts: 7
Joined: Sun Dec 04, 2022 11:39 pm

3x3 Hammer

Post by gchpaco »

This is my most used spell, ever. It breaks a 3x3 pattern around whatever block you look at, or larger if you so wish.

First, make a 3x3x3 vector field with Kirin's Ruler from viewtopic.php?t=14 . You can make it larger or smaller to enlarge or shrink the effect, but I find 3x3 to be the magic size. Arrange for it to be on the stack, either by Reify from the same, or using the Stygian techniques. This will demo the latter, but for a trinket I usually use the former.
begin Stygian preparation; omit for trinkets with Reify
Retrograde PurificationSpeaker's DecompositionBookkeeper's Gambit: Drop 1, Keep 1
end Stygian preparation
Mind's ReflectionCompass' PurificationMind's ReflectionAlidade's PurificationDioscuri GambitArcher's DistillationRotation Gambit IIArchitect's DistillationNumerical Reflection: 2Flock's GambitHuginn's GambitIntrospection
Gemini DecompositionMuninn's ReflectionFlock's DisintegrationRotation GambitMultiplicative Dstl.Augur's PurificationNegation Purification
Rotation Gambit IIAdditive DistillationGemini DecompositionGemini DecompositionVector Reflection +YArcher's DistillationEquality DistillationRotation Gambit
Conjunction DistillationIntrospectionBreak BlockRetrospectionIntrospectionBookkeeper's Gambit: Drop 1RetrospectionAugur's ExaltationFlock's DisintegrationHermes' Gambit
RetrospectionJester's GambitThoth's GambitCharon's Gambit
begin Stygian data segment
put vector field here
end Stygian data segment
The structure of the loop is: for each position, if its dot product with the user's look vector is zero, and there is a block there, break it. Block presence is tested by raycasting in the +Y direction and checking if it is equal. The hammer can be made larger or smaller by adjusting the vector field used. I recommend not attempting to write this until you have a focus or ideally several.

If desired, you can alter the Break Block section to do more involved operations. I have a variant with Gemini DecompositionBreak BlockPlace Block for exchanging blocks; if you do more than one symbol, delete the Flock's Disintegration between Augur's Exaltation and Hermes' Gambit.