aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains/wagons.lua
Commit message (Collapse)AuthorAge
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|
* Fix broken door animations caused by continuous set_object_properties() ↵orwell962017-06-08
| | | | | | messages sent to client ... which each time caused the animation to be reset
* Replace deprecated methods:AntumDeluge2017-06-07
| | | | - 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
* Fix collision bug (trains driving through each other)orwell962017-05-30
|
* Re-add debug ring buffer and print its contents on a lua crashorwell962017-05-30
| | | | | When the crash on linuxworks has been fixed, the ringbuffer will go into master and behind an option also fix last commit
* Merge nocrash branch into master and merging it with the unified functions ↵orwell962017-04-29
|\ | | | | | | | | | | so that restoring works how it should Also fix minor bugs and an occasional crash with couples
| * Add pcall wrapper to prevent server crashes when advtrains throws an errororwell962017-04-29
|/ | | | | Instead, read save files again and restore state before the crash Rebased to latest commit
* Add privilege for basic train operation.orwell962017-04-09
| | | | This privilege is granted to singleplayer by default, but is not granted on servers. This prevents unexperienced or evil players from breaking automatic train operation on servers.
* Fix #59orwell962017-04-05
|
* Actually check for protection when placing trains and use the train_place ↵orwell962017-04-02
| | | | privilege
* Add support to display text to passengers and on the outside of the trainorwell962017-03-30
| | | | | Outside is currently displayed as infotext. TODO: signs-like draw it on the wagon FIXME: When object properties are set, for some reason the animation restarts
* "Sneak" instead of "Shift" for the sneak keyorwell962017-03-09
|
* Only get on by walking in when there's a platform, improve get off handlingorwell962017-02-28
|
* Also check positions on high platforms at entering doorsorwell962017-02-21
|
* fix crash on seatpc nilorwell962017-02-15
|
* Proper implementation for getting on by walking into train, rework damage ↵orwell962017-02-09
| | | | and player controls in train, fix death and join bugs, do not spawn bones on death
* Merge PR from gpcf (Get on by walking in)orwell962017-02-07
|\
| * Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2017-02-05
| |\
| * | Added getting on and off by walking in and out. Default seat on subway is ↵Gabriel Pérez-Cerezo2017-01-29
| | | | | | | | | | | | now passenger seat.
* | | Fix "lock couples" checkbox on wagon properties formorwell962017-02-05
| |/ |/|
* | Fix wagon properties not saved on button clickorwell962017-01-29
|/
* Fix a crash, update translations and zip fileorwell962017-01-28
|
* Multiple major changes:orwell962017-01-28
| | | | | | | | | | | | | - implement wagon properties and seat group access check - fix a server warning about unassigned variable - refill advtrains.detector.on_node every step - reorder train step function(s): - fixed bug that some atc rails were not recognized - saving some extra calculations - integrate path prediction directly to step functions and separate it (also see comment directly above train_step_a()) - add couple lock feature (can't couple or discouple from wagon with locked couples) - ...
* Add forced get-on/off to prevent trains being unusable due to closed doors.orwell962017-01-25
| | | | else you would be able to lock yourself out of trains or lock players in trains with no escape.
* Rewrite seating systemorwell962017-01-25
| | | | Players no longer need to worry where to sit down.
* Do not recover wagons from minetest's static storageorwell962017-01-23
| | | | Since missing wagons are spawned anyway by update_trainpart_properties, this only causes visible trouble when a train gets into loaded area. also avoids placing entities into unloaded terrain randomly.
* Add intllib support and German translationorwell962017-01-23
|
* Merge branch 'master' of https://github.com/orwell96/advtrainsorwell962017-01-19
|\
| * Merged privGabriel Pérez-Cerezo2017-01-18
| |
* | Add 'collision mercy' to get stuck trains out of walls.orwell962017-01-18
| | | | | | | | Also change the collision logic so that the collision mercy can't be activated accidentally.
* | Add door controls and ATC commandsorwell962017-01-18
|/
* Prevent non-initialized wagons from accidentally polluting the worldorwell962017-01-10
| | | | | sometimes wagons get created/loaded but are not initialized. These stand around and can't be removed. Now if a wagon does not get initialized after 20 steps, something went wrong and the wagon is removed.
* Clean up debug message codeorwell962017-01-08
|
* Purge all debug messages and change 'print' function name to 'atprint'orwell962017-01-04
| | | | Ready for 2.0 release.
* Restructure mod directoryorwell962017-01-04