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 Overworld


Everything to do with the overworld.

  • Designing a Map
  • Cutscenes

Battles


Everything related to creating battles.

  • Battlers
  • Encounters
  • Enemy Attacks (Waves)
  • Wavemaking Tricks and References

Advanced


These pages teach you more complex but powerful parts of the engine.

  • Hooks
  • The UI System

API Reference


An auto-generated API reference for Kristal.

⮬Back to Top⮭

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 Overworld


Everything to do with the overworld.

  • Designing a Map
  • Cutscenes

Battles


Everything related to creating battles.

  • Battlers
  • Encounters
  • Enemy Attacks (Waves)
  • Wavemaking Tricks and References

Advanced


These pages teach you more complex but powerful parts of the engine.

  • Hooks
  • The UI System

API Reference


An auto-generated API reference for Kristal.

⮬Back to Top⮭

ModList

┗> Object > Class


Constructor


ModList(x: any, y: any, width: any, height: any)

Arguments:

x: any
y: any
width: any
height: any




Methods


ModList:addMod(mod: any)

Arguments:

mod: any


ModList:clearMods()



ModList:draw()



ModList:getById(id: any)

Arguments:

id: any

Returns:

1: unknown
2: integer


ModList:getSelected()

Returns:

1: unknown


ModList:getSelectedId()

Returns:

1: unknown


ModList:getSelectedMod()

Returns:

1: unknown


ModList:isOnCreate()

Returns:

1: boolean


ModList:pageDown(no_wrap: any)

Arguments:

no_wrap: any


ModList:pageUp(no_wrap: any)

Arguments:

no_wrap: any


ModList:select(i: any, mute: any)

Arguments:

i: any
mute: any

Returns:

1: boolean


ModList:selectDown(no_wrap: any)

Arguments:

no_wrap: any


ModList:selectUp(no_wrap: any)

Arguments:

no_wrap: any


ModList:setScroll(scroll: any)

Arguments:

scroll: any


ModList:update()




Fields



Undocumented



ModList.mod_container: unknown



ModList.mod_list_height: integer



ModList.mod_list_height: integer



ModList.mod_list_height: unknown



ModList.mods: table



ModList.mods: table



ModList.scroll: integer



ModList.scroll: integer



ModList.scroll: number



ModList.scroll_target: integer



ModList.scroll_target: unknown



ModList.selected: integer



ModList.selected: integer



ModList.selected: integer



ModList.selected: any


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