Jump to content
  • 0

About item description (Remove all about unidentified)


Start_

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  950
  • Reputation:   180
  • Joined:  04/05/13
  • Last Seen:  

 

[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

Link to comment
Share on other sites

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.

×
×
  • Create New...