Jump to content
  • 0

About item description (Remove all about unidentified)


Question

Posted

 

[6268] = {

unidentifiedDisplayName = "Key Of Gaiety",
unidentifiedResourceName = "ศฒฑฟญผ่",
unidentifiedDescriptionName = {
"A Key which nicknamed 'Pleasure'. You're not sure what this key is for.",
},
identifiedDisplayName = "Key Of Pleasure",
identifiedResourceName = "ศฒฑฟญผ่",
identifiedDescriptionName = {
"A Key which nicknamed 'Pleasure'. You're not sure what this key is for.",
},
slotCount = 4,
ClassNum = 0
},

 

I want to make item description logic to

 

 

[6268] = {

identifiedDisplayName = "Key Of Pleasure",
identifiedResourceName = "ศฒฑฟญผ่",
identifiedDescriptionName = {
"A Key which nicknamed 'Pleasure'. You're not sure what this key is for.",
},
slotCount = 4,
ClassNum = 0
},

 

How do I could be change?

 

I found this.

 

 

main = function()

for ItemID,DESC in pairs(tbl) do
result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum)
if not result then
return false, msg
end
for k,v in pairs(DESC.unidentifiedDescriptionName) do
result, msg = AddItemUnidentifiedDesc(ItemID, v)
if not result then
return false, msg
end
end
for k,v in pairs(DESC.identifiedDescriptionName) do
result, msg = AddItemIdentifiedDesc(ItemID, v)
if not result then
return false, msg
end
end
end
return true, "good"
 end

 

but still no understand of it.

 

Thanks for help.  /lv

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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