HomeWikiSourceDownloadsDiscord

Kristal Wiki


Getting Started


These pages get you ready to use the engine.

  • Downloading Kristal
  • Installing and Playing Mods

General Mod Creation


These pages teach you about mod development.

  • Understanding the Basics
  • Creating a Mod
  • Using Libraries
  • Creating an Item
  • Creating a Spell
  • Actors
  • Party Members
  • Custom Keybinds
  • The UI System

The Overworld


Everything to do with the overworld.

  • Designing a Map
  • Cutscenes

Battles


Everything related to creating battles.

  • Battlers
  • Encounters

API Reference


An auto-generated API reference for Kristal.

⮬Back to Top⮭

MainMenuModList

┗> StateClass > Class


Constructor


MainMenuModList(menu: any)

Arguments:

menu: any




Methods


MainMenuModList:buildModList()



MainMenuModList:checkCompatibility()

Returns:

1: boolean
2: unknown


MainMenuModList:draw()



MainMenuModList:getSelectedButton()

Returns:

1: ModButton|ModCreateButton


MainMenuModList:getSelectedMod()

Returns:

1: table


MainMenuModList:onEnter(old_state: any)

Arguments:

old_state: any

Returns:

1: string


MainMenuModList:onKeyPressed(key: any, is_repeat: any)

Arguments:

key: any
is_repeat: any

Returns:

1: boolean


MainMenuModList:onLeave(new_state: any)

Arguments:

new_state: any


MainMenuModList:registerEvents()



MainMenuModList:reloadMods()



MainMenuModList:update()




Fields


MainMenuModList.active: boolean


MainMenuModList.engine_versions: table<string, any[]>


MainMenuModList.fades: table<string, number>


MainMenuModList.last_loaded: string[]


MainMenuModList.list: ModList


MainMenuModList.loading_mods: boolean


MainMenuModList.menu: MainMenu


MainMenuModList.mods: table[]


MainMenuModList.music: table<string, Music>


MainMenuModList.music_options: table<string, table>


MainMenuModList.scripts: table<string, table>



Undocumented



MainMenuModList.backgrounds: table



MainMenuModList.intro_text: table


DELTARUNE by Toby Fox. Website designed by NyakoFox. © 2023 Kristal Team. All rights reserved.