feat(loot): include T11 attributes when adding an item to a loot profile #4

Closed
Silentkelpie wants to merge 1 commit from Silentkelpie/SK-RynthSuite:feat/loot-add-t11 into main
First-time contributor

Summary

Add to loot profile gains an Include T11 attributes option: the popup checkbox (rynth/RynthCore PR #3) or /ra loot add ... t11.
With it on, the rule also requires the clicked item's T11 values, each at least the item's, on RynthAi's virtual T11 keys:

  • IsT11 = 1;
  • estimated tier, weapon grade, damage %;
  • each catalogued modifier (T11Keys.ForModifier);
  • a slot special with no value: HasSlotSpecial = 1;
  • Cast on Strike count.

Notes

  • An item that isn't T11 gets the note "Not a T11 item, so there are no T11 attributes to add."
  • An unidentified T11 item gets a note, and the add asks the server to identify it.
  • Modifiers RynthAi has no loot key for are listed as left out.

Changes

  • Shared/RynthCore.LootSdk/Editing/LootItemRules.cs: LootItemFacts.T11, LootItemRuleOptions.IncludeT11, AddT11Conditions.
  • Shared/RynthCore.LootSdk/Editing/LootEditWire.cs: IncludeT11 on the request, IncludeT11 / IsT11 on the draft.
  • Plugins/RynthCore.Plugin.RynthAi/Loot/LootEditorBridge.cs: passes IncludeT11 through and reports IsT11.
  • Plugins/RynthCore.Plugin.RynthAi/RynthAiCommands.cs: fills T11 from T11ItemSupport; the t11 keyword; help text.
  • Tools/RynthCore.LootSdkTests/LootAddT11Tests.cs: new tests.

Testing

  • On main bf702eb: RynthAi builds; LootSdk golden tests pass (including the new T11 add tests).
  • Host tests: 504 passed, 5 known failures, 1 failure that needs the real dats (map bake), the same as main.
## Summary *Add to loot profile* gains an **Include T11 attributes** option: the popup checkbox (rynth/RynthCore PR #3) or `/ra loot add ... t11`. With it on, the rule also requires the clicked item's T11 values, each at least the item's, on RynthAi's virtual T11 keys: - `IsT11` = 1; - estimated tier, weapon grade, damage %; - each catalogued modifier (`T11Keys.ForModifier`); - a slot special with no value: `HasSlotSpecial` = 1; - Cast on Strike count. ## Notes - An item that isn't T11 gets the note "Not a T11 item, so there are no T11 attributes to add." - An unidentified T11 item gets a note, and the add asks the server to identify it. - Modifiers RynthAi has no loot key for are listed as left out. ## Changes - `Shared/RynthCore.LootSdk/Editing/LootItemRules.cs`: `LootItemFacts.T11`, `LootItemRuleOptions.IncludeT11`, `AddT11Conditions`. - `Shared/RynthCore.LootSdk/Editing/LootEditWire.cs`: `IncludeT11` on the request, `IncludeT11` / `IsT11` on the draft. - `Plugins/RynthCore.Plugin.RynthAi/Loot/LootEditorBridge.cs`: passes `IncludeT11` through and reports `IsT11`. - `Plugins/RynthCore.Plugin.RynthAi/RynthAiCommands.cs`: fills `T11` from `T11ItemSupport`; the `t11` keyword; help text. - `Tools/RynthCore.LootSdkTests/LootAddT11Tests.cs`: new tests. ## Testing - On `main` bf702eb: RynthAi builds; LootSdk golden tests pass (including the new T11 add tests). - Host tests: 504 passed, 5 known failures, 1 failure that needs the real dats (map bake), the same as `main`.
'Add to loot profile' gains an Include T11 attributes option (popup checkbox,
/ra loot add ... t11). The rule then also requires the item's T11 tier,
grade, damage %, each catalogued modifier, slot special and Cast on Strike
count, each at least the clicked item's, on RynthAi's virtual T11 keys.
Needs the engine's matching checkbox (rynth/RynthCore) for the popup; the
chat command works without it.

Co-authored-by: Cursor <cursoragent@cursor.com>
Author
First-time contributor

Closing. Already in main (T11 attributes in Add to loot). Anything still wanted comes back on the standing sk PR, rebased on main 2026.10.11.1.

Closing. Already in main (T11 attributes in Add to loot). Anything still wanted comes back on the standing `sk` PR, rebased on main 2026.10.11.1.
Silentkelpie closed this pull request 2026-10-12 00:19:34 -04:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rynth/RynthSuite!4
No description provided.