Jump to content

Minimalistic solution to the planet depletion mechanic


Recommended Posts

I don't know why but I have a tendency to overengineer my ONI issues, and so I wasted almost an entire day on creating an automation system that waits with the next launch until the target planet has replenished its resources.

Turns out there's SOOO much simpler solution to this whole problem I haven't thought about at all!

Wait for it... wait for it...

Just meter the god damn petroleum. That's what.

petro_kg_per_second = total_petroleum_kg / ((max_cargo_kg - trip_time * replenishment_rate * 2) / replenishment_rate) / 600

Why haven't I thought about this? xD

 

I include my spreadsheet to calculate this stuff for you. See below

P.S The formula accounts for the trip time replenishment both ways as well.

fuel_meter_ONI.ods

3 hours ago, TheMule said:

Well, people have been using valves for quite a bit. But... I think you should take into account refuel time in your formula. The replenisment goes on also while the rocket is waiting for fuel...

I'm assuming the fuel is already behind the shutoff, waiting to be released. And those couple of seconds that passes while fuel has to travel through the remaining section of the pipe is insignificant.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...