feat(rynthai): ILT Hub, HUDs, item info, chat translation, ground loot and nav editing
- ILT Hub (overlay window, /ra hub): character progression, pets, quests, gear, banking, guardian, buff keepers, session rates, USD import. - Floating HUDs: combat tracker, item count HUD, Mini Remote (/ra remote, /ra huds). - Item info (Mag-style describer) on select, with its own settings window. - Chat translation (/ra translate) for chosen channels. - Ground loot: loose items matching the loot profile are picked up when no corpse is in range (CorpseOpenController). - Nav: breadcrumb recorder, route overlay, and the route editor commands the engine Nav panel sends (multi-select move/duplicate/delete, reverse, snap to path, pauses, portals, simplify, trail -> route). - Pets: refill-loop guard for essences the server just confirmed full; optional ILT Hub hooks (summon on empty, hold, yield a cosmetic pet). - QuestTracker: quiet refreshes, Disabled / LastStatus for the hub. - WorldObjectCache: typed items (keys, gems, comps, food) are placed in inventory or landscape by ownership instead of staying Unknown. - Install-aware data folders (RynthInstallPaths) and a per-category diagnostics log (Diagnostics/RynthLog, diagnostics.json). - Monster Editor: VirindiTank USD import and "Import UB damage insights" (ub-mob-seed.json); RynthAi loads the seed (UbMobSeedStore). Kept as on rynth/main: combat (ammo, off-hand/shield rules), AutoStack in InventoryManager, LegacyAdvancedSettingsUi and the version stamping. No host API slots are used; new engine data comes from optional exports (RynthPluginRenderOverlay, RynthPluginGetProgressionJson, RynthPluginGetCharmsJson). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
6847868401
commit
09b14d4ed1
97 changed files with 20718 additions and 71 deletions
|
|
@ -15,10 +15,22 @@ public class MonsterRule : INotifyPropertyChanged
|
|||
private bool _useArc, _useBolt = true, _useRing, _useStreak, _useBlast;
|
||||
private string _exVuln = "None";
|
||||
private int _offhandId;
|
||||
private int _preferredAmmoItemId;
|
||||
private string _petDamage = "PAuto";
|
||||
/// <summary>Dashboard-only label; optional (empty shows as "Default" in the game UI).</summary>
|
||||
private string _category = string.Empty;
|
||||
/// <summary>vTank-style match expression. Empty = for named rules, match on Name substring; for the Default row, it is the global fallback when nothing else matches.</summary>
|
||||
private string _matchExpression = string.Empty;
|
||||
|
||||
public string Name { get => _name; set { _name = value; OnPropertyChanged(); } }
|
||||
public int Priority { get => _priority; set { _priority = value; OnPropertyChanged(); } }
|
||||
public string Category { get => _category; set { _category = value ?? string.Empty; OnPropertyChanged(); } }
|
||||
/// <summary>vTank-style match expression. Empty matches on the rule name.</summary>
|
||||
public string MatchExpression
|
||||
{
|
||||
get => _matchExpression;
|
||||
set { _matchExpression = value ?? string.Empty; OnPropertyChanged(); }
|
||||
}
|
||||
public string DamageType { get => _damageType; set { _damageType = value; OnPropertyChanged(); } }
|
||||
public int WeaponId { get => _weaponId; set { _weaponId = value; OnPropertyChanged(); } }
|
||||
public bool Fester { get => _fester; set { _fester = value; OnPropertyChanged(); } }
|
||||
|
|
@ -34,11 +46,70 @@ public class MonsterRule : INotifyPropertyChanged
|
|||
public bool UseBlast { get => _useBlast; set { _useBlast = value; OnPropertyChanged(); } }
|
||||
public string ExVuln { get => _exVuln; set { _exVuln = value; OnPropertyChanged(); } }
|
||||
public int OffhandId { get => _offhandId; set { _offhandId = value; OnPropertyChanged(); } }
|
||||
/// <summary>Optional loose ammo stack id for missile combat while this rule matches (0 = auto).</summary>
|
||||
public int PreferredAmmoItemId { get => _preferredAmmoItemId; set { _preferredAmmoItemId = value; OnPropertyChanged(); } }
|
||||
public string PetDamage { get => _petDamage; set { _petDamage = value; OnPropertyChanged(); } }
|
||||
|
||||
[JsonIgnore]
|
||||
/// <summary>True for the special row named "Default" — the catch-all when no other rule matches.</summary>
|
||||
public bool IsDefault => string.Equals(_name, "Default", System.StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
/// <summary>Full copy (for import merge). Copies every rule field, UseBlast included.</summary>
|
||||
public MonsterRule Clone()
|
||||
{
|
||||
return new MonsterRule
|
||||
{
|
||||
Name = _name,
|
||||
Category = _category,
|
||||
MatchExpression = _matchExpression,
|
||||
Priority = _priority,
|
||||
DamageType = _damageType,
|
||||
WeaponId = _weaponId,
|
||||
Fester = _fester,
|
||||
Broadside = _broadside,
|
||||
GravityWell = _gravityWell,
|
||||
Imperil = _imperil,
|
||||
Yield = _yield,
|
||||
Vuln = _vuln,
|
||||
UseArc = _useArc,
|
||||
UseBolt = _useBolt,
|
||||
UseRing = _useRing,
|
||||
UseStreak = _useStreak,
|
||||
UseBlast = _useBlast,
|
||||
ExVuln = _exVuln,
|
||||
OffhandId = _offhandId,
|
||||
PreferredAmmoItemId = _preferredAmmoItemId,
|
||||
PetDamage = _petDamage,
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>Overwrites combat fields (used to merge a VT Default row into the Rynth Default row).</summary>
|
||||
public void CopyCombatSettingsFrom(MonsterRule? src)
|
||||
{
|
||||
if (src == null) return;
|
||||
// Keep Name: must stay "Default". Use public setters so the grid updates.
|
||||
Category = src.Category;
|
||||
MatchExpression = src.MatchExpression;
|
||||
Priority = src.Priority;
|
||||
DamageType = src.DamageType;
|
||||
WeaponId = src.WeaponId;
|
||||
Fester = src.Fester;
|
||||
Broadside = src.Broadside;
|
||||
GravityWell = src.GravityWell;
|
||||
Imperil = src.Imperil;
|
||||
Yield = src.Yield;
|
||||
Vuln = src.Vuln;
|
||||
UseArc = src.UseArc;
|
||||
UseBolt = src.UseBolt;
|
||||
UseRing = src.UseRing;
|
||||
UseStreak = src.UseStreak;
|
||||
UseBlast = src.UseBlast;
|
||||
ExVuln = src.ExVuln;
|
||||
OffhandId = src.OffhandId;
|
||||
PreferredAmmoItemId = src.PreferredAmmoItemId;
|
||||
PetDamage = src.PetDamage;
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
protected void OnPropertyChanged([CallerMemberName] string? name = null)
|
||||
=> PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
|
||||
|
|
|
|||
Loading…
Reference in a new issue