RynthSuite as of 2026-09-27 (internal 1816d05): AutoVendor (UtilityBelt port), missile/magic facing and arc line of sight, nav waypoint skipping, rebuff batch and item-enchant fixes, crafting fallback, Loot Editor AutoVendor folder and command-line open, release 2026.9.27.2
This commit is contained in:
parent
a19ee1904e
commit
d55ffda4ed
33 changed files with 4364 additions and 207 deletions
|
|
@ -374,16 +374,32 @@ public sealed partial class RynthAiPlugin
|
|||
|
||||
public override void OnVendorOpen(uint vendorId)
|
||||
{
|
||||
_metaManager?.OnVendorOpen(vendorId);
|
||||
|
||||
// AutoVendor prints the open line itself (UB's merchant-info line when it can read the
|
||||
// vendor, once per open rather than on every list re-send) and may start a session.
|
||||
var autoVendor = _autoVendor;
|
||||
if (autoVendor != null)
|
||||
{
|
||||
autoVendor.OnVendorOpen(vendorId);
|
||||
return;
|
||||
}
|
||||
string label = Host.TryGetObjectName(vendorId, out string name) ? name : $"0x{vendorId:X8}";
|
||||
Host.WriteToChat($"[RynthAi] Vendor open: {label}", 1);
|
||||
_metaManager?.OnVendorOpen(vendorId);
|
||||
}
|
||||
|
||||
public override void OnVendorClose(uint vendorId)
|
||||
{
|
||||
_metaManager?.OnVendorClose(vendorId);
|
||||
|
||||
var autoVendor = _autoVendor;
|
||||
if (autoVendor != null)
|
||||
{
|
||||
autoVendor.OnVendorClose(vendorId);
|
||||
return;
|
||||
}
|
||||
string label = Host.TryGetObjectName(vendorId, out string name) ? name : $"0x{vendorId:X8}";
|
||||
Host.WriteToChat($"[RynthAi] Vendor closed: {label}", 1);
|
||||
_metaManager?.OnVendorClose(vendorId);
|
||||
}
|
||||
|
||||
private void TickCorpseOpening()
|
||||
|
|
|
|||
Loading…
Reference in a new issue