-
Active Member
[Ez] RepairAndSalvagePlugin
If you press F3 after interacting with the blacksmith, this plugin first repairs your equipment and then salvage the items from the inventory. It will work from any initial tab and when finished it will always switch to the salvage tab. If you use this plugin you won't need my other plugin AlwaysRepairYourItems.
It requires having a lock area defined in the inventory (edit file config\config.xml). Example: <inventory_lock left_column="7" top_row="0" right_column="9" bottom_row="5" />
All Legendary items (and also rare/magic/normal items if your character didn't reach level 70) that you place in the lock area will be safe from being destroyed. Items that are outside the lockout area (and all rare/magic/normal if you are level 70 regardless of where they are) will be salvaged as long as:
Have not been rolled
Have not been transfigured
Don't have Socket with gems set
Don't be Primals
Not be present in Armory
Don't be Soulshards (not upgraded) or Whisper of Atonement.
If you know how to code, consult GetItemsToSalvage() to make modifications and/or add functionalities.
It's automation, use it at your own risk.
Download => Plugins\Ez\RepairAndSalvage.cs
Custom Code (PluginEnablerOrDisablerPlugin):
Code:
Hud.RunOnPlugin<Ez.RepairAndSalvagePlugin>(plugin =>
{
plugin.Enabled = true;
plugin.saveItemPrimal = true; // Keep primal items , not salvage
plugin.saveItemAncient = false; // Keep ancient items , not salvage
plugin.ConfirmWihtEnterKey = false; // Use Key Enter or Mouse Virtual for dialog confirmation
plugin.ToggleKeyEvent = Hud.Input.CreateKeyEvent(true, Key.F3, controlPressed: false, altPressed: false, shiftPressed: false); // Hotkey
plugin.LMod_SalvagePlugin_Disable = true; // Disable plugin LMod
plugin.IgnoreInventoryLockArea = false; // If false -> Lock area required in the inventory. If true -> Lock area is not required and will be ignored if it exists.
plugin.RestoreMousePointer = true; // Restore to original position.
plugin.WhiteList.Add(Hud.Sno.SnoItems.Unique_Polearm_101_x1, 0); // Bovine Bardiche // Read interfaces\Controllers\sno\ISnoItemsList.cs for SnoItems // (0 -> legendary normal or higher, 1 -> ancient or higher, 2 -> primal)
plugin.WhiteList.Add(Hud.Sno.SnoItems.Unique_Ring_004_x1, 1); // Puzzle Ring ancient or primal
} );
Last edited by EzGo; 3 Weeks Ago at 08:59 PM.
Reason: I deleted a line by mistake, corrected
-
Member
can you add a setting that removes the block zone?
inventory_lock = false
-
Active Member
Updated: IgnoreInventoryLockArea (false -> Lock area required in the inventory , true -> Lock area is not required and will be ignored if it exists).
Last edited by EzGo; 4 Weeks Ago at 04:51 PM.
-
Post Thanks / Like - 1 Thanks
Punkk (1 members gave Thanks to EzGo for this useful post)
-
Member
Hud.RunOnPlugin<Ez.RepairAndSalvagePlugin>(plugin =>
{
. . . . . . .
plugin.saveItemPrimal = true; // Keep primal items , not salvage
. . . . . . .
} );
Is the same setting possible for the ancients?
-
Active Member
Updated: saveItemAncient added.
-
Member
after breaking things up, the mouse pointer returns to the center of the screen
Is it possible to do this?
-
Active Member
Updated: The mouse pointer will return to its original position.
-
Active Member
Update: Plugin will now be more tolerant with mouse movements while processing items.
Update: I deleted a line by mistake, corrected
Last edited by EzGo; 3 Weeks Ago at 08:59 PM.
Reason: update
-
Member
If you have the opportunity, could you make plugins.
CloseDialogPlugin
CloseQuestDialogPlugin
CloseGRDialogPlugin
EnchantPlugin
UpgradeLegendaryGemPlugin
KadalaPlugin
And if possible, all from LightningMod
-
Active Member
Those plugins, except that they move the mouse pointer, work great. I don't think I'll release any more new plugins this season, maybe for next season.
I love the Enchantplugin, I would use lmod just for that plugin
-
Member
I am used to using plugins. I have the ability to do all this with an assistant in TH Free. But it is easier for me to enable the plugin.
Your plugins do not use what is cut in TH China. And in TH Free there is no way to add plugins from LM )))
Last edited by Punkk; 2 Weeks Ago at 04:04 PM.
-
Active Member
Now I understand...
I use Lmod, I didn't feel the need to redo others. If I tried not to use certain functions implemented in lmod it was for pure entertainment/feeling of independence. :)
Last edited by EzGo; 2 Weeks Ago at 05:31 PM.
-
Member
Lmod needs plugins it doesn't have, like Repair. Everything else can be activated. But the way your plugins work is necessary for THFree.
If you have the ability to make them, that would be nice.