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⮭

SaveData


Methods



Fields


SaveData.border: string


SaveData.chapter: integer


SaveData.dark_inventory: boolean, storages


SaveData.flags: table<string, any>


SaveData.inventory: boolean, storages


SaveData.level: integer


SaveData.level_up_count: integer


SaveData.light: boolean


SaveData.light_inventory: boolean, storages


SaveData.lw_money: integer


SaveData.max_tension: number


SaveData.money: integer


SaveData.name: string


SaveData.party: string[]


SaveData.party_data: PartyMemberSaveData[]


SaveData.playtime: number


SaveData.recruits_data: RecruitSaveData[]


SaveData.room_id: string


SaveData.room_name: string


SaveData.spawn_marker: string


SaveData.spawn_position: number, y


SaveData.temp_followers: table<string|[string, number]>


SaveData.tension: number


SaveData.xp: integer



Undocumented


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