Open rm-you opened 2 years ago
This would probably just need to be done here, before the message is written out to the creditt sheet: https://github.com/rm-you/ninjalooter/blob/master/ninjalooter/utils.py#L643-L644
Probably will want to make a new function in utils.py that takes a message line, tries to match it against the AWARD_MESSAGE_MATCHER, and if it matches, return a converted version instead. If it doesn't match, just return the original.
The only caveat here is that if people configured a custom award message, this will not work. I highly recommend people just leave the standard messages alone, if possible, for this reason.
When exporting to EQDKP, loot that was auctioned via NL will look like this on the export sheet:
[Sat Mar 26 21:57:29 2022] You say, 'LOOT: Item Name PlayerName #'
(without the brackets)If another NL user handled the loot, it will still be caught in the form of gratss messages, that look like this:
[Sat Mar 26 21:57:29 2022] Otheruser says, '~[Item Name] Gratss PlayerName (# DKP)!'
These should probably also be auto-converted on export to the same format as if they were a local auction, just on the off chance that they may need to be uploaded as part of the current attendance sheet.