Jump to content
  • 0

Edit Item


kronobr

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.02
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/24/19
  • Last Seen:  

Can I create a new item without changing the client? Just using an existing item and just changing its name and creating a new ID?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

21 minutes ago, kronobr said:

Can I create a new item without changing the client? Just using an existing item and just changing its name and creating a new ID?

if you want to edit an item you just have to edit the db/pre or re/item_db  &   system/itemInfo.lua

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

yeah but it wouldnt have a sprite or anything but itd exist 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.02
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/24/19
  • Last Seen:  

@Naruto will be that apple? I can use other item same sprite?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

2 hours ago, kronobr said:

@Naruto will be that apple? I can use other item same sprite?

yeah but i dont remember which conf it is 

I promise you can change it though 

 

if you cant find it, just ask @AshiHanna 

 

then ask me again if you still cant find it

I had a few seconds to look tonight here it is in itemdb.h

 

#ifndef UNKNOWN_ITEM_ID
//Use apple for unknown items.
#define UNKNOWN_ITEM_ID 512
#endif

 

Edited by Naruto
Link to comment
Share on other sites

  • 0

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

if you just want to duplicate a new item without changing any item description / name, then you can use this

db/item_avail.txt

it will create a new item based on an existing item, so you dont need to edit any clientside files.

only item_db and item_avail 2 files.

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...