aboutsummaryrefslogtreecommitdiff
path: root/advtrains/wagons.lua
Commit message (Collapse)AuthorAge
* Show the wagon properties button only to the ownerBlockhead2020-03-18
|
* Use a standard wagon inventory formspecBlockhead2020-03-18
| | | | | | | | | | | | | | 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.
* Apply minetest.formspec_escape() to prevent formspec injection (H#143)MT0.4Blockhead2020-01-04
|
* Allow painting coupled wagonsGabriel Pérez-Cerezo2019-12-01
|
* Merge branch 'master' of https://git.bananach.space/advtrainsGabriel Pérez-Cerezo2019-12-01
|\
| * Fix trains not stopping when colliding with environment H#122orwell962019-11-26
| |
* | Add experimental liveries featureGabriel Pérez-Cerezo2019-12-01
|/ | | | | Please do not use this in your train mods yet, this may be subject to changes!
* Add wagon_width attributeGabriel Pérez-Cerezo2019-11-22
| | | | | This allows for wider vehicles than trains, such as boats to discharge the passengers onto the platforms.
* Fix occurences of old lzb_invalidateorwell962019-04-23
|
* Fix remote routesettingorwell962019-04-16
|
* Move LZB system to core and unify approach callback mechanismorwell962019-04-16
|
* Set wagon pitch on slopesPedro Gimeno2019-04-06
|
* Configurable interval for get_off setpos and door pos fix for japanese trainorwell962019-03-09
|
* Force LZB Halt settingorwell962019-02-05
|
* Fix dropping of items on wagon destroyorwell962019-01-22
|
* Add "routingcode" propertyorwell962019-01-09
| | | | Used for ARS and stop points
* Fix player_to_train_mapping (H#74)orwell962018-12-16
| | | | Entries were not inserted, thus neither damage protection nor teleport-to-train did work
* Fix 144e1fc4e01741f8cdd5a579ae84cde85c420d78 (there's no self in one of the ↵orwell962018-12-10
| | | | instructions)
* Change get_inventory_formspec API - add invname parameterorwell962018-12-10
|
* Fix discouple positioning when wagon was just loadedorwell962018-11-20
|
* Remove superfluous "tarvelocity" assignmentsorwell962018-11-20
|
* Make "Line" property accessible from OBC and gettable via LATC, change ↵orwell962018-11-20
| | | | subway wagon texture handling
* Remove debug printorwell962018-11-20
|
* Remove "couple locks" and apply protection to the actual coupling process, ↵orwell962018-11-10
| | | | and fix permissions on that
* Small fixes which do not have any effectorwell962018-10-29
|
* Address H#60, H#17, M#18 and M#7orwell962018-10-17
| | | | | | | duplicate "message" to "msg" make operation panel "cracky" remove inexistent dtime_s parameter add bones:bones to the list of not_blocking_trains nodes
* Remote Routesetting from Onboard Computerorwell962018-10-10
| | | | + Fix lzb oncoming item deletion/speed restriction
* onboard computer fixh-v-smacker2018-08-12
|
* Add off-track train flag, fixes wagon object property reset on reversingorwell962018-07-04
|
* Check for inventory existence before serializing, and do not create it again ↵orwell962018-06-19
| | | | if it already exists.
* Fix Boardcom and Wagon properties not being shownorwell962018-06-18
|
* Fix box wagon inventory serialization and make box wagons protected.orwell962018-06-14
|
* add option to show train and wagon idorwell962018-06-14
|
* Fix final bugs and to-do's (u.a.save/load system)orwell962018-06-14
|
* Fix yaw calculations, track placement orientation and speed up direction ↵orwell962018-06-14
| | | | lookup functions
* Mainly make collisions and coupling workorwell962018-06-14
| | | | Missing: ATC stuff, yaw problems
* Implement a reverse path lookup for trains instead of an occupations window ↵orwell962018-06-14
| | | | system
* Fix path_dir to actually be an angle, path item deletion and orientation of ↵orwell962018-06-14
| | | | | | | | wagons The occupation system as it is now will change. For each position, I will save the index in the train's path, and implement a callback system. I need this because the occupation window system will not be enough to cover all use cases (e.g. to make a train stop with it's center or back at a certain position, I need 3 different brake distances, which doesn't fit into the scheme)
* Bugfixes part 1orwell962018-06-14
| | | | There's something wrong with the new paths, next time build a path validity checker to trace the issue
* Occupation System, new train steps, still incompleteorwell962018-06-14
|
* Adapt wagons to new path systemorwell962018-06-14
| | | | Still outstanding: trains
* Rework the privilege system completelyorwell962018-03-14
| | | | See privilege_guide.txt for information
* Log certain events in a logfile in the world directoryGabriel Pérez-Cerezo2018-02-21
| | | | (also fix the output of /at_sync_ndb)
* Allow wagon owners to drive their trains #2orwell962018-02-20
| | | The check was missing at check_seat_group_access
* Allow wagon owners to control their own trainsorwell962018-02-20
| | | | ...even without the train_operator privilege This still doesn't allow them to control switches, but whatever...
* Do not crash when player gets on a train while it`s turningorwell962018-02-07
|
* Correct discouple positionorwell962018-01-22
| | | | | Discouple entity was falsely placed at the position of the wagon instead of at its end
* Actually use the static_save propertyorwell962018-01-15
| | | My PR on this was merged months ago, but i've just noticed that i'm not using it yet
* Relayout Wagon Properties formorwell962018-01-15
| | | | The button wasn't visible on the screen anymore
* Add "seat_access" to saved fieldsorwell962018-01-15
| | | | Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server