Skip to content

[HACK] Auto-Identify without scrolls or spells

Mr2150Mr2150 Member Posts: 1,170
edited September 2016 in UI Modding
Fed up wasting those spell slots, or stumping up cash to get your stuff identified?


Here's a very simple UI.menu hack...

Search for:

Infinity_PushMenu('ITEM_IDENTIFY',0,0)

You'll find it in the itemDescLeftButtonAction() function.

Just replace that line with:

Infinity_OnSpellIdentify(characters[id].equipment[selectedSlot].id); itemDesc.item = characters[id].equipment[selectedSlot].item --update itemDesc item

and voila!
Now when you right-click to view the item description - just click identify to identify it.

EDIT:

If you feel that's too much like cheating then replace that line with these instead:
costGold = 50 if characters[id].gold >= costGold then C:AddGold(-costGold) Infinity_OnSpellIdentify(characters[id].equipment[selectedSlot].id); itemDesc.item = characters[id].equipment[selectedSlot].item --update itemDesc item else Infinity_PlaySound('GAM_47') end
You can change the line 'costGold = 50' to however much you want to pay and it will check that you have that much and make an error noise if you don't have enough.
Now you are 'paying' for the service of identifying, you just don't need to go somewhere special to perform it :)


Post edited by Mr2150 on

Comments

  • smeagolheartsmeagolheart Member Posts: 7,963
    @AncientCowboy

    include?
  • AncientCowboyAncientCowboy Member Posts: 199
    Yep - on the list.
  • GrimLefourbeGrimLefourbe Member Posts: 637
    Pretty sure there's a Tweak in Tweaks anthology that just identify all items. What would be the difference?
  • Mr2150Mr2150 Member Posts: 1,170
    edited September 2016
    Probably not much - this is accomplished through the UI rather than through a WEIDU mod. So the end result is similar but how it's achieved is what differs.

    EDIT - I just updated the code so you can choose how much each identify is worth when you first edit the UI.menu :)
    Post edited by Mr2150 on
  • AncientCowboyAncientCowboy Member Posts: 199
    I've included this mod in v 1.6 of EEUITweaks. As part of the installation, you'll be given a choice as to 6 possible 'Costs' - None, 10GP, 25GP, 50GP, 100GP, or 200GP. The goal being to allow the player to make it as painless/painful as desired :smile: .
  • Mr2150Mr2150 Member Posts: 1,170
Sign In or Register to comment.