Extrodus
|| Blazera.net ||
Hey guys, just woke up and Im a bit busy; although I do plan on looking into it later on today I figured its good to ask and see if anyone else has an understanding for the problem.
Basically, on 0.4 (rev.3884) the npcs will take your equipment went selling loot.
For example, you have 2 DSM in your backpack, and one in the armor slot.
When you open the trade window, it shows it will only allow you to sell 2. But it takes your equiped dsm and leaves you one in your backpack.
How exactly would I make it so NPCs will only collect items from the players container?
npc/lib/npc.lua
http://pastebin.com/GBfBari2
npc/lib/npcsystem/modules.lua
http://pastebin.com/nrrQ2aLu
@MatheusMkalo -- Do you have any ideas which part of the code deals with it?
To the top! I think it has something to do with line 275 in npc.lua
Basically, on 0.4 (rev.3884) the npcs will take your equipment went selling loot.
For example, you have 2 DSM in your backpack, and one in the armor slot.
When you open the trade window, it shows it will only allow you to sell 2. But it takes your equiped dsm and leaves you one in your backpack.
How exactly would I make it so NPCs will only collect items from the players container?
npc/lib/npc.lua
http://pastebin.com/GBfBari2
npc/lib/npcsystem/modules.lua
http://pastebin.com/nrrQ2aLu
@MatheusMkalo -- Do you have any ideas which part of the code deals with it?
To the top! I think it has something to do with line 275 in npc.lua
Last edited by a moderator: