Patch: More conditonal orders (r15271)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

aberro
Engineer
Engineer
Posts: 64
Joined: 20 May 2013 20:20

Re: Patch: More conditonal orders (r15271)

Post by aberro »

Patch for current trunk, NOT CHECKED! I've only fixed it that it could be compiled for current trunk and ottd starts game.
Attachments
more-cond-orders-r26470M.patch
(29.48 KiB) Downloaded 129 times

falconfab
Engineer
Engineer
Posts: 6
Joined: 06 May 2007 20:07

Re: Patch: More conditonal orders (r15271)

Post by falconfab »

I'd like writeing routines.
Two new conditionals are enough.
A counter ("i=i+1") and "do while".

I like complex scenarios with ships:)

EarthlingKira
Engineer
Engineer
Posts: 17
Joined: 11 Jan 2018 15:19
Location: Solingen (Germany)

Re: Patch: More conditonal orders (r27962)

Post by EarthlingKira »

I've fixed some issues with current trunk and also tested the fixed patch with trunk, seems to work :)

New version for r27962 attached
Attachments
more-cond-orders-r27962.patch
(30.88 KiB) Downloaded 86 times

odalman
Engineer
Engineer
Posts: 37
Joined: 07 Jan 2020 01:46

Re: Patch: order jump based on waiting/accepted cargo (r13691)

Post by odalman »

eerroorr wrote:
31 Jul 2008 23:49
"is false" business is a bit clumsy:D
I would replace:
"when ... is true" => "when ..."
"when ... is false" => "unless ..."

Example: Jump to order 5 unless Next station accepts Coal

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 6 guests