Authentication-Results: mail-b.sr.ht; dkim=pass header.d=protonmail.com header.i=@protonmail.com Received: from mail-40138.protonmail.ch (mail-40138.protonmail.ch [185.70.40.138]) by mail-b.sr.ht (Postfix) with ESMTPS id BFEA411EE06 for <~gpcf/advtrains-discuss@lists.sr.ht>; Fri, 16 Dec 2022 14:26:12 +0000 (UTC) Date: Fri, 16 Dec 2022 14:26:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1671200771; x=1671459971; bh=VZ4W2n9qqAvQd2jmXjlqyUcDvoKPhcpN6UqzRXbwgJ8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=jTLodB93rzdxyiwJLv49W3ECpygTjGpC6lbkKqjeoA0cMc2lDsoHOGN0NGjBocndr aVPk6xK9CHa74C9aooc/iEsrDeFr96x+w4+/77AGdYaTMZiDk02YH89LCqGrJ/xPv4 8ozJ7blbbzlgDIKUv0ux7U4pukfBrYrmbw83DEtJPGxr5mmgewgIhCBitU8U/H5WYA /9I5vlnDh50FNQVmjUM/RmtW6Ix+SgbSh6nNSQvCSxgBzaFhWdayezpRAn7OvVv5Ki WdoPc8uiKsBHhNwTqK7m0xaoi1htp/TFX4C+CeNQD1Dl9/tywnl219Y4jJj58jFU2A U/Pp565jQvuMw== To: "Y. Wang" From: 56independent <56independent@protonmail.com> Cc: ~gpcf/advtrains-discuss@lists.sr.ht Subject: Re: train.door_open documentation where? Message-ID: In-Reply-To: References: Feedback-ID: 34326020:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Why did you look at the commit log? Bananach did. I used the search function IN TREE VIEW and it still thought it was a good idea to search the commit log. > Instead, I am quite sure that there is something sensible on Windows > that is close to `grep -rn -C3` on Linux. As soon as i get back to my linux machine i'll have a look.=20 > In any case, train.door_open is > * -1 if only the left door is open > * 0 if doors are closed > * 1 if only the right door is open >=20 > The direction is relative to the direction of the train. Thanks. How would i limit it to a specific number of carriages? Orwell [1] did mention that there were functions whih existed but i'm completely lost as to where to look for functions based on functionality. [1] http://advtrains.de/wiki/doku.php?id=3Ddev:proposals:door_indexes#t1649= _0000_orwell