Log inGet started
Package

core.module

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

dungeonKit.core

The machinery every Trapwright piece shares: the registry of placed pieces, host authority and state replication over the dungeonKit:state, :all, :hello, :act and :evt channels, the shared host clock, events, bodies and teams through SecondWind (K.hurt calls HK.damage), the use interaction, the per-player secret save in runtime_data and the rewrite hook. The kit's other modules define their pieces with K.define; game code uses dungeonKit.api instead.

Since 1.0.1: get and place treat a piece whose root entity died with a play session as gone (place builds it fresh, purgeDead drops every such piece), pieces placed during play are cleared when play stops (engine.onModeChange), and tick animates a piece's look only within setVisualRange (60 m) of the local avatar while host logic always runs (visualStats counts looks run and skipped).