so we've been playing skyblock with trickster recently, and now we finally have a supply of iron with which to make hoppers
so we decided it's time to automate some basic block generation
so we made a spell that will try to dig the block we're looking at, and pass that position to further iterations, and then recurse (with a small delay incase the dig was unsuccessful, though that's probably not necessary)
and now we have an automated cobble farm :3
it uses one of our spell slots, so it'll stop when we die (but we stored it in a wand so that's fine), and it'll take some mana from our necklace every time it breaks the block
before we were wanting to make a gold farm so that we can trade for quartz and make tuff for a spell construct and recharging pads. but this is much simpler,, :3
@transoptimal @enjarai oohh this sounds so cool. I don’t know much about Trickster at all but it sounds just as mind-bending as regular functional programming lol
how does the mana system in Trickster work? does it recharge over time?
also what does Trickster code look like?
I hope you don’t mind the questions! I’m pretty curious about it
mana is stored in items and there's a necklace that will regen it while you're wearing it (so you can only have one at a time). the others recharge in moonlight, or have special behaviour in a few cases
the mod page has an example of a program, that's what code looks like here. the big circle specifies what function to call on the values of the subcircles when they're done evaluating; in this case the only subcircle is one that selects betwee two arguments based on its first argument
you can zoom in and out with keybinds, which is the main reason we decided to try out the mod when we did to begin with (we were basically waiting for that to happen)
yeah we dont mind :3
also the symbols that you can draw directly are always a single path, so you can't have something like two disconnected pieces (without glyph-manipulating metaprogramming)
@transoptimal oohh okay I think this makes sense! so it sounds like Trickster is kind of like Lisp? in that everything is either a function or an argument for a function, and it’s all one big tree structure
also omg I thought that that picture was just like a cool magic-y design that they made! that’s wild that that’s actually code
@kasdeya theres a mod that basically lets you translate lisp code into trickster spells, so yeah :3
yeah the picture is a spell. if we knew more of the glyphs (we only remember the ones we've used much) and the picture had wayyy higher resolution we would've been able to read it :3