Continued Godot Journey: Generalise, Generalise, Generalise · 9:59pm March 23rd
So, yeah, spend another few to too many hours on stuff in Godot. Focused mainly in rewriting the command input interpretation for specific reasons:
Generalisation and edgecase-safe structure.
Yay, like a real programmer! (I think)
As I mentioned in my other post, I had made sure that costumisable short-cuts work (for example: twilight as t, fluttershy as f). However, you could only chose/give command to one hero. Well, now I restructured it that one can select as many as there are available! Yay!
I'm pretty sure some actual programmers reading this would shake their head for me getting excited to get this simple feature to work, but for me it's a great step
Still, I consider to also add shortcuts for whole commands (for example: "twilight move up" as "tu", and I have the assumption that I just have to use recursion or some sort. But let's see where this journey will go