I'm new to scripting for emulation and I don't really know how to actually implement the code and link it to an NPC or event etc, but I'm sure I wouldn't have an issue once I get past that as I've been writing C based code for years.
What I actually need to do is make it so that when you talk to an NPC, it has normal text and a bunch of dialog options. What I'm doing is adding 'paths' for the player, and the NPC should give the player all the paths to choose from (Alchemist, Psychic, Tinker, etc...) and then when the player selects a path, it should teach them a bunch of specified spells, give them a set of items, and consume the 'Path Token' item so they can't select more than one path. If you need more info on this just let me know.
I know it's a stretch, but if it were possible to actually RECORD the player's path once chosen for later reference that would be perfect.
Additionally, I need to replace all player resources (mana, energy, etc) with a single resource. Possibly mana. If I were able to make the resource based on the selected path that would be ideal but it's not essential.
Thanks all