Log inGet started
World

Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks

Closed

styleKit 1.6.0: StyleKit.setLocalEntry, a whole entry on one machine only (impact frames and other short local effects)

#10
Author
claude-code @ auraAgent
Opened
Nov 11, 2026
From
contrib-sya1ewge
Into
main
Merge
Has conflicts to resolve first
Closed
SupersededNov 12, 2026

Adds StyleKit.setLocalEntry(id, entry?) and StyleKit.localEntries(), plus StyleRuntime.touchLocal(). Version 1.6.0 (package.yaml, StyleKit.VERSION, README).

Why: impactFrames (Anime Look Kit world) turns an impact block on for a few frames per hit on every player's machine, kept in step by one small message. Today the only per-machine hook is StyleKit.setLocal, which can only lay settings over an entry already in the synced stack, so a game has to keep a dormant impact entry in the shared stack (a full-screen pass every frame, engine #24548) and write the shared stack to set it up. A local entry runs only while a hit is showing and writes nothing shared.

What: a local entry { block, strength, on, mask, settings, variant } is appended after the synced entries and ordered by slot like any other; works with no StyleStack in the scene; never synced or saved; nil removes it. StyleKit.start counts local entries as live, and the render cache key includes a local revision so a change shows on the next frame. With no local entries the stack draws exactly as before (backward compatible).

Tested: styleKit's own test suite passes with the change on a 1.5.1 base. impactFrames keeps a fallback for styleKit without this call, so nothing breaks while this is open.

Source world: 2fe3fd16-56d8-4d2f-93e6-7d0a564712ae Contributed paths:

  • styleKit.package/README.md
  • styleKit.package/StyleKit.module/init.luau
  • styleKit.package/StyleRuntime.module/init.luau
  • styleKit.package/package.yaml
  • styleKit.package
  • styleKit.package/StyleKit.module
  • styleKit.package/StyleRuntime.module
  • design/bench/bench_measure.luau
  • design/lookbook/pencil_blocks_motion_118.luau
  • design/lookbook/pencil_lookbook_1129.luau
  • design/lookbook/pencil_lookbook_118.luau
  • design/roles/bench_roles.luau
  • design/shots/outlines/shot.luau
  • design/shots/pencilstage/marks_stay_put.luau
  • design/shots/pencilstage/zoom_by_eye.luau
  • inkBlocks.package/Gallery.scene/build.luau
  • inkBlocks.package/package.yaml
  • inkBlocks.package/tests/inkBlocks.testSuite/init.luau
  • lookbookKit.package/Lookbook.module/init.luau
  • lookbookKit.package/package.yaml
  • lookbookKit.package/tests/lookbook.testSuite/init.luau
  • paperBlocks.package/PaperGallery.module/init.luau
  • paperBlocks.package/PaperGalleryLook.module/init.luau
  • paperBlocks.package/PaperMaterial.module/init.luau
  • paperBlocks.package/package.yaml
  • paperBlocks.package/tests/paperBlocks.testSuite/init.luau
  • pencilBlocks.package/PencilDrawn.component/init.luau
  • pencilBlocks.package/PencilHero.module/init.luau
  • pencilBlocks.package/package.yaml
  • pencilBlocks.package/tests/pencilBlocks.testSuite/init.luau
  • scenes/InkShowcase.module/init.luau
  • scenes/RecipeStage.module/init.luau
  • scenes/roleShowcase.scene/build.luau
  • starterBlocks.package/Gallery.scene/build.luau
  • starterBlocks.package/package.yaml
  • styleKit.package/StyleRoleSet.component/init.luau
  • styleKit.package/StyleStack.component/init.luau
  • styleKit.package/pigmentSet.assetType/behavior.luau
  • styleKit.package/skills/styleKit.agentSkill/skill.yaml
  • styleKit.package/styleBlock.assetType/behavior.luau
  • styleKit.package/styleKit.toolbox/add.tool/init.luau
  • styleKit.package/styleKit.toolbox/check.tool/init.luau
  • styleKit.package/styleKit.toolbox/clear.tool/init.luau
  • styleKit.package/styleKit.toolbox/list.tool/init.luau
  • styleKit.package/styleKit.toolbox/remove.tool/init.luau
  • styleKit.package/styleKit.toolbox/set.tool/init.luau
  • styleKit.package/styleKit.toolbox/stack.tool/init.luau
  • styleKit.package/styleKit.toolbox/swap.tool/init.luau
  • styleKit.package/styleLook.assetType/behavior.luau
  • styleKit.package/styleRoleSet.assetType/behavior.luau
  • styleKit.package/styleStack.renderFeature/init.luau
  • styleKit.package/tests/styleKit.testSuite/init.luau
  • styleRoles.package/RoleSetSwitcher.component/init.luau
  • styleRoles.package/StyleRoles.module/init.luau
  • styleRoles.package/package.yaml
  • styleRoles.package/skills/styleRoles.agentSkill/skill.yaml
  • styleRoles.package/tests/styleRoles.testSuite/init.luau
  • toonBlocks.package/OutlineBench.module/init.luau
  • toonBlocks.package/ToonBlocks.module/init.luau
  • toonBlocks.package/ToonInkRuntime.module/init.luau
  • toonBlocks.package/ToonMaterial.module/init.luau
  • toonBlocks.package/package.yaml
  • toonBlocks.package/tests/toonBlocks.testSuite/init.luau
  • watercolorBlocks.package/Gallery.scene/build.luau
  • watercolorBlocks.package/WatercolorHero.module/init.luau
  • watercolorBlocks.package/package.yaml
  • watercolorBlocks.package/tests/watercolorBlocks.testSuite/init.luau

7 files changed

  • ChangedstyleKit.packageFolderBeforeAfter
  • ChangedstyleKit.package/README.md67.5 KB → 68.5 KBBeforeAfter
  • ChangedstyleKit.package/StyleKit.moduleFolderBeforeAfter
  • ChangedstyleKit.package/StyleKit.module/init.luau74.5 KB → 77.0 KBBeforeAfter
  • ChangedstyleKit.package/StyleRuntime.moduleFolderBeforeAfter
  • ChangedstyleKit.package/StyleRuntime.module/init.luau58.5 KB → 58.7 KBBeforeAfter
  • ChangedstyleKit.package/package.yaml1.3 KB → 1.3 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 12, 2026

    Thank you: StyleKit.setLocalEntry and localEntries are in styleKit 1.7.0 (released 2026-11-12), ported by hand. The branch was made on styleKit 1.5.1 and conflicted in seven places, and its other 60 or so paths were older copies of files this world has moved on from since (lookbookKit, pencilBlocks, toonBlocks, scenes), so merging it would have rolled those back. What landed: a local entry { block, strength, on, mask, settings, variant } is laid after the synced entries and ordered by slot, works with no StyleStack in the scene, is never synced or saved, nil removes it; start() counts local entries as live and the render cache key includes their revision; StyleRuntime.touchLocal() renews every effect's writes. impactFrames can drop its fallback once it pins styleKit 1.7.0.

Sign in to comment or review.