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⮭

ListMenuItemComponent

┗> AbstractMenuItemComponent > Component > Object > Class


Constructor


ListMenuItemComponent(list: table, value: integer|function, on_changed: function?, options: table?)

Arguments:

list: table
value: integer|function
on_changed: function?
options: table?




Methods


ListMenuItemComponent:keepInRange()



ListMenuItemComponent:next()



ListMenuItemComponent:onSelected()



ListMenuItemComponent:previous()



ListMenuItemComponent:update()



ListMenuItemComponent:updateSelected()




Fields


ListMenuItemComponent.color: table


ListMenuItemComponent.delay: number


ListMenuItemComponent.hold: boolean


ListMenuItemComponent.list: table


ListMenuItemComponent.on_changed: function


ListMenuItemComponent.prefix: string


ListMenuItemComponent.selected_color: table


ListMenuItemComponent.sound: string


ListMenuItemComponent.sound_at_limit: boolean


ListMenuItemComponent.sound_delay: number


ListMenuItemComponent.sound_timer: number


ListMenuItemComponent.step: number


ListMenuItemComponent.suffix: string


ListMenuItemComponent.text: Text


ListMenuItemComponent.value: integer


ListMenuItemComponent.wrap: boolean



Undocumented


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