luvcraft/agent/tests/construction.lisp
(&key (id (gensym "BLOCK-WORLD-"))
(chunk-width 16)
(chunk-height 16)
(chunk-depth 16)
(cell-extent 1d0)
source)(name &optional (error-p t))Return the shared block kind whose durable semantic name is NAME. When ERROR-P is true, signal an error rather than returning NIL for an unknown name. Save files and other external descriptions refer to block kinds through this vocabulary instead of printing CLOS object identities.
(world x y z)(world kind x1 y1 z1 x2 y2 z2)Test whether two compatible scalars are equal.
(change-set)(change-set world)(world x y z)Return one site as BLOCK and :RESIDENT, or NIL and :ABSENT. This sparse world-coordinate accessor constructs coordinate descriptors and a chunk lookup key. It is appropriate for inspectors, ray hits, collision probes, and sparse interaction. Algorithms over many cells should select a chunk/domain once and use…
(change-set world &key after-edit)(change-set index)(change-set world)Test whether one compatible scalar is at least another.
One inert proposed tool effect waiting for a player's decision.
(command value)Finish VALUE's off-canvas work on the provider worker before presentation.