promotional bannermobile promotional banner

StBu Craftbook | Forever

Optimizes your crafting window with a highly compact recipe list, one-click difficulty filters, an aggregated material breakdown, and a wishlist system.
Back to Files

STBU_CraftBook-1.0.93.zip

File nameSTBU_CraftBook-1.0.93.zip
Uploaded
Oct 17, 2026
Downloads
59
Size
10.4 MB
Flavors
Forever
File ID
9219171
Type
R
Release
Supported game versions
  • 1.60.1

What's new

## [1.0.93] – 2026-10-16

### 🚀 New Features & Enhancements
- **Window Scaling Button & Corner Grip in Crafting Window (`UI.lua`, `Config.lua`, `Localization.lua`, `Core.lua`):**
  - **Resize Grabber in Bottom-Right Corner:** Added an authentic Blizzard size grabber button (`STBU_CraftBook_ScaleButton`) anchored cleanly to the bottom-right corner of `ProfessionsFrame` (`BOTTOMRIGHT, -2, 2`, strata `"HIGH"`).
  - **Intuitive Scaling Controls:**
    - **Left-Click & Drag:** Hold the left mouse button on the grabber and drag diagonally to smoothly scale the window in real time (with cursor feedback).
    - **Right-Click:** Instantly reset the window scale back to 100% (1.0).
    - **Mouse Wheel:** Fine-tune the scale by +/- 5% per tick (between 60% and 150%).
  - **Live Informative Tooltip:** Displays current percentage (e.g., `100%`) and concise control instructions on hover.
  - **Synchronized Scaling Across All Panels:** Because all side panels (Wishlist, Calculator, Notes, Vendors, Settings, Missing, Guides) are parented to `ProfessionsFrame`, they scale in perfect unison with zero distortion or detached windows.
  - **Full Persistence & Slash Commands:** Scale choice is automatically saved in `STBU_CraftBookDB.craftingWindowScale` and restored upon loading and reopening. Added slash commands `/cb scale [60-150]` and `/cb resetscale`.
- **Eigene hochauflösende Berufs-Illustrationen im Rezept-Detailbereich (`CompactView.lua`):**
  - **Nahtloses Artwork-Overlay:** Ăśber den gesamten rechten Fensterbereich (von der Rezeptliste bis zum AuĂźenrand) wird nun das eigene, hochauflösende Artwork des jeweiligen Berufs (`STBU_CraftBook/Textures/Berufe/<beruf>.png`, z. B. Lederverarbeitung, Schmiedekunst, etc.) gelegt – exakt zentriert und beschnitten via dynamischem Cover-Cropping (`SetCoverTexCoord`).
  - **Perfekte Harmonie & Lesbarkeit:** Das bestehende Fenster bleibt im Hintergrund erhalten ("ohne die bestehende zu entfernen"). Das neue Artwork legt sich mit dezenten 40% Opazität und einem sanften Lesbarkeits-Filter harmonisch darĂĽber, sodass alle Rezepte, Reagenzien und Buttons gestochen scharf lesbar sind und das gesamte Fenster wie aus einem Guss wirkt.


- **Auction House Wishlist Toggle Button, Sub-Materials & Better Auction Find Anti-Collision (`AuctionHouseUI.lua`, `Localization.lua`):**
  - **Header Toggle Button next to 'X' (`AuctionHouseUI.CreateToggleButton`):** Added a dedicated 112x22px button `[Icon] Wunschliste` (German) / `[Icon] Wishlist` (English) positioned directly to the left of the Auction House close button (`CloseButton`) and shifted 1px up for pixel-perfect vertical alignment. Set pushed text offset to `(0, 0)` so the label remains stable upon click. The wishlist panel now always starts closed when the Auction House is opened, toggling open only on demand.
  - **Sub-Materials in Auction House Wishlist Pane (`AuctionHouseUI.Refresh`):**
    - For craftable reagents (e.g. *Geschmeidiger leichter Balg*), intermediate sub-materials (e.g. *Leichtes Leder*) are now listed directly underneath, expanded by default.
    - Added interactive `[-]` / `[+]` toggle buttons next to the item name and right-click toggle support.
    - Indented by 34px with a 16x16 icon and subtle dark inset background tint for clear hierarchy.
    - Calculated accurate real-time inventory and deficiency values (`Fehlt`, `Tasche`, `Bedarf`) based on recipe yield and craft count.
    - **One-Click AH Search:** Clicking ANY sub-material row instantly searches for that sub-material in the Auction House. Shift-Click inserts its item link into chat.
  - **Dynamic Docking with "Better Auction Find" (`AuctionHouseUI.UpdateAnchors`, `HookBAFPanel`):** Completely eliminates window collisions:
    - Automatically detects if Better Auction Find's side panel (`BAF_SidePanel`) is active. When open, CraftBook's wishlist pane smoothly docks directly to the right edge of `BAF_SidePanel`.
    - When Better Auction Find is closed, CraftBook seamlessly attaches back to the right edge of the Auction House window.
    - Hooks `OnShow`, `OnHide`, and BAF's Attribute dropdown button to react dynamically and prevent any overlapping.
- **Bottom Navigation Layout & Tab Reordering (`BottomTabs.lua`):**
  - **Wishlist next to Vendors:** Relocated the Wishlist tab directly to the left of the Vendors tab.
  - **Settings / Options next to Notes:** Relocated the Settings/Options tab from the far bottom-left edge directly to the left of the Notes tab.
  - **Complete Natural Flow:** The bottom tabs now form a unified, coherent cluster on the bottom-right: `[Options] [Notes] [Calculator] [Wishlist] [Vendors]`.
  - **Renamed to "Rechner":** Changed the calculator tab and frame label from "Taschenrechner" to the cleaner, more concise "Rechner" (German) / "Calculator" (English).
- **Wishlist Collapsible Sub-Materials (`WishlistUI.lua`, `Localization.lua`):**
  - **Directly Expanded by Default:** In the "Benötigte Materialien (Gesamt)" / "Required Materials (Total)" table, craftable intermediate materials (e.g. *Geschmeidiger leichter Balg*, *Leichtes Leder*) now list their sub-materials directly underneath, expanded by default as requested.
  - **Inline Toggle & Interactive Collapse/Expand:** Craftable parent materials feature an inline indicator (`[-]` when expanded, `[+]` when collapsed). Clicking anywhere on the item row or indicator toggles the sub-material list with audio feedback and smooth dynamic table height resizing.
  - **Proportional Scaling & Accurate Tracking:** Sub-material requirements automatically scale based on the parent's total required count and recipe yield (`math.ceil(item.needed / yield) * subReagent.count`). Current player stock is dynamically queried and displayed in real time across `Tasche` (bags) and `Bank`.
  - **Subtle Indentation & Inset Styling:** Sub-materials are indented cleanly by 14px with 16x16 icons and dark inset background tinting to visually distinguish them from parent zebra rows without horizontal clutter.
  - **Interactive Linking & Full Mouse Wheel Support:** Added chatlink insertion on Shift-Click, detailed tooltip inspection with toggle hints, and smooth mouse-wheel event forwarding to the scroll frame across all parent and child rows.
  - **Synced Recipe Highlighting:** Hovering over a planned recipe in the upper list illuminates both the direct materials and their nested sub-materials in the lower table.
- **Material Breakdown Always Expanded (`UI.lua`, `Config.lua`):**
  - The "MaterialĂĽbersicht" / "Material Breakdown" under the recipe reagents is now expanded by default (`materialBreakdownExpanded = true`).
  - Automatically loads and preserves the expanded state across recipes and game sessions, eliminating the need to click `[+]` each time.
- **"Listen" Checkbox Relocation, Shortened Label & Top Bar Vertical Center Alignment (`CompactView.lua`):**
  - Moved the checkbox from the bottom area up into the recipe header row.
  - Shortened the checkbox label from "Rezept listen" / "Track Recipe" to simply **"Listen"** (German) / **"Track"** (English) so it sits cleanly without touching or overflowing the right window frame.
  - Implemented `CompactView.LayoutRecipeHeader()`: The entire recipe header row (`[OutputIcon]`, `[OutputText / RecipeName]`, `[FavoriteButton]`, and `[TrackRecipeCheckbox]`) is now strictly aligned to the vertical center (`align-items: center` / Y = 0 relative to OutputIcon's center).
  - Completely eliminates any overlap with the expanded Material Breakdown list.
- **Right Pane Scroll Container with Native Blizzard Scrollbar (`CompactView.lua`, `UI.lua`):**
  - Converted the right pane (`SchematicForm`) into a scroll container (`craftingPage.cbScrollFrame`) to accommodate tall recipes (e.g. Enchanting target slots, Auctionator price display, Wishlist button, and expanded Material Breakdown with sub-materials).
  - Integrated Blizzard's authentic `MinimalScrollBar` template (`craftingPage.cbScrollBar`) seamlessly along the right border, visually and functionally matching the left recipe list scrollbar (`recipeList.ScrollBar`).
  - **Single Right-Window Scrollbar:** Completely removed the separate inner scrollbar from the Material Breakdown list. The material breakdown now expands naturally to its full content height, and scrolling is handled exclusively by the window scrollbar.
  - **Seamless Full-Width Profession Background & Permanent Inner Frame Removal (`CompactView.LayoutRightPaneFrame`, `CompactView.UpdateRightPaneScroll`):**
    - Eliminated the split background and the black vertical gap on the right: Blizzard's `ValidateControls` previously clamped `schematicForm:SetWidth` to 395px/500px, leaving an empty void on the right of the ~580px wide pane. Implemented a strict hook on `schematicForm.SetWidth` that locks it to the full scroll container width.
    - Added `craftingPage.cbRightBackground` spanning the entire right half with authentic profession artwork (`Professions.GetProfessionBackgroundAtlas`) plus a subtle 40% dark contrast overlay for crystal-clear readability of all fonts and reagent icons.
    - Completely silenced `schematicForm.NineSlice`, `Border`, `Background`, and `MinimalBackground` with alpha 0 and secure hooks on `Show`, `SetShown`, and `SetAlpha` without fragile frame reparenting or CPU-heavy `OnUpdate` timers, permanently removing the floating/shrinking inner golden box.
    - Clamped `schematicForm`'s minimum height to the full window height (`math.max(availableHeight, minAllow)`) so the pane never collapses vertically.
  - Dynamically calculates total content height and automatically shows the scrollbar only when needed, auto-resetting scroll offset to 0 when content fits.
  - Pinned crafting action buttons (`CreateButton`, `CreateAllButton`, `CreateMultipleInputBox`) securely inside a dedicated stationary footer container (`craftingPage.cbFooter`) centered on the right half, ensuring they never overlap the recipe list and never scroll off-screen.
- **Enchanting & Optional Target Slot Layout Harmonization (`CompactView.lua`):**
  - Resolved an issue in Enchanting (and other recipes with target slots) where the "Optionales Ziel: Gegenstand zum Verzaubern auswählen" slot was overlapped by the Material Breakdown and Wishlist button.
  - Dynamically detects active optional/enchant target slots and labels (`CompactView.GetActiveOptionalSlots`, `CompactView.GetOptionalLabel`), positioning them cleanly below the 2-column reagent list with proper padding.
  - Seamlessly cascades the Auctionator price overview, the `[+ Wunschliste]` button, and the `MaterialĂĽbersicht:` underneath the optional slot to eliminate all UI collisions.
- **Expandable Sub-Materials / Intermediate Reagents in Material Breakdown (`SubRecipeData.lua`, `UI.lua`):**
  - Added expandable tree view for craftable intermediate materials (e.g. Cured Light Hide, Bronze Bar, Bolt of Linen Cloth, Iron Counterweight, etc.) directly inside the "MaterialĂĽbersicht" / Material Breakdown.
  - **Clean Vertical Alignment & Native Styling:** All primary item icons start flush at `x = 0`. Craftable reagents feature an inline `[+]` / `[-]` indicator with row hover highlight and click-to-toggle functionality.
  - **Subtle Indentation & Fixed Glyphs:** Replaced broken non-ASCII font tree characters (`â–Żâ–Ż`) with a clean, subtle 8px indentation beneath the parent item, keeping the layout compact and native.
  - **Native Blizzard Scrollbar (`MinimalScrollBar`):**
    - Replaced the previous solid gold custom slider with Blizzard's authentic `MinimalScrollBar` template – matching the original scrollbar on the left recipe list (`recipeList.ScrollBar`) exactly.
    - Features native Blizzard chevron stepper buttons (`Back` / `Forward`), grooved scroll track, and authentic bronze thumb knob.
    - Full integration with `ScrollUtil.InitScrollFrameWithScrollBar` for proportional thumb sizing, smooth dragging, click-to-scroll, and mouse wheel navigation across both the scroll frame and individual reagent rows.
    - Automatically displays only when unfolded sub-materials exceed available vertical space before the crafting action buttons.
  - Sub-reagent quantities dynamically scale with the parent requirement and stepper count (`totalReq`).
  - Added comprehensive lookup database (`CB.SubRecipeData`) across Leatherworking, Tailoring, Blacksmithing, Engineering, Mining/Smelting, Alchemy, and Enchanting.
  - Added live recipe scanner (`CB.ScanProfessionRecipes`) that dynamically indexes all learned recipes from opened profession windows.
  - Automatically identifies craftable intermediate reagents with their proper profession source tag (e.g. `(Lederverarbeitung)` instead of generic `(KĂĽrschnerei)`).
  - **Refined Gathering & Material Source Recognition (`UI.lua`, `SubRecipeData.lua`):** Correctly tags leather scraps, hides, and pelts (e.g. `Verdorbene Lederfetzen`, `Knotenhautlederfetzen`, `Leichter Balg`) as **KĂĽrschnerei / Skinning** rather than the generic fallback category `Handwerksware`.
- **Comprehensive Global WoW Localization (`Localization.lua` & `STBU_CraftBook.toc`):**
  - **English as Default Base:** Strictly established English (`enUS`/`enGB`) as the core fallback language for all 243+ string keys.
  - **All 11 Official WoW Client Locales Supported:** Added complete, authentic in-game translations for:
    - German (`deDE`)
    - French (`frFR`)
    - Spanish (`esES` & `esMX`)
    - Russian (`ruRU`)
    - Brazilian Portuguese (`ptBR`)
    - Italian (`itIT`)
    - Korean (`koKR`)
    - Simplified Chinese (`zhCN`)
    - Traditional Chinese (`zhTW`)
  - Added localized `## Notes-*` metadata across all languages in `STBU_CraftBook.toc`.
  - Added `/cb calc` and `/cb rechner` shortcuts to `Core.lua`.

This mod has no additional files