summaryrefslogtreecommitdiff
path: root/advtrains
AgeCommit message (Collapse)Author
2018-07-17Merge branch 'master' of bananach.space:advtrainsorwell96
2018-07-17Fix some incompatibility crash for old worldsorwell96
2018-07-17Revert "Rework the privilege system completely"orwell96
This caused much trouble on Linuxworks recently. Please see http://www.linux-forks.de/advtrains/22.html for current discussion on that topic This reverts commit 8b576357ef1d2346e9af112e115ac92a5f4d222d.
2018-07-17onboard computer fixh-v-smacker
2018-06-19Remove redundant digtron.lua fileGabriel Pérez-Cerezo
2018-06-19Make digtron able to build tracks.Gabriel Pérez-Cerezo
2018-06-10make platform creation possible from other modsGabriel Pérez-Cerezo
2018-06-10Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo
2018-03-14Rework the privilege system completelyorwell96
See privilege_guide.txt for information
2018-02-22fixed unmerged stuffGabriel Pérez-Cerezo
2018-02-22Merge https://github.com/orwell96/advtrains into logGabriel Pérez-Cerezo
2018-02-21Log certain events in a logfile in the world directoryGabriel Pérez-Cerezo
(also fix the output of /at_sync_ndb)
2018-02-20Allow wagon owners to drive their trains #2orwell96
The check was missing at check_seat_group_access
2018-02-20Allow wagon owners to control their own trainsorwell96
...even without the train_operator privilege This still doesn't allow them to control switches, but whatever...
2018-02-18added separate logging for railway networksGabriel Pérez-Cerezo
2018-02-07Do not crash when player gets on a train while it`s turningorwell96
2018-01-23Simplify /at_rerouteorwell96
It is not necessary to reload the save files, because there already is a function to invalidate train routes e.g. when turnouts are switched
2018-01-22Correct discouple positionorwell96
Discouple entity was falsely placed at the position of the wagon instead of at its end
2018-01-17Fix crashorwell96
IDK why this happens, but it's not important.
2018-01-15Actually use the static_save propertyorwell96
My PR on this was merged months ago, but i've just noticed that i'm not using it yet
2018-01-15Relayout Wagon Properties formorwell96
The button wasn't visible on the screen anymore
2018-01-15Add "seat_access" to saved fieldsorwell96
Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server
2018-01-15Use directory delimter constantorwell96
Reported by @kostett, probably the cause of buggy nodedb saving
2018-01-09Add train_operator privilege check on discoupleorwell96
2018-01-09Add bord computer to trainsorwell96
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-09Move driving_ctrl_access property to seat grouporwell96
there's now a more strict check for the train_operator privilege Also added custom reasons on getting on a train.
2018-01-07Don't use looped sounds on subwayorwell96
(causes engine bugs with dangling sound handles)
2018-01-07Change controls for trains (again)orwell96
2018-01-07Decrease the amount of garbage saved in save filesorwell96
2017-12-18Remove path invalidation statement.orwell96
Caused problems on multiple detector rails in a row, because paths got cleared in-between a train step Also optimize some code
2017-12-18Fix detector lookup in ATC railsorwell96
2017-12-18Do not spam the server chat with messages from /at_sync_ndb and trains going ↵orwell96
off_track The off-track warning has moved into the info text of wagons
2017-12-18Rewrite rail connection system...orwell96
...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-18Use preferred rail orientation algorithm also for double connectionsorwell96
2017-12-18Move train_load() function into advtrains_train_trackorwell96
2017-12-06Make sure an old_velocity is always passedorwell96
Fixes crash on placing a new subway wagon
2017-12-06Implement sound api and some soundsorwell96
- Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
2017-11-29Change name of update_animation functionorwell96
I will use this for sounds, and so it needs to be changed to a more general name
2017-11-27remove superfluous parameterorwell96
... from update_trainpart_properties call Prohibits flipping of all wagons when extent_h wasn't set
2017-11-24Do not modify rails that should not be modifiedorwell96
... when placing tracks, such as slopes Fixes slopes being replaced by curves. Also, check the node below for connection (does not check rely, but that would be uneccessary)
2017-11-24Merge branch 'master' of https://github.com/orwell96/advtrainsorwell96
2017-11-24Correct yaw to preferred rail direction calculationorwell96
2017-11-23Preserve the player's looking directionorwell96
Contributed by @gpcf
2017-11-23Add modifiable wagon extentsorwell96
This will be required for advcarts
2017-11-22Fix multiple track types not working simultaneouslyorwell96
Bug was caused by the drives_on table of every train and advtrains.all_tracktypes sharing the same reference, which caused advtrains.all_tracktypes to become the intersection of all train drives_on's in the world. However, this did become empty, causing nothing to work anymore.
2017-11-22do not register wagons in the advtrains namespace automaticallyorwell96
One step towards advcarts compatibility
2017-11-22Make trackplacer align rails by any tracks, not just by tracks with the same ↵orwell96
nnpref This finally fixes the need to rotate atc rails and bumpers. Also prefers rotation that is closer to the player's look dir (placed bumpers will face the player)
2017-11-14Do not punch signsorwell96
For some reason, a sign text gets removed by a train when it drives by. This should fix it.
2017-11-14Fix occasional crash in discouple on_punchorwell96
I think the issue is caused by the new animal damage code...
2017-11-02Fix entity damageorwell96
Animals from mobs weren't damaged because they have the immortal group set. Instead, we check for the existence of "fleshy".