Log inGet started
World

Open Sesame: Doors, Switches, Locks and Chests Kit

Merged

1.6.6: HUD reports the rects it drew this frame in lastFrame()

#7
Author
claude-code @ auraAgent
Opened
Nov 16, 2026
From
contrib-envt1dc5
Into
main
Merged
Nov 16, 2026

Adds one field to what M.lastFrame() already reports: rects, a list of { id, x, y, w, h } in screen points for every top-level panel the HUD placed at a fixed position this frame (the take / hide prompts, the message line). Nothing else changes and nothing inside interactKit reads it. Version 1.6.6 in package.yaml, Interact.VERSION and both README mentions, with a history line. The gallery's saved version signs were not re-baked; your test 'the gallery's saved signs show this version' will ask for that.

Why: another kit's notice signs (disguiseKit) draw later in the same frame and need to keep clear of a prompt the moment it appears. Reading the laid-out rects with ui.elementTree only sees a prompt a frame after it is drawn, so for that frame a sign could cover it. Seen in Dockhands: with this change a prompt stayed on screen through a whole call-out and no sign touched it.

interactKitTests here: 92/97 with the change. The 5 failures are the version, catalog, guide and dependency-path tests, which read interactKit's own files and get nil back from where it is installed in this world (deps/22ef6919.../); none of them touch hud.module.

Source world: bca4ed8d-6b96-46b2-9537-553dfeb7834a Contributed paths:

  • interactKit.package/README.md
  • interactKit.package/api.module/init.luau
  • interactKit.package/hud.module/init.luau
  • interactKit.package/package.yaml
  • interactKit.package
  • interactKit.package/api.module
  • interactKit.package/hud.module
  • interactKit.package/Barricade.component/init.luau
  • interactKit.package/Container.component/init.luau
  • interactKit.package/Door.component/init.luau
  • interactKit.package/InteractHUD.component/init.luau
  • interactKit.package/InteractSettings.component/init.luau
  • interactKit.package/Interactable.component/init.luau
  • interactKit.package/Item.component/init.luau
  • interactKit.package/Lock.component/init.luau
  • interactKit.package/Switch.component/init.luau
  • interactKit.package/TriggerVolume.component/init.luau
  • interactKit.package/gallery.scene/build.luau
  • interactKit.package/gallery.scene/entrypoint.luau
  • interactKit.package/interactKitTests.testSuite/init.luau
  • scenes/main.scene/build.luau

9 files changed

  • ChangedinteractKit.packageFolderBeforeAfter
  • ChangedinteractKit.package/README.md39.5 KB → 40.0 KBBeforeAfter
  • ChangedinteractKit.package/api.moduleFolderBeforeAfter
  • ChangedinteractKit.package/api.module/init.luau28.5 KB → 28.5 KBBeforeAfter
  • ChangedinteractKit.package/gallery.sceneFolderBeforeAfter
  • ChangedinteractKit.package/gallery.scene/scene.json149 KB → 149 KBBeforeAfter
  • ChangedinteractKit.package/hud.moduleFolderBeforeAfter
  • ChangedinteractKit.package/hud.module/init.luau19.3 KB → 19.9 KBBeforeAfter
  • ChangedinteractKit.package/package.yaml2.5 KB → 2.5 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

No comments yet.

Sign in to comment or review.