Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ShotMessage

A shot, fired from origin along direction, a unit vector. The room judges it against where each target stood at step: the room’s step the shooter’s picture showed as she fired, to the fraction of a step.

Property Type Description
direction [number, number, number] -
hits? string[][] The targets each pellet hit on the page’s picture, nearest first, by the key the dump files each under: what the room takes where the page judges the weapon’s shots, and what a rule may read wherever. Left out for none.
id? number The page’s own number for the shot, a whole number from 0, which a shotRefused names; left out, the room sends no refusal.
origin [number, number, number] -
step number -
type Shot -
weapon string The weapon, by the name the world registered it under.