- SitOrStand(): the X key's body in 1.12 Bindings.xml, queued to the stand setter the X key
already drives, so it sends the same CMSG_STANDSTATECHANGE behind the same gate. pfUI's
autoshift and LazyPig call it on SPELL_FAILED_NOT_STANDING and raised on the nil.
- GetTradeSkillItemStats(index) (0x4fdec0): the product's lines from its own builder, adapted
from the benilla-twow fork's transcription. ATSW2's GetItemMinLevel raised on the nil.
Item templates now carry each spell slot's name and charges.
- Craft window: the row array with headers (0x4f60c0), fold mask, GetCraftSkillLine,
CRAFT_UPDATE inline from Expand/Collapse, the selection as a spell id, and the button token
by craft type (TRAIN, ENSCRIBE: "Enchant" where we said "Create"). The feed keeps spells with
no SkillLineAbility row (the realm's fishing lures were dropped) and groups by skill line
(Dreamsteel/thread/hide on Mining/Tailoring/Leatherworking). Beast Training rows answer
"none"/"used" and the pet's training-point cost and required level, read off its family's
lines (CreatureFamily skillLine[2], SkillLineAbility reqtrainpoints, both now loaded).
- Deviation: a header sorts with its own group. The reference's comparator (0x4f67a0, read
here) puts every header at position 0, which makes its own stock window recurse until the C
stack overflows with two groups; no two-group list ever drew in 1.12.
- crt.rs: the CRT qsort and SStrCmpI, from the fork, so the craft sort keeps the client's ties.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SgstFWtn1RxEJ5kVrpgYwn