API GetNumStationDesiredItems
From Vendetta Lua
GetNumStationDesiredItems
Definition:
GetNumStationDesiredItems() -> int num
Description:
Get number of items this station desires. The names of the items can then be fetched with GetStationDesiredItem.
Returns:
num The number of items the station wants.
Example:
<source lang="lua">
for i = 1, GetNumStationDesiredItems(), 1 do
print("This station wants: "..GetStationDesiredItem(i))
done
</source>