Skip to content

Releases: CG-Nik/CustomSkillsAPI

v5

Choose a tag to compare

@CG-Nik CG-Nik released this 06 Sep 15:42

CHANGES

  • Added methods: FixProfessionSkillInspectorValues, AddProfessionSkill, and AddProgressionSlot

MOD DEVELOPER NEEDED CHANGES

  • Technically none, but I suggest using these new methods

v4

v4

Choose a tag to compare

@CG-Nik CG-Nik released this 09 Aug 19:42

CHANGES

  • Added hooks: PreSetUpProgressionSlots, PostSetUpProgressionSlots, PostAddProgressionSlots, PostAddInherits

MOD DEVELOPER NEEDED CHANGES

  • None

v3

v3

Choose a tag to compare

@CG-Nik CG-Nik released this 08 Aug 20:28

CHANGES

  • Added a thing that automatically handles AddProgressionSlots and AddInherits for mods
  • Also removed both of those hooks, as they’re obsolete
  • Added a function that mods can call that automatically adds ProfessionSkills to the list of ProfessionSkills that the game has

MOD DEVELOPER NEEDED CHANGES

  • progressionSlots.Add() should be changed to CustomSkillsAPI.Core.progressionSlots.Add()
  • Remove the AddProgressionSlots and AddInherits hooks, CustomSkillsAPI handles it for you now
  • Replace ProfessionSkill.CheckItems(); Dictionary<uint, ProfessionSkill> items = (Dictionary<uint, ProfessionSkill>)typeof(HashedGeneralValue<ProfessionSkill>).GetField("items", BindingFlags.Static | BindingFlags.NonPublic).GetValue(null); items.Add(customSkill.Hash, customSkill); (where customSkill is a ProfessionSkill) with CustomSkillsAPI.Core.RegisterProfessionSkill(customSkill);

v2

v2

Choose a tag to compare

@CG-Nik CG-Nik released this 01 Aug 17:53
  • Made the mod log "Initialized." in the console when it gets Initialized

v1

v1

Choose a tag to compare

@CG-Nik CG-Nik released this 31 Jul 19:35
7fe802a
  • Released the mod