[Script Resource] Class Info - A lua database of Character Class information

[github.com]

Description

Usage

classInfo, like itemInfo, is a resource for scripts that need data about base game classes which is otherwise inaccessible in the current version of tes3mp. It consists of a lua table containing all the information on every vanilla class (bar NPC classes, for now) and some functions for retrieving the information as well as some related info.classInfo needs to bed somewhere in a script that wishes to utilise it. Here are some of the more useful functions - see the file itself for all those that are available:- returns a table of information on the provided player's class (regardless of whether it's a custom class or a default one).- returns a table of information on the provided default class.- returns the attribute id of the attribute that governs the skill.- returns the name of the specialization that has the provided specialization id (e.g. 0 returns "Combat")