Jump to content
  • 0

Identify Dropped Equipment


Korasu

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  10/19/12
  • Last Seen:  

This is a bit of a ridiculous request, but I couldn't find an answer anywhere. I want to enable the setting that identifies all equipment dropped by mobs automatically; I simply cannot find where to define it lol. If someone could tell me, it'd be much appreciated. Thanks in advance.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

inside trunk/src/map/itemdb.c

change

/*==========================================
* Specifies if item-type should drop unidentified.
*------------------------------------------*/
int itemdb_isidentified(int nameid)
{
int type=itemdb_type(nameid);
switch (type) {
 case IT_WEAPON:
 case IT_ARMOR:
 case IT_PETARMOR:
  return 0;
 default:
  return 1;
}
}

into

/*==========================================
* Specifies if item-type should drop unidentified.
*------------------------------------------*/
int itemdb_isidentified(int nameid)
{
int type=itemdb_type(nameid);
return 1;
}

  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  10/19/12
  • Last Seen:  

Thanks a ton, you rock. I couldn't find this anywhere lol.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   36
  • Joined:  01/21/13
  • Last Seen:  

I'd also like to thank you for this; it works like a charm.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...