Rebel Posted January 11, 2017 Posted January 11, 2017 My friends found a sick way to make money buying stuff from an npc shop, now it's been some time since i last coded something and i'm looking someone to tell me am i missing some events here. > If inventory is !full, go to npc and trade. > Buys till the stock is empty or inventory is full and banks > If stock is empty == hop Thanks!
Rebel Posted January 11, 2017 Author Posted January 11, 2017 If out of money -> quit Totally forgot, thanks!
Solution Posted January 11, 2017 Posted January 11, 2017 Totally forgot, thanks! There's obviously more logic required that might be dependent on wherever you're buying from (if it's a dangerous area for example)
Rebel Posted January 11, 2017 Author Posted January 11, 2017 There's obviously more logic required that might be dependent on wherever you're buying from (if it's a dangerous area for example) Yeah of course ;), I think i'll manage now when i have all the events done. 1
InsomniakSam Posted February 1, 2017 Posted February 1, 2017 On 2017-01-11 at 8:59 AM, Rebel said: My friends found a sick way to make money buying stuff from an npc shop, now it's been some time since i last coded something and i'm looking someone to tell me am i missing some events here. > If inventory is !full, go to npc and trade. > Buys till the stock is empty or inventory is full and banks > If stock is empty == hop Thanks! Don't forget to insert a condition with > money in your buying event or it will get stuck at not enough coin