Compare commits

...

5 Commits

Author SHA1 Message Date
rubenwardy 1ba8322cbd Remove zip release files, move mod to root, exclude assets from Makefile 2017-09-03 17:39:37 +01:00
MBB b75c83ea43 Merge PR from mbb - Improve models and textures 2017-08-24 19:26:40 +02:00
orwell96 6ddf3fed14 Repack for gpcf's PR 2017-08-15 14:36:53 +02:00
Gabriel Pérez-Cerezo 9826161a14 Added command to reroute trains 2017-08-15 14:35:42 +02:00
Gabriel Pérez-Cerezo c894dee7ef Fixed #86 2017-08-15 14:35:41 +02:00
206 changed files with 34 additions and 15 deletions

View File

@ -1,4 +1,4 @@
tarball: clean
which zip && zip -r advtrains.zip advtrains
which zip && zip -r advtrains.zip . -x "assets*" -x "*.zip" -x "*.git*"
clean:
rm -f advtrains.zip

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 B

View File

@ -1,8 +1,8 @@
Advanced Trains v1.3.0, by orwell and contributors. Also see readme.
Advanced Trains v1.3.8, by orwell and contributors. Also see readme.
Good-looking, realistic trains for minetest.
For crafting recipes, see manual.pdf
Website: http://advtrains.bleipb.de/
Manual: https://github.com/orwell96/advtrains/blob/master/manual.pdf
Forum : https://forum.minetest.net/viewtopic.php?f=11&t=14726
Forum : https://forum.minetest.net/viewtopic.php?f=11&t=14726

View File

@ -382,5 +382,19 @@ minetest.register_chatcommand("at_empty_seats",
reload_saves()
end)
end,
privs = {train_operator=true}, -- Require the "privs" privilege to run
})
})
-- This chat command solves another problem: Trains getting randomly stuck.
minetest.register_chatcommand("at_reroute",
{
params = "",
description = "Delete all train routes, force them to recalculate",
privs = {train_operator=true}, -- Only train operator is required, since this is relatively safe.
func = function(name, param)
return advtrains.pcall(function()
atwarn("Train routes will be recalculated now")
advtrains.save(false)
reload_saves()
end)
end,
})

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 435 KiB

View File

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

View File

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 524 B

View File

Before

Width:  |  Height:  |  Size: 413 B

After

Width:  |  Height:  |  Size: 413 B

View File

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

View File

Before

Width:  |  Height:  |  Size: 352 B

After

Width:  |  Height:  |  Size: 352 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Some files were not shown because too many files have changed in this diff Show More