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
Now, My server doesnt 'drop' unidentified items, so there is no means for the unidentifiedDisplayName, unidentifiedResourceName, unidentifiedDescriptionName, variable.
Now the question is, What should be the 'code' be for the main_function? is this even possible?
Why am I doing this? To save space + for easier addition/editing of items!
Thanks in advance for the help! Hercules truly has a great community!
Hello people! As we all know this is the main function
Now, My server doesnt 'drop' unidentified items, so there is no means for the unidentifiedDisplayName, unidentifiedResourceName, unidentifiedDescriptionName, variable.
Now the question is, What should be the 'code' be for the main_function? is this even possible?
Why am I doing this? To save space + for easier addition/editing of items!
Thanks in advance for the help! Hercules truly has a great community!
-Anjo
Share this post
Link to post
Share on other sites