Mod:Knightcore/Knightcore

From PMDOWiki
Revision as of 19:23, 30 September 2025 by Imbion (talk | contribs) (Created page with "{{stub}} The following functions are found in the <code>Knightcore.lua</code> file in Knightcore. These functions can be called from other lua script files by including the line <code>require 'knightcore.Knightcore'</code>. == SetCheckpoint == Sets the checkpoint in the save file to the given parameters. == IsBagFull == Returns true if the bag is full, false if it is not. == ObtainItem == Gives the player an item. If they bag is full, it will be put...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article is a stub. You can help PMDO Wiki by expanding it.

The following functions are found in the Knightcore.lua file in Knightcore. These functions can be called from other lua script files by including the line require 'knightcore.Knightcore'.

SetCheckpoint

Sets the checkpoint in the save file to the given parameters.

IsBagFull

Returns true if the bag is full, false if it is not.

ObtainItem

Gives the player an item. If they bag is full, it will be put into storage.

Note: Not fully implemented/tested yet, please do not use yet.