Commit Graph

292 Commits (c184c00f269a612a20a1f167148969fa2c8bcf81)

Author SHA1 Message Date
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
orwell96 6a0186f042 integrate mbb's new train models
and correct some wagon_spans, wagon/engine scalings and file names
issue with collisions needs to be fixed.
2016-11-06 23:21:03 +01:00
orwell96 72766b974c sandstone brick platform 2016-11-05 20:33:55 +01:00
orwell96 c838c4534f 100th commit: disable debug messages 2016-11-03 21:21:28 +01:00
orwell96 85a8517bde make smoke also distribute horizontally a bit 2016-11-03 15:50:50 +01:00
orwell96 245f07d323 Add a box wagon
Alongside with coding wagon inventories, and several bugfixes
2016-11-03 11:27:17 +01:00
orwell96 31b579bc5c move a line to correct behavior 2016-11-03 09:03:23 +01:00
orwell96 20a1171144 rework entity handling
some modularization, clarify 'initialized' property, some re-implementations
2016-11-02 11:17:42 +01:00
orwell96 ee6b7494bb add 2 value sanity checks which should not be needed but are for any reason
game crashed because of these values being nil, I don't know how these values could even become nil, but whatever.
Interestingly, I never found the wagon entity that was causing the crashs
2016-10-29 21:08:26 +02:00
orwell96 be37a649f7 fix unloaded map chunk travelling 2016-10-29 21:07:51 +02:00
orwell96 cddc92d1de Include zip in repo, because of hosting. No .tar.gz. 2016-10-27 15:34:05 +02:00