<feed xmlns='http://www.w3.org/2005/Atom'>
<title>advtrains.git/advtrains/couple.lua, branch release-2.8.3</title>
<subtitle>Advtrains mod for minetest.</subtitle>
<id>https://git.bananach.space/advtrains.git/atom?h=release-2.8.3</id>
<link rel='self' href='https://git.bananach.space/advtrains.git/atom?h=release-2.8.3'/>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/'/>
<updated>2025-06-10T19:39:50+00:00</updated>
<entry>
<title>Remove attrans, unify translation strings with S</title>
<updated>2025-06-10T19:39:50+00:00</updated>
<author>
<name>orwell</name>
<email>orwell@bleipb.de</email>
</author>
<published>2025-06-10T19:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=934dcc3f21a6053d3f6fff08a02ede6f75385173'/>
<id>urn:sha1:934dcc3f21a6053d3f6fff08a02ede6f75385173</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add setting to bypass coupler type checks when coupling</title>
<updated>2024-11-09T21:33:18+00:00</updated>
<author>
<name>Maverick2797</name>
<email>git.maverick2797@gmail.com</email>
</author>
<published>2024-11-02T07:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=3d2d19f6f7eba90f0d19b002824b2ff466567608'/>
<id>urn:sha1:3d2d19f6f7eba90f0d19b002824b2ff466567608</id>
<content type='text'>
Allows a server to disable the coupler checks when multiple coupler types are present, making everything effectively a universal coupler
</content>
</entry>
<entry>
<title>Fix depercated functions</title>
<updated>2024-11-09T21:15:06+00:00</updated>
<author>
<name>1F616EMO</name>
<email>root@1f616emo.xyz</email>
</author>
<published>2024-09-28T22:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=e53670904127c8493e13b587e507407f2beac8b3'/>
<id>urn:sha1:e53670904127c8493e13b587e507407f2beac8b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement staticdata for trains</title>
<updated>2024-11-09T21:10:06+00:00</updated>
<author>
<name>Y. Wang</name>
<email>y5nw@protonmail.com</email>
</author>
<published>2024-09-20T12:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=b075d8e3336dfb2755dd1b9dc29c5320a155013b'/>
<id>urn:sha1:b075d8e3336dfb2755dd1b9dc29c5320a155013b</id>
<content type='text'>
This patch exposes train.staticdata that can be used by other modders to
save data in trains across restarts. It additionally exposes two new
APIs for modders where this is relevant:

* advtrains.te_register_on_couple(function(init_train, stat_train)):
  registers a callback for train coupling, where stat_train is couple
  into init_train and is subsequently removed. This callback is run
  before the actual coupling takes place; in particular, it is run
  before stat_train is removed.
* advtrains.te_register_on_decouple(function(train, newtrain, index)):
  registers a callback for train decoupling, where newtrain is created
  by splitting the train at the given index (the wagon at the index is
  part of the new train). This callback is run after decoupling takes
  place.

advtrains.te_register_on_decouple(function
</content>
</entry>
<entry>
<title>Various translation improvements</title>
<updated>2024-11-04T16:17:52+00:00</updated>
<author>
<name>Y. Wang</name>
<email>yw05@forksworld.de</email>
</author>
<published>2023-10-04T20:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=eb0c5b78627505bcba409dc5f52dbb05891954c5'/>
<id>urn:sha1:eb0c5b78627505bcba409dc5f52dbb05891954c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework translation system to use PO files</title>
<updated>2024-11-04T16:17:08+00:00</updated>
<author>
<name>ywang</name>
<email>yw05@forksworld.de</email>
</author>
<published>2021-03-27T13:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=bed66e0f901ae9f8e21675035f174292120fea4f'/>
<id>urn:sha1:bed66e0f901ae9f8e21675035f174292120fea4f</id>
<content type='text'>
The French translations are provided by Tanavit. Unfortunately I was not
able to keep this addition as a separate commit as the translation file
was originally added as a .tr file that I then converted to .po file in
the meantime.

Also note that this commit is created from squashing 20+ commits from
the l10n branch that preceded the transition to PO files. In addition to
changes to the locale files (which were all included in the single
commit for transitioning to PO files), these commits also included code
that has now become obsolete for l10n work. In particular, it included a
GUI program written in Tcl to edit .tr files; this program can now be
found in the following repo: https://codeberg.org/y5nw/mt_tr_editor

Co-authored-by: Tanavit &lt;tanavit@posto.ovh&gt;
</content>
</entry>
<entry>
<title>Set maximum train length and prevent coupling if it would exceed</title>
<updated>2023-12-19T23:20:56+00:00</updated>
<author>
<name>orwell</name>
<email>orwell@bleipb.de</email>
</author>
<published>2023-12-19T23:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=9fac1db45f79e2312415500b6ec9d22a8edb0cdd'/>
<id>urn:sha1:9fac1db45f79e2312415500b6ec9d22a8edb0cdd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Occupation system: store multiple indices for the same train, introduce reverse_lookup_sel() to select appropriate index out of multiple based on a heuristic</title>
<updated>2023-06-24T12:37:52+00:00</updated>
<author>
<name>orwell96</name>
<email>orwell@bleipb.de</email>
</author>
<published>2023-06-24T12:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=2d7640d424c3d7d558ed0b81b8d98fd306562d11'/>
<id>urn:sha1:2d7640d424c3d7d558ed0b81b8d98fd306562d11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>On-Track Collision system: Fix train teleportation when using split_at_index() from LuaATC</title>
<updated>2021-11-04T19:14:20+00:00</updated>
<author>
<name>orwell96</name>
<email>orwell@bleipb.de</email>
</author>
<published>2021-11-04T19:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=8a9f1389a5ee4c53b423b548bf8c7355adb7ec94'/>
<id>urn:sha1:8a9f1389a5ee4c53b423b548bf8c7355adb7ec94</id>
<content type='text'>
Issue was that train thought it would collide with the newly added back portion although it was already long past this train. Added additional check that current train index is not further than the collision point.
</content>
</entry>
<entry>
<title>Coupler types: Better output when there are no couplers on a wagon</title>
<updated>2021-10-25T19:19:01+00:00</updated>
<author>
<name>orwell96</name>
<email>orwell@bleipb.de</email>
</author>
<published>2021-10-25T19:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bananach.space/advtrains.git/commit/?id=4e80866ca6156a9fa65e8c8539c0756ee5ae7a50'/>
<id>urn:sha1:4e80866ca6156a9fa65e8c8539c0756ee5ae7a50</id>
<content type='text'>
</content>
</entry>
</feed>
