Forbid crafting necromancer's blood at workstations (#88)

Station crafts bypass XUiC_RecipeStack entirely - the queue lives in
TileEntityWorkstation and HandleRecipeQueue completes it server-side -
so neither the knife gate nor the 90% max-HP cost ever fired there.
Veto the recipe in XUiC_WorkstationWindowGroup.CraftingRequirementsValid
(greys the entry, disables the Craft action, blocks AddItemToQueue) and
supply the tooltip via CraftingRequirementsInvalidMessage. Personal
inventory crafting uses the base class and is unaffected. New
localization key resourceNecromancerBloodStationForbidden (13 languages).

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-11-02 23:24:44 +03:00
co-authored by Claude Code
parent 0fdfe952c5
commit 16639652b2
4 changed files with 56 additions and 1 deletions
File diff suppressed because one or more lines are too long