• 0
Sign in to follow this  
kronobr

Edit Item

Question

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?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
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.

Loading...
Sign in to follow this