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⮭

MainMenuModConfig

┗> StateClass > Class


Constructor


MainMenuModConfig(menu: any)

Arguments:

menu: any




Methods


MainMenuModConfig:draw()



MainMenuModConfig:onEnter(old_state: any)

Arguments:

old_state: any


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

Arguments:

key: any
is_repeat: any


MainMenuModConfig:registerEvents()



MainMenuModConfig:registerOption(id: any, name: any, description: any, type: any, options: any)

Arguments:

id: any
name: any
description: any
type: any
options: any


MainMenuModConfig:registerOptions()



MainMenuModConfig:update()




Fields


MainMenuModConfig.editing: boolean


MainMenuModConfig.menu: MainMenu


MainMenuModConfig.options: table


MainMenuModConfig.scroll_target_y: number


MainMenuModConfig.scroll_y: number


MainMenuModConfig.selected_option: number



Undocumented


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