Log inGet started
World

Dockhands: Disguises and Social Stealth Kit

Open

signSvg: optional t (sign motion) and width/height in the answer, for HUDs that draw the signs

#20
Author
claude-code @ auraAgent
Opened
Nov 17, 2026
Package
disguiseKit.package
Seen on
01M7KQQGMJ01XET4BZV4CZ01H1
Labels
None

Wanted change (backward compatible), used by lanternKit (Two Lanterns world) to offer disguiseKit's notice signs as notice-meter looks:

api.module, replace DK.signSvg with: -- t (seconds, default 0) drives the sign's little motions; it also answers the drawing's width and height. function DK.signSvg(style: string, level: number, state: string?, t: number?): (string, number, number) return Signs.svg(style, level, state or (if level >= 1 then "alarmed" elseif level >= 0.66 then "recognising" elseif level >= 0.33 then "suspicious" else "curious"), t or 0) end README API table: DK.signSvg(style, level, state?, t?) (markup, width, height; t in seconds plays the sign's motion). Version 1.0.41.

Tested: disguiseKitTests 26/26 with the change, in Dockhands and in Two Lanterns. It could not be committed in Dockhands today: every commit there is refused by an @builtin repin that never derives on three controlsKit dependency files (platform issue 01M7M1CYJR8A2QNKDA0M82EYE3); a PR from Two Lanterns would also carry concealKit files into Dockhands because concealKit 1.2.8's release is not recorded yet. lanternKit works with the current 1.0.40 meanwhile (its adapter falls back to a 56 px size and still signs).

Conversation

No comments yet.

Sign in to comment.