Frostdev

KilnAPI reference Guide

localMap (instance registry)

Generated from schema/registry/localMap.json by tools/registrygen/registrygen.py: edit the schema, never this page.

The game's world map as this client draws it (kiln.map: read in each UI frame; mods' right-click entries are Kiln.Map's). Client-owned (owner decision 12): it lives only in the game client's own Gate, a write or action applies there and is never sent; a server refuses it (gate:client_owned).

  • Key: world (one value per world); side: client; version 0.1.0, experimental (KILNX032)
  • Values are live: a write applies at the Gate's next turn (one-time, owned by the mod), a hold is re-applied at its cadence until released. Kiln.Gate: LocalMap.<Field>; refs: localMap[<key>].<field>.
Field Type Holds Cadence Saved Notes
open bool - - session read-only; The map was drawn in the last completed UI frame.
zoom float unit/m 0..1000000 - - session read-only; UI units per metre (the game's zoom).
cursor.x float m -10000000..10000000 - - session read-only; Where the cursor points on the map: x, world metres (0 when it is off the map).
cursor.z float m -10000000..10000000 - - session read-only; Where the cursor points on the map: z, world metres.
screen int 0..64 - - session read-only; The HUD screen of that frame (4 the in-game menu's map tab, 5 the M map; 0 closed).

Enshrouded is a trademark of Keen Games GmbH. Kiln is unofficial.