message: masterwork fix + slight improve of ornaments
diff: @@ -910,14 +910,24 @@ function buildSockets(
  failReasons = `\n\n${failReasons}`;
  }
  const reusablePlugs = (socket.reusablePlugHashes || []).map((hash) => defs.InventoryItem.get(hash));
  - const plugOptions = reusablePlugs.length > 0 && (!plug || !socket.plugHash || (socket.reusablePlugHashes || []).includes(socket.plugHash)) ? reusablePlugs : (plug ? [plug] : []);
  + // 1742617626 - armor ornaments
  + // 3124752623 - weapon ornaments
  + const isOrnamentPlug = plug && (plug.itemCategoryHashes.some((hash) => [1742617626, 3124752623].includes(hash)));
  + const plugOptions = reusablePlugs.length > 0 && (!plug || !socket.plugHash || ((socket.reusablePlugHashes || []).includes(socket.plugHash) && !isOrnamentPlug)) ?
  + reusablePlugs :
  + (plug ? [plug] : []);
  // the merge is to enable the intrinsic mods to show up even if the user choosed another
  - // plug.itemTyper - removes the reusablePlugs from masterwork
  + // plug.itemCategoryHashes.includes(141186804) - removes the reusablePlugs from masterwork
  // plug.action - removes the "Remove Shader" plug
  if (reusablePlugs.length > 0 && plugOptions.length > 0) {
  - reusablePlugs.forEach((plug) => { if (!plugOptions.includes(plug) && plug.itemType && plug.action) { plugOptions.push(plug); } });
  - }
  - const plugOptionsPerks = plugOptions.length > 0 ? (plugOptions.filter((plug) => plug.perks.length > 0) || []).map((plug) => defs.SandboxPerk.get(plug.perks[0].perkHash)) : [];
  + reusablePlugs.forEach((plug) => {
  + if (!plugOptions.includes(plug) && !plug.itemCategoryHashes.includes(141186804) && !isOrnamentPlug && plug.action) {
  + plugOptions.push(plug);
  + }});
  + }
  + const plugOptionsPerks = plugOptions.length > 0 ?
  + (plugOptions.filter((plug) => plug.perks.length > 0) || []).map((plug) => defs.SandboxPerk.get(plug.perks[0].perkHash)) :
  + [];
  const plugObjectives = (socket.plugObjectives && socket.plugObjectives.length) ? socket.plugObjectives : [];
  return {
  