Hello!
I have a OThire server, where i added a NPC that buys "everything". Problem is that when i try to sell foe. a Short Sword, Double axe or Spike Sword, the NPC says
03:46 Mister: sell short sword
03:46 Handlarn: Do you want to sell 1 sword for 25 gold coins?
03:49 Mister: sell double axe
03:49 Handlarn: Do you want to sell 1 axe for 7 gold coins?
03:49 Mister: sell spike sword
03:49 Handlarn: Do you want to sell 1 sword for 25 gold coins?
Feels like the there's a conflict with certain items that have spaces in the names. Not all of them though.
Attached the files below if someone are bored and wanna check it up.
I have a OThire server, where i added a NPC that buys "everything". Problem is that when i try to sell foe. a Short Sword, Double axe or Spike Sword, the NPC says
03:46 Mister: sell short sword
03:46 Handlarn: Do you want to sell 1 sword for 25 gold coins?
03:49 Mister: sell double axe
03:49 Handlarn: Do you want to sell 1 axe for 7 gold coins?
03:49 Mister: sell spike sword
03:49 Handlarn: Do you want to sell 1 sword for 25 gold coins?
Feels like the there's a conflict with certain items that have spaces in the names. Not all of them though.
Attached the files below if someone are bored and wanna check it up.
Attachments
-
Handlarn.lua24.8 KB · Views: 2 · VirusTotal
-
modules.lua26.1 KB · Views: 2 · VirusTotal