API JettisonMultiple

From Vendetta Lua
Jump to: navigation, search

JettisonMultiple

Definition: JettisonMultiple{item1 = {int id, int quantity} ..} -> nil
Description:
Jettison cargo items and quantitiss according to the provided table
Arguments:
item1 table containing quantity and itemid of cargo to jettison id itemid of cargo item quantity amount of this cargo to jettison
Example:

JettisonMultiple{{id=1234, quantity=2}, {id=1235, quantity=3}}

jettison 2 untis of the cargo with the itemid 1234 and 3 with the id 1235