Skip to content
Ben Lubar edited this page Nov 30, 2017 · 1 revision

This page is currently under construction. For now, I have written the type of each field in the JSON as a Go-like type declaration, but this documentation will become more human-readable over time.

  • action: enum
  • continue: optional<bool>
  • match: Filter<Room>
  • count: Count<Room>

Between

  • int

or

  • 0(min): int|null
  • 1(max): int|null

Filter<T>

  • name: optional<T|[]T>
  • name_not: optional<T|[]T>

Count<T>

  • name: optional<Count|[]Count>

Count

  • match: T|[]T
  • is: Between

Enum

  • name: optional<enum|[]enum>
  • name_not: optional<enum|[]enum>

EnumSet

  • name: optional<enum|[]enum>
  • name_not: optional<enum|[]enum>

String

  • name: optional<string|[]string>
  • name_not: optional<string|[]string>

Room

  • status: Enum
  • type: Enum
  • corridor_type: Enum
  • farm_type: Enum
  • stockpile_type: Enum
  • nobleroom_type: Enum
  • outpost_type: Enum
  • location_type: Enum
  • cistern_type: Enum
  • workshop_type: Enum
  • furnace_type: Enum
  • raw_type: String
  • comment: String
  • accesspath: Count<Room>
  • layout: Count<Furniture>
  • has_owner: optional<bool>
  • has_squad: optional<bool>
  • level: Between
  • workshop: Filter<Room>
  • users: Between
  • stock_disable: EnumSet
  • stock_specific1: optional<bool>
  • stock_specific2: optional<bool>
  • has_users: Between
  • furnished: optional<bool>
  • queue_dig: optional<bool>
  • temporary: optional<bool>
  • outdoor: optional<bool>
  • channeled: optional<bool>

Furniture

  • type: Enum
  • construction: Enum
  • dig: Enum
  • target: Filter<Furniture>
  • users: Between
  • has_users: Between
  • ignore: optional<bool>
  • makeroom: optional<bool>
  • internal: optional<bool>
  • comment: String
Clone this wiki locally