
I don't think this will work nicely with trams. Unload all at Station B and refit to EngSup
OPENTTD CONDITIONAL ORDERS FULL
Refit to Metal and Wait for full load at Station A If I understand you correctly: You want to send the minimum amount of metal to a machine shop to match your engsup needs?
OPENTTD CONDITIONAL ORDERS HOW TO
Ideally, the trams would only transfer metal if there's not enough ENSP available, but I wasn't sure how to introduce conditional orders into what is already a complicated set-up. This works really well, but now I don't have a means of automating it the supply so that it doesn't generate too much or too little ENSP. transfer ENSP onto the steel station (it's simpler for my rail infrastructure to have just one big station).go into the depot and refit into engineer supplies.

The orders I have set up for the trams is to: I have the following tram set up going on: Right now I have a huge Steel Mill complex with a Machine Shop just next door. I'm trying to set up something similar earlier in the industry chains and I'm wondering how to set up a conditional order. openttdcoop - large scale, advanced network and infrastructure projectsįollowing this thread's advice on setting up a self-regulating engineering supply train was very helpful when playing with FIRS.To get your mittens on some flair, please contact us from the account you want flaired with appropriate proof of your identity. OpenTTDCoop or other large community team members.We hand out special "verified user" flair to those who request it and are in a genuine need for it. Official IRC Channel (#/r/openttd on OFTC).Report a Player / Moderator Contact /r/openttd links of interest reddit OpenTTD server network Server Rules - please read these!

This subreddit welcomes any OpenTTD related content, discussions, and questions! Transport-related subjects are also permitted, but please try to keep it somewhat relevant to the game at hand. The project aims to produce a fully open source version of the 1994 classic, while extending it with new graphical options, signal types, and much more.

OpenTTD is an open source remake of Chris Sawyer's Transport Tycoon Deluxe. Seems to apply with -p0, though - usually my patches are git-style (-p1) patches.If you're joining one of our servers, please be sure to thumb through our house rules. You find all three fixes in the diff I'm attaching.Įdit: Apparently I messed up when editing useless stuff out of the diff, and I can't figure out how to replace an attached file. While that does not hurt because the value is not checked for this condition, it still should be forbidden. MOF_COND_DESTINATION makes no sense for station orders, but was allowed, and with a conditional order that has the variable OCC_REQUIRES_SERVICE changing the value was possible. I fixed it locally by changing CmdModifyOrder to, well, reset the value when OCV_REQUIRES_SERVICE is chosen.Īlso in CmdModifyOrder I found two cases where CMD_ERROR should be returned, but isn't. I noticed another related inconsistency in the behavior of the order window: When changing the variable of a conditional order to Unconditionally the value is reset to 0 and its button is disabled, but when changing the variable to Requires Service instead, the button is disabled only, the value is not reset.

Other methods to fix are raising the buttons while keeping the order untouched, or enabling them like the refit button when a refit is set but now impossible due to a changed consist, but this fix is consistent with how the refit is handled when switching to Go Via. My suggested fix is to modify line 1405 of src/order_cmd.cpp so it forces the load and unload options (in addition to the refit cargo, which is already forced to CT_NO_REFIT) to their default values if the vehicle does not stop at the destination.įor convenience, I attached the diff of the suggested fix. Result: The button(s) pushed in step 3 are still lowered, but disabled because the vehicle does not stop at the destination station.
