AtomicTorch Studio Forums

VoidExpanse => Modding info => Topic started by: p0ki on September 15, 2015, 01:47:09 pm

Title: Add Cargo by Device
Post by: p0ki on September 15, 2015, 01:47:09 pm
Hy there,
I learned that you can remove Cargo by this command:
Code: [Select]
ship.RemoveCargoByType(args.ship_id, "item_id", $amount);But how do you add Cargo?
ship.AddCargoByType didn't do it.
ship.AddItemToStorage didn't do it.

So what do it? I just know the two it ...
... commands.
(I know that properly it would be "does" but if you get the reference, you are awesome)

Any help appreciated :)
Title: Re: Add Cargo by Device
Post by: Lurler on September 15, 2015, 07:50:48 pm
Hm, you can just take a loot at any of the topics in the game that uses these functions and see how they work. I think it is better than any explanation :)
Title: Re: Add Cargo by Device
Post by: p0ki on September 16, 2015, 03:56:05 am
Thanks, found it.
Title: Re: Add Cargo by Device
Post by: Teerawut on October 29, 2017, 10:05:36 pm
Add product by device I think it is a very good way.คาสิโนออนไลน์ (http://www.bootsosale.net)