API JettisonMultiple

From Vendetta Lua
Jump to navigationJump to 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:
<source lang="lua">JettisonMultiple{{id=1234, quantity=2}, {id=1235, quantity=3}}</source>
jettison 2 untis of the cargo with the itemid 1234 and 3 with the id 1235