Mod:Knightcore/MonsKC: Difference between revisions
Created page with "{{stub}} The following functions are found in the <code>MonsKC.lua</code> file in Knightcore. These functions can be called from other lua script files by including the line <code>require 'knightcore.MonsKC'</code>, and then called with the prefix <code>MonsKC</code>. == MakeID == Generates a monster ID from the specified parameters. == MakeAndAddToParty == Create a mon and add them to the party in the last open slot. == MakeAndAddToPartyID == Crea..." |
No edit summary |
||
| Line 14: | Line 14: | ||
Create a mon and add them to the party in the last open slot, with appropriate flags for a permanent leader character. | Create a mon and add them to the party in the last open slot, with appropriate flags for a permanent leader character. | ||
== SetUpPlayerID = | == SetUpPlayerID == | ||
Create a mon and add them to the party in the last open slot from a MonsterID, with appropriate flags for a permanent leader character. | Create a mon and add them to the party in the last open slot from a MonsterID, with appropriate flags for a permanent leader character. | ||
Revision as of 19:29, 30 September 2025
The following functions are found in the MonsKC.lua file in Knightcore. These functions can be called from other lua script files by including the line require 'knightcore.MonsKC', and then called with the prefix MonsKC.
MakeID
Generates a monster ID from the specified parameters.
MakeAndAddToParty
Create a mon and add them to the party in the last open slot.
MakeAndAddToPartyID
Create a mon and add them to the party in the last open slot from a MonsterID.
SetUpPlayer
Create a mon and add them to the party in the last open slot, with appropriate flags for a permanent leader character.
SetUpPlayerID
Create a mon and add them to the party in the last open slot from a MonsterID, with appropriate flags for a permanent leader character.
SetUpPartner
Create a mon and add them to the party in the last open slot, with appropriate flags for a permanent partner character.
SetUpPartnerID
Create a mon and add them to the party in the last open slot from a MonsterID, with appropriate flags for a permanent partner character.
