Commit Graph

44 Commits (master)

Author SHA1 Message Date
orwell96 764be1bda4 Japanese train: add wheel positions (first try) 2022-02-09 23:16:03 +01:00
orwell96 61a4526e8c Coupling: Add coupler type definitions 2021-10-25 21:13:26 +02:00
Maverick2797 d44c410f7c MT 5.x player position fixes
- Detailed Steam Engine

 - Big Industrial Engine
2021-05-13 22:38:46 +02:00
orwell96 c0203bf92a Add license documents 2021-04-25 22:24:45 +02:00
orwell96 c51aa6ced2 Replace deprecated depends.txt's by mod.conf and organize dependencies consistently, add modpack.conf 2021-03-13 11:12:56 +01:00
orwell96 05a7a1cecb Add some missing craft recipes
- LuaATC remains non-craftable for now (elevated privs necessary anyway)
- Some crafts altered from dario's proposal

Co-authored-by: W3RQ01 <dario23@linux-forks.de>
2021-02-19 18:46:03 +01:00
Hume2 7c0d45ccfc subway trains: display up to two digits
Additionally, as an addition by gpcf, trains having an S as the first
letter of their LN get the number behind the S displayed as a line
number
2020-07-25 19:07:02 +02:00
ywang a84e17fa78 [BREAKING] Use client-side translations instead of intllib; add zh_CN translations
* Client-side translations is used instead of intllib. [Breaks MT4 compat]
* Existing locale files have been moved to advtrains/locale and named with the format advtrains.[lang].tr
* Add zh_CN locale. (requires a font that supports CJK text)
2020-07-19 16:21:08 +02:00
Blockhead a2f68371ec Use a standard wagon inventory formspec
This new formspec also allows access to the wagon properties. Once
whitelisted in the wagon properties, other players can access its
inventory.

Note on 'useless use' of OO: I tried passing just the wagon ID and
avoiding using the `self` object in order to bypass the need to look up
the lua entitie out of the list, but it ended up retrieving nil data.
The best way to solve this overhead might be to wait for some kind of
better way upstream in minetest's lua API to get entities, or to keep a
central record of entities. Either way, the solution is outside the
scope of this commit.
2020-03-18 00:35:30 +11:00
orwell96 7ed69d69fc Get rid of the "Subway Train" item (was an ugly hack anyways, and is obsolete now) 2020-03-08 18:50:04 +01:00
orwell96 69c8ff8f6d Merge branch 'mt5-fixes' 2020-01-04 18:37:52 +01:00
orwell96 ebf1b10628 Remove fullbright (H#140) 2019-12-18 10:08:03 +01:00
orwell96 71723aca4f Move attachment positions down 1 node 2019-12-05 10:15:54 +01:00
ywang c15985883c Fix steam engine sound playing forever (H#121) 2019-11-27 10:23:05 +01:00
orwell96 5497aaaa8b Configurable interval for get_off setpos and door pos fix for japanese train 2019-03-09 11:17:14 +01:00
orwell96 223d2e1a5f Add "X" line symbol for subway trains terminating/service trips 2019-02-05 10:32:08 +01:00
orwell96 8d09820517 Fix "subway train" item 2019-01-22 12:42:55 +01:00
orwell96 a1c0b3a6d3 Change get_inventory_formspec API - add invname parameter 2018-12-10 22:54:23 +01:00
orwell96 9c9450ccb7 Remove superfluous "tarvelocity" assignments 2018-11-20 12:03:34 +01:00
orwell96 9a1f381882 Make "Line" property accessible from OBC and gettable via LATC, change subway wagon texture handling 2018-11-20 11:57:46 +01:00
Thomas Rudin eb0f6f9d51 lower steel return 2018-09-28 20:48:38 +02:00
h-v-smacker ce48c773ff onboard computer fix 2018-08-12 17:53:03 +02:00
orwell96 04a9f08478 Fix box wagons 2018-06-14 21:33:18 +02:00
orwell96 a0ff37eabb Fix bugs found while testing 2018-06-14 17:39:42 +02:00
orwell96 544e5ba2bb Revert assign_to_seat_group order on subway train
as train_operator on Linuxworks, it often happens that you accidentally manually drive a subway train.
This is more effort to get to the drivers seat, but is how the behavior was for the last 6 months
2018-01-15 13:39:49 +01:00
orwell96 34d7bee975 Add bord computer to trains
Features:
- couple/decouple trains from a driver stand
- new couple lock system (owner based, overridable by 'train_remove' privilege)
- all train operators can now change the inside/outside text, allows for multilines
Accessible via right-click menu or by pressing Sneak+Jump keys
2018-01-09 21:30:56 +01:00
orwell96 ea436e39c4 Move driving_ctrl_access property to seat group
there's now a more strict check for the train_operator privilege
Also added custom reasons on getting on a train.
2018-01-09 18:30:29 +01:00
orwell96 97a6c8de18 Merge branch 'master' of https://github.com/orwell96/advtrains 2018-01-07 20:54:01 +01:00
orwell96 b9aa90a22c Don't use looped sounds on subway
(causes engine bugs with dangling sound handles)
2018-01-07 20:52:15 +01:00
orwell96 9ff0cdfd9d Change controls for trains (again) 2018-01-07 20:41:48 +01:00
mbb c5afdc6c0b steam locomotive: Add sounds and improve textures 2017-12-23 10:12:14 +01:00
orwell96 ef7d73e1cd Rewrite rail connection system...
...to support an arbitrary number of connections for rails, which leads to these new features:
- switches now get recognized by the trackworker correctly
- ability to add real rail crosses
During this, I also rewrote the rail registering system and the conway function (important part of path prediction)
Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own
(possibly breaks advcarts)
2017-12-18 23:09:23 +01:00
orwell96 a152a188a6 Try to fix occasional crash when placing wagons 2017-12-17 13:21:56 +01:00
mbb dcf433b7e7 Improve textures and models of industrial train and add new more powerful industrial engine 2017-12-12 22:28:57 +01:00
orwell96 ac3d4dffeb Implement sound api and some sounds
- Level crossing bell
- Horns
- Subway train driving and door sounds
...to be continued...
2017-12-06 13:23:55 +01:00
orwell96 34429b8154 Change name of update_animation function
I will use this for sounds, and so it needs to be changed to a more general name
2017-11-29 17:20:46 +01:00
orwell96 81fbf3f6dd Fix subway train placer 2017-10-25 13:31:01 +02:00
orwell96 ba22b40d47 Some workaround fixes for Linuxworks server
Trains no longer get deleted when there's no rail
Fast item to create subway train
2017-10-25 12:34:49 +02:00
Gabriel Pérez-Cerezo 803cbe76cb Moved default train track to separate mod, for integration with advcarts. 2017-10-25 09:52:10 +02:00
Gabriel Pérez-Cerezo 0c87146cbd Set wagon line number 2017-10-23 13:40:20 +02:00
rubenwardy 0d98cbc9c6 Remove zip release files, move mod to root, exclude assets from Makefile (#92) 2017-09-20 18:05:04 +02:00
orwell96 0d58afb8f5 Restructure mod directory 2017-01-04 19:10:03 +01:00
orwell96 901ea26c77 remove train type concept and calculate train's capabilities based on used wagons 2016-12-22 18:55:10 +01:00
orwell96 3de00295d5 Turning mod into a modpack and separating the trains from the core mod 2016-12-20 14:17:39 +01:00