Jump to content

Recommended Posts

Posted (edited)

getInventory  gives a complete inventory for a warehouse, but seems to exclude items that are fully depleted, instead of returning "0" as the qty.

image.png?ex=68285b16&is=68270996&hm=0ea

 

If i use

warehouse.getItemCount(wh, <depletedItem>)

it will return 0, showing the warehouse has the item, but its qty is 0.

image.png?ex=68285a6b&is=682708eb&hm=ff0

 

why does getInventory exclude 0-qty items?

image.png?ex=68285a6b&is=682708eb&hm=0e6

Edited by Laxxor
images were broken or otherwise not displaying
  • 2 weeks later...
Posted (edited)

No it is entirely illlogical to tell you everything you have some of but not tell you that which you have nothing of.... If you wrote your shopping lists on that premise you would find you are missing something when you went to use it...

Quote

"what do we need?"

"um... nothing! every shelf that has things on it, has at least one thing!"

....

"please load some GBU-12s on my plane"

"no, we don't have any"

"?"

the issue is that when QTY is 0, the game doesnt even aknowledge there IS such an ordinance shelf that is empty, but _does_ continue to list it in the airfield resources UI.

Edited by Laxxor
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...