orwell96
7681de96c9
remove superfluous parameter
...
... from update_trainpart_properties call
Prohibits flipping of all wagons when extent_h wasn't set
2017-11-27 17:46:01 +01:00
orwell96
d78d07589d
Add modifiable wagon extents
...
This will be required for advcarts
2017-11-23 17:00:39 +01:00
orwell96
5fc6cc7f5b
Fix multiple track types not working simultaneously
...
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-22 23:13:42 +01:00
orwell96
ce73643b10
Do not punch signs
...
For some reason, a sign text gets removed by a train when it drives by.
This should fix it.
2017-11-14 23:16:08 +01:00
orwell96
480011c781
Fix entity damage
...
Animals from mobs weren't damaged because they have the immortal group set.
Instead, we check for the existence of "fleshy".
2017-11-02 18:00:38 +01:00
orwell96
cac7753158
Punch non-player objects when they get overridden by a train.
2017-10-25 14:04:20 +02:00
orwell96
3659fa9e63
Fix subway train placer
2017-10-25 13:31:01 +02:00
orwell96
c5256fb3aa
Some workaround fixes for Linuxworks server
...
Trains no longer get deleted when there's no rail
Fast item to create subway train
2017-10-25 12:34:49 +02:00
orwell96
f1a8b4f505
Implement multi-occupation in detector.on_node table to finally fix collisions
2017-10-25 11:49:34 +02:00
orwell96
1f9a9062e0
Replace many math.floor(x+0.5) calls (or math.floor calls that should be those) by custom atround() function
2017-10-25 10:51:19 +02:00
orwell96
c67770833b
Fix coupling and collisions in certain cases
...
If a train moved towards another train, and the other train's step was executed after the first one's, the trains did eventually not collide.
Fix by moving the enter_node and collision check to step_b
Also change some couple behavior
2017-10-25 10:33:41 +02:00
orwell96
0dfb0fce22
Do not crash when train_pos is nil while checking wagon entity loading
2017-10-11 11:53:14 +02:00
rubenwardy
d65c4916ce
Remove zip release files, move mod to root, exclude assets from Makefile ( #92 )
2017-09-20 18:05:04 +02: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
79d0549c8a
unify update_trainpart_properties and check_trainpartload
2017-01-02 18:40:49 +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
orwell96
d08e202346
remove train type concept and calculate train's capabilities based on used wagons
2016-12-22 18:55:10 +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