Skip to content

Crafting: switching off the recipe book's empty tabs - #101

Merged
Kharote merged 1 commit into
mainfrom
crafting-tabs
Nov 24, 2026
Merged

Kharote merged 1 commit into
mainfrom
crafting-tabs

Conversation

@Kharote

@Kharote Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Crafting: the recipe book's tabs are the game's own, one per category; a client script switches off the tabs a server's recipes leave empty each time the book opens, with NativeElement.invoke('', 'SetEnableTabButton', [tab, false]) on nativeScreenOpened (JS, TS, Lua, C#), and the tab numbers.

Goes with KCD-Synced/KCDS#350 (NativeElement.invoke, since 1.2.2). The examples type-check with that branch's API (typecheck_examples.cjs: client 527 examples, client TypeScript 71, 0 errors) and the guide tests pass.

@Kharote
Kharote merged commit 7467d0d into main Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant