triomale.blogg.se

Openttd conditional orders
Openttd conditional orders





openttd conditional orders

For the last oil rig, I do not check for load, I just instruct the oil barge to go straight to port to unload and then start the round all over again. If it is less than 95% (adjust for size of oil barge) it goes to the next oil rig, but if it is 95% or more then it goes to port to unload or transfer.

openttd conditional orders

What this does is goes to an oil rig, after it loads the petroleum, it checks to see how much it has loaded. Go to Oil Rig 4 (Last oil rig, or rig closest to port)

  • Jump to 10 if Load is 'less than or equal to' 95%.
  • Jump to 7 if Load is 'less than or equal to' 95%.
  • Jump to 4 if Load is 'less than or equal to' 95%.
  • This will cause the ship to go to 1, 2, think "Oh I'm full, lets go drop off something" and go to the drop-off depot, continue to 3, 4 and loop back at the end of the order list. Then add another order to go to the depot where it has to deliver (which will be N+2) and then the order to go to the next location (making it N+3).

    OPENTTD CONDITIONAL ORDERS FULL

    Its also possible to to the reverse, after every " Go to place" order add a conditional order with "If less than 80% full Go to Order N+3" (where N is the order number of the " Go to place", N+1 is the conditional order, etc). The downside to this is that the last stations will be visited less often than the first ones. When the ship is done with loading somewhere it will check that order, and if nearly full it will go back to the first order (change the numbers if this is undesirable). The way I usually do this is, after every " Go to place" order add a " Conditional order jump" with something like "If 80% full Go to Order 1".







    Openttd conditional orders