Commit Graph

302 Commits (11d6a12ce7752c7640c3cb85e76814ebeb3f94ef)

Author SHA1 Message Date
orwell96 c0957b8a31 also print ATC reverse command warning
and move atc_command.txt at a better place
2017-01-04 21:49:16 +01:00
orwell96 bf68c6f0d5 Purge all debug messages and change 'print' function name to 'atprint'
Ready for 2.0 release.
2017-01-04 21:34:18 +01:00
orwell96 dd4e989639 update makefile to new circumstances 2017-01-04 21:25:32 +01:00
orwell96 400cb55bb0 Fix bug in track database
the entire database was broken due to a not removed indexing
2017-01-04 21:23:15 +01:00
orwell96 2d0b51b897 Restructure mod directory 2017-01-04 19:10:03 +01:00
orwell96 853a9e690e Add Automatic Train Control system 2017-01-04 12:02:00 +01:00
orwell96 a9d43ce2ca add API documentation 2017-01-03 18:48:00 +01:00
orwell96 cc6cf09ac8 make detector code clear entries of trains that do not exist 2017-01-02 18:54:24 +01:00
orwell96 79d0549c8a unify update_trainpart_properties and check_trainpartload 2017-01-02 18:40:49 +01:00
orwell96 2a924d086a fix discouple not disappearing and a logical mistake with owners 2017-01-02 13:55:25 +01:00
orwell96 8784ee41dd Do not duplicate definitions of 'print' in every file 2017-01-02 13:49:20 +01:00
orwell96 987cd5b7f0 spawn couple on train collision
also fix empty trains hanging around for too long
2016-12-31 15:16:19 +01:00
Gabriel Pérez-Cerezo 176ee0627e
Added privilege to remove trains 2016-12-29 00:27:07 +01:00
orwell96 d08e202346 remove train type concept and calculate train's capabilities based on used wagons 2016-12-22 18:55:10 +01:00
Gabriel Pérez-Cerezo b4b4936b15
Added mechanism to avoid double-detection 2016-12-22 12:54:02 +01:00
Gabriel Pérez-Cerezo 7a1c4990d9
Revert "Depends on Mesecons"
This reverts commit 5f377f7b6c.

Master no longer has hard-dependency on mesecons.
2016-12-22 12:06:26 +01:00
Gabriel Pérez-Cerezo 633d514f5b
Added stop and reverse rail 2016-12-22 12:02:44 +01:00
orwell96 f806ed9eee Turning mod into a modpack and separating the trains from the core mod 2016-12-20 14:17:39 +01:00
Gabriel Pérez-Cerezo 2f799655fa
Merge branch 'master' of https://github.com/orwell96/advtrains 2016-12-17 12:30:29 +01:00
orwell96 05ce694dec Fix behavior when using get_look_yaw() instead of get_look_horizontal()
get_look_yaw returns values that are 90° rotated
2016-12-13 19:49:28 +01:00
orwell96 6eea76a2ff Don't decrease stack itemcount of slope placer in creative 2016-12-13 19:40:20 +01:00
orwell96 1f66cab169 Implement better slope placement system
Only look in the desired direction and place slope node on lowest slope part. will automatically adjust slope to next higher node.
2016-12-13 19:28:10 +01:00
orwell96 0e185b9fb8 increase couple validity radius 2016-12-13 19:27:38 +01:00
orwell96 631636f757 try to fix damage bug 2016-12-05 20:53:43 +01:00
orwell96 8f5c0feb45 fix bug about seats on wagon
sometimes a single character can cause great mess...
2016-12-04 23:20:19 +01:00
orwell96 f155011e1a remove the legacy replacement lbms/abms
Until now, everyone should have updated at least once...
2016-12-03 23:53:12 +01:00
orwell96 e9eacee7df add description, screenshot and update manual
also fix crafting recipe for box wagon
2016-12-03 23:29:28 +01:00
orwell96 902a4f7a02 add/update crafting recipes for bumpers and detector rails 2016-11-29 17:20:32 +01:00
Gabriel Pérez-Cerezo 072ca535bf
Merge branch 'master' of https://github.com/orwell96/advtrains 2016-11-28 11:47:35 +01:00
orwell96 3afa9a3434 Fix hud not disappearing when pressing Shift+Use 2016-11-25 22:35:57 +01:00
orwell96 9859d8870d Delete unused textures 2016-11-25 22:32:08 +01:00
Gabriel Pérez-Cerezo 942b2a11e3
Merge branch 'master' of https://github.com/orwell96/advtrains 2016-11-25 10:32:26 +01:00
orwell96 6f444cd10e drop player on the platform if there is one 2016-11-24 21:52:51 +01:00
orwell96 8c43f4d026 document new train controls and add combination for getting off 2016-11-24 20:56:23 +01:00
orwell96 7eb17b3233 change train controlling system and keybindings
also, fix various small bugs
2016-11-24 20:25:07 +01:00
orwell96 cccdad4aeb adjust to new close_formspec feature (minetest 0d1c959)
this won't break compatibility with older minetest versions.
2016-11-23 19:28:39 +01:00
orwell96 1d6cd12895 Make mesecons optional again 2016-11-21 19:56:10 +01:00
Gabriel Pérez-Cerezo 5f377f7b6c
Depends on Mesecons 2016-11-12 21:47:23 +01:00
orwell96 3cb4ab79b5 update readme file with recent contributions (thanks everyone) and update zip
I forgot it again!
2016-11-11 21:20:46 +01:00
orwell96 32c0b1b423 Change names of the images mbb committed and delete remaining $color.png images 2016-11-11 21:15:58 +01:00
orwell96 aaf1d20221 Merge pull request #10 from mbblp/master
add better textures
The following commit will clean everything up a bit
2016-11-11 21:05:38 +01:00
mbblp ee24a50b25 add better textures 2016-11-11 17:58:07 +01:00
orwell96 46a4f22647 Fix detector rails rotating when a train passes 2016-11-11 15:03:06 +01:00
orwell96 7b357883b3 update zip fileJ 2016-11-11 14:34:15 +01:00
orwell96 e7ee0e96c7 fix trackplacer patternmatching issue and implement failure messages better
also reindent the code that was broken by emacs(or so)
2016-11-11 14:20:23 +01:00
orwell96 06f0150b61 Add detector rails 2016-11-10 22:58:27 +01:00
orwell96 5bece1ecc1 remove an unnecessary dump() instruction 2016-11-10 22:35:48 +01:00
orwell96 9476083c8a Remove the "register_bumpers" workaround function and register them how they should be registered 2016-11-10 21:08:39 +01:00
orwell96 b7eb7ddbfd tweak wagon_span values and model sizes/positions
Together with the rewritten collision system it should work for now.
2016-11-10 20:38:34 +01:00
orwell96 ab652da5f4 rewrite collision system again
this time, it is based on nodes that trains stand on.
advtrains.detector (in tracks.lua) keeps a table with nodes that trains are standing /driving on. This will be used now for detector rails.
2016-11-10 20:24:47 +01:00