Some commonly used spells i thought deserved to be here
Posted: Mon Dec 12, 2022 3:22 pm
Here are some commonly used spells ive thrown together and attempted to make as mishapless as possable.
Break Block:
costs 2 media
breaks the block your looking at if there is one to break
Summon Light:
costs 4 media
places a conjured light on the surface your looking at and replaces and transparent blocks
(warning this last one is untested)
Hammer:
costs 28 media
breaks a 3x3x3 area around the block the player is looking at
Break Block:
costs 2 media
breaks the block your looking at if there is one to break
Code: Select all
//inital raycast
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
Gemini Gambit
Huginn's Gambit
//test if ray hit
Nullary Reflection
Inequality Distillation
Augur's Purification
//to be cast when there is a hit
{
Muninn's Reflection
Break Block
}
//to be cast when not hit
{
}
//cast the correct spell based off of ray result
Augur's Exaltation
Hermes' Gambit
costs 4 media
places a conjured light on the surface your looking at and replaces and transparent blocks
Code: Select all
//inital raycast
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
Gemini Gambit
Huginn's Gambit
//test if ray hit
Nullary Reflection
Inequality Distillation
Augur's Purification
//to be cast when= hit
{
Muninn's Reflection
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Architect's Distillation
Additive Distillation
Gemini Decomposition
Break Block
Conjure Light
}
//to be cast when not hit
{
}
//cast the correct spell based off of ray result
Augur's Exaltation
Hermes' Gambit
Hammer:
costs 28 media
breaks a 3x3x3 area around the block the player is looking at
Code: Select all
//inital raycast
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
Gemini Gambit
Huginn's Gambit
//test if ray hit
Nullary Reflection
Inequality Distillation
Augur's Purification
//to be cast when there is a hit
{
//cycle through all vectors in list and break the block that was hit by raycast offset by said vector
{
Muninn's Reflection
Additive Distillation
Break Block
}
Consideration: Consideration [(-1,-1,-1),(0,-1,-1),(1,-1,-1), (-1,-1,0),(0,-1,0),(1,-1,0), (-1,-1,1),(0,-1,1),(1,-1,1), (-1,0,-1),(0,0,-1),(1,0,-1), (-1,0,0),(0,0,0),(1,0,0), (-1,0,1),(0,0,1),(1,0,1), (-1,1,-1),(0,1,-1),(1,1,-1), (-1,1,0),(0,1,0),(1,1,0), (-1,1,1),(0,1,1),(1,1,1)]
Thoth's Gambit
//clear stack if for some reason this is being cast by a wisp
Bookkeeper's Gambit: v
}
//to be cast when not hit
{
}
//cast the correct spell based off of ray result
Augur's Exaltation
Hermes' Gambit