Skip to content

Creating a Room

GuyDarel edited this page Oct 9, 2021 · 6 revisions

Properties of Rooms

Required Properties

  • name (String)
  • id (int)
  • text (String)
  • actions (Array)

Optional Properties

  • on_first_enter_actions (Array) ([])

Properties of Actions

Required Properties

  • class_name (String)
  • menu_name (String)
  • properties (Array) -String Pair

Optional Properties

  • text (String) ("")
  • hidden (boolean) (false)
  • unlocked_index (int) (-1)
  • requirements (Array) ([])

Notes

  • These fields may appear in any order within the actual JSON object.
  • The value adjacent to each listed field is its default value and is applied whenever that field is omitted.

Examples

Getting Started

JSON Formatting Guide

Embedded JSON Structures

Designing Your Game

Clone this wiki locally