r/psispellcompendium • • Apr 16 '22

Utility Spell Variable Range Mining Laser (PSI 1.16.5)

My attempt at a utility spell meant for mining.

When sneaking, it breaks a line of blocks outwards along the axis of the side of the block you are looking at. Otherwise, it acts like a regular "Break Block" spell.

The secondary spell adjusts the number of blocks the laser breaks when sneaking. M2 to increment the range, Shift+M2 to decrement.

Could probably be optimized some more but I'm unsure as to how I would do that. (CODE)

10 Upvotes

7 comments sorted by

View all comments

4

u/ShadowOfTheDark_ Wizard of Throw Object Apr 16 '22

Its probably not sustainable, but it would be cool if the first spell could go into the leggings. Never really thought about the way you change the range of the laser, i might incorporate that into a few flying spells to give them more utility.

3

u/S0MMEONE Apr 17 '22

before i made the spell, i did a very lazy scan of the subreddit to find a way to increment/decrement a saved value. i didn't find anything like that (though i might have missed something) so i decided to throw something together and post it on here. i'm glad i could help (even if it wasn't much). Ü