Space Engineers

Space Engineers

Cargo Shop Script
7 Comments
Teddy  [author] 13 Apr, 2015 @ 1:17pm 
I'll change that later tonight to ">=". Thanks!
Kip Wilson 9 Apr, 2015 @ 10:58am 
So after going through the script (Im not a great C# programmer) I noticed that your if statement has a condition if (sourceItems.Count == 1) {. So the IF statement only runs if the sourceItems container count equals 1. As soon as you deposit the trade item in the container, sourceItems.Count becomes greater than one and the IF statement no longer runs.
Kip Wilson 5 Apr, 2015 @ 5:14pm 
Not a problem, thanks! :)
Teddy  [author] 5 Apr, 2015 @ 5:07pm 
@Kip - I'm a little busy with work and some other projects but when I grab a free moment I can take a look.
Kip Wilson 4 Apr, 2015 @ 8:33pm 
I really like your script and plan on using it on my dedicated server. I did notice one thing however. You cant make multiple trades until you remove the item that's being traded for out of the Shop_Iron_Vendor container. Is there any way we can fix that? I'd like to be able to trade every run of the script :)
r Cubed3 11 Mar, 2015 @ 5:40am 
i'm setting up my trade house now, if i'm feeling inspired i'll link up a video when it's done. -cheers
a 8 Mar, 2015 @ 4:38pm 
This is a pretty cool idea, I can't wait until space engineers gets big enough that PVE servers will benefit from trading/economies, then scripts like this will be insanely useful.