🎃LAB-SKILLS
Documentation
Creating a new skill.
{
skill = "StarterSkill",
skillName = "Starter Skill",
skillDescription = "When you unlock this skill, your stamina will decrease by 5.5%.",
skillPoint = 0,
skillGif = "https://cdn.discordapp.com/attachments/937806670434795560/937814995662692362/ezgif-7-cf86930ba5.gif",
BeforeOpenSkill = "",
AfterOpenSkills = "HealthSkill1",
AfterOpenSkills2 = "StaminaSkill1",
SkillEffects = {},
marginTop = 20, -- in Nui Coords (%)
marginLeft = 2, -- in Nui Coords (%)
iconName = "starterskill",
},
skill => Here you set a name for your skill, this part is not the visible part, it will only be useful for us at the junction point with other skills and so on.
skillName => This is the part you give to the skill, so you can write whatever you want here in the visible part.
skillDescription => The description of your skill that will appear on the skill screen
skillPoint => The point level required to unlock the skill you have set.
skillGif => If you do not define a gif that will identify the skill you have specified, a gif called unkown will come.
BeforeOpenSkill => It allows you to check whether the previous skill has already been unlocked or not, and other controls. If it is the first skill start, you can leave this blank.
AfterOpenSkills => When the skill is unlocked, you must enter the name/id of the "skill" you want it to be linked to in order for it to be linked to the next skill.
AfterOpenSkills => If you want your skill to be connected to the next 2nd skill, just enter the id/name of the skill.
SkillEffects => If you add the features I have presented in the category of which skills to use and how to use them to your skills, when you unlock the skill, those features will come with it.
marginTop / marginLeft => You can specify where you want it to be located on the screen, up and down.
iconName => You can set the icon of the skill by typing the icon name you put in the icon file.
Last updated