Jump to content
  • 0

Question

Posted

Hi Guys! Im just going to ask about iteminfo.lua

 

Do i need to manually add

 

[<item id>] = {
unidentifiedDisplayName = <item name to show when not magnified>,
unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>,
unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> },
identifiedDisplayName = <item name to show when magnified>,
identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>,
identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> },
slotCount = <number of slots>,
ClassNum = <View ID - yes the same one that was there item_db>
},

 

Of my custom item?

 

Thank you!

4 answers to this question

Recommended Posts

Posted

Open you system/iteminfo.lua (if you don't have one, just download him here in rathena).

 

Add in last line of the file (to make more easy to found, or you can add following the item id order)

[<item id>] = {
unidentifiedDisplayName = <item name to show when not magnified>,
unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>,
unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> },
identifiedDisplayName = <item name to show when magnified>,
identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>,
identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> },
slotCount = <number of slots>,
ClassNum = <View ID - yes the same one that was there item_db>
},

 

Example:

    [20302] = {
        unidentifiedDisplayName = "Hat",
        unidentifiedResourceName = "ĸ",
        unidentifiedDescriptionName = {
            "Unknown Item, can be identified by ^6A5ACDMagnifier^000000."
        },
        identifiedDisplayName = "Costume Beelzebub Crown",
        identifiedResourceName = "Cº£¸£Á¦ºêºêÀǿհü",
        identifiedDescriptionName = {
            "A crown of MVP Beelzebub from nameless island. Its give noble atmosphere.",
            "Class: ^777777Costume^000000",
            "Defense: ^7777770^000000",
            "Location: ^777777Upper^000000",
            "Weight: ^7777770^000000",
            "Required Level: ^7777771^000000",
            "Jobs: ^777777All^000000"
        },
        slotCount = 0,
        ClassNum = 1343
    },

 

Posted

Well you could say it's the files in data/ like id2numdesctable and in one file, converting those is a pain in the a** if you have too many items.

Regards,

Chris

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...