[HELP] Finding the maximum storage of ware on station

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Vectorial1024
Posts: 304
Joined: Mon, 30. Jul 18, 04:16
x4

[HELP] Finding the maximum storage of ware on station

Post by Vectorial1024 »

Hi there all,

I am working on a new mod, but have found some problems.

I want to know the maximum "allocated" storage of a certain ware of a station. I hope to know it either by external calculation, or by some in-game MD script.

For example, suppose there is an Energy Array. How much Food Rations will the station be allowed to store before it shows that "Food Rations storage limit exceeded"?

Is this possible?
The future awaits.

X4 Foundations mods:
Civilian Fleets: (Obsolete for X4 7.0+) Managing your civilian ships has never been easier.
Station Logistics: Managing your station networks has never been easier.
Market Discovery: Find Black Market Traders; also rerolls them.
Logistics Optimization: Improve your station traders; improve your trade stations!
User avatar
Marvin Martian
Posts: 3614
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian »

$object.cargo.{ware.foodrations}.target - $object.cargo.{ware.foodrations}.count

but to take care of running deliveries i would suggest to take actuall trade from station what amount is offered
Vectorial1024
Posts: 304
Joined: Mon, 30. Jul 18, 04:16
x4

Post by Vectorial1024 »

Thanks for the help!
The future awaits.

X4 Foundations mods:
Civilian Fleets: (Obsolete for X4 7.0+) Managing your civilian ships has never been easier.
Station Logistics: Managing your station networks has never been easier.
Market Discovery: Find Black Market Traders; also rerolls them.
Logistics Optimization: Improve your station traders; improve your trade stations!

Return to “X Rebirth - Scripts and Modding”