server
server copied to clipboard
Rashid new structure
Issue by pitis91
Saturday Dec 13, 2014 at 21:29 GMT
Originally opened as https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS/issues/1510
Explaination: If you say trade and later one word writen on dark blue he only show the dark blue list who you have told.
22:20 noname [201]: hi 22:20 Rashid: Ah, a customer! Be greeted, noname! 22:21 noname [201]: trade 22:21 Rashid: Of course, old friend. You can also browse only {armor}, {legs}, {shields}, {helmets}, {boots}, {weapons}, {enchanted weapons}, {jewelry} or {miscellaneous} stuff. 22:28 noname [201]: armor 22:28 Rashid: I currently buy these.
Note: words on {} are dark blue message.
it works like this on most (if not all) trader npcs, we need to remove all the xml part of then and create tables in lua with categories in order to give this functionality