Page 1 of 1

Some Mote spells

Posted: Tue May 02, 2023 6:53 am
by stevebutnottoomany
A couple of spells for working with Hexal's Motes. A mote is a mediafied item, stored in a mote nexus. A mote holds a particular item type up to pretty much whatever value you like, but a mote nexus can only hold 1023 motes. Each time you mediafy an item you end up with a new mote, but motes of the same type can be combined, to avoid filling up the nexus.

The first spell is an improved mediafy, that mediafies an item, then stacks the mote with any existing mote of the same type. To do this without eating iterations we utilize a particular behaviour of motes - if you attempt to stack two copies of the same mote, you just get the same mote. So we mediafy our item, get a list of all motes with matching itemtype, then stack the first and last mote of the list. You can then use this spell whenever mediafying items and never need to worry about filling up the nexus. This section of spell expects an item entity on the stack.

Code: Select all

{
    Mediafy Item
    Stocktake Purification
    Gemini Decomposition
    Numerical Reflection: 0
    Selection Distillation
    Jester's Gambit
    Gemini Decomposition
    Abacus Purification
    Numerical Reflection: 1
    Subtractive Distillation
    Selection Distillation
    Stacking Distillation
    Bookkeeper's Gambit: \/
}
qqq eaqa aweeeeewaaww aadaa Numerical Reflection: 0deeedaawddaadaaaqaeaqNumerical Reflection: 1wddwdeeedaqaeqdedBookkeeper's Gambit: Drop 1eee

The next spell is an example usecase for motes - Making recharging casting items less tedious. The idea is to mediafy a bunch of charged amethyst (or shards if you prefer), pull a stack of them out of the nexus, use them to recharge our item, and then banish anything left over back to the nexus. So no need to go into your inventory and throw amethyst on the floor anymore. Here's this spell in action: https://imgur.com/a/mWuOEf7

Code: Select all

{
    Mind's Reflection
    Compass' Purification
    Mind's Reflection
    Alidade's Purification
    Archer's Distillation
    Mind's Reflection
    Compass' Purification
    Mind's Reflection
    Alidade's Purification
    Architect's Distillation
    Plus
    Numerical Reflection: 3
    Gemini Gambit
    Consideration: Consideration: Itemtype: Charged amethyst
    Stocktake Purification
    Numerical Reflection: 0
    Selection Distillation
    Numerical Reflection: 64
    Splitting Gambit
    Bookkeeper's Gambit: v-
    Jester's Gambit
    Return Item
    Numerical Reflection: 1
    Entity Purification: Item
    Numerical Reflection: 0
    Selection Distillation
    Recharge Item
    Numerical Reflection: 1
    Zone Distillation: Item
    Numerical Reflection: 0
    Selection Distillation
    Macro: Improved Mediafy
}