I’m making a one piece game and I want to save the character’s skill trees. How would I go about doing this? I have multiple skill trees, for example: Melee, haki, devilfruit, etc.
The devilfruit skill tree would need to be different for every devilfruit. I’m not sure how I would save this information. Is it possible to save models? I was thinking of trying to save the skill tree model but I’m not sure if that would work well.
Save them like this, i dont watch anime so change it to whatever it should be.
local SkillTree = {
Skill1 = {
Name = "Skill1";
Level = 1; --and continue on, add items to the table by looping through where you save the skill tree
}
}
I don’t really have specific experience with skill trees but what I think I would do is to save the names or ids or whatever of the skills and then just load the skill tree and models when the player joins.