User Tools

Site Tools


Sidebar



Minetest Forum
Content Database
Git Repository
Bug Tracker
Website

dev:proposals:fuel

This is an old revision of the document!


Fuel

Note This wiki page was taken from the mailing list

seems that in most cases, countries electrify their rail lines, bypassing this problem. This can be simulated with third rail being added to track models.

In advtrains, a lot of trains do not have a pantograph and seem to run on diesel. Trains which do work on electric can have a third rail shoe added. Trains go into roll mode when the electric potential of the track is not high enough. The amount of blocks a power source charges is configurable and defaults at 50. When you reach the end, you must use a track with a third rail terminal (which is where the rail slopes down to the ground to allow the shoe to pickup gently), and begin a new third rail section.

To power third rail, you can configure the source to be mesecons, an advtrains power block, or magic.

For diesel locomotives, they run on an inventory of fuel which can be added using “refuelling tracks”, which work in the same way as loading tracks but only add fuel.

Fuel can be configured to be advtrains diesel, biofuel from the biofuel mod, oil extract, or anything in the fuel group (if it exists)

Trains do not run without problems. Tubes get blocked. Electric short-circuit, Power supplies break, and all forms of other things cause inconvinience.

What i propose is adding this to advtrains. Randomly, one of your rolling stock suddenly develops a problem and runs at 50-90% of its speed. To fix it, punch it with a repair tool, which leaves your inventory and makes the train work again at full speed. There is also a maintinince track, which works in the same way as a loading track but with repair tools.

For better identification, the coordinates of trains with problems can be found using a command and the broken trains make loud noises.

All of the above is configurable. Users can turn on whether trains use fuel, need repair, and what type of fuel you can use. This ensures backwards compatibility.

I send this email as the beginning of a discussion, and potential feature request. I would like to see the feasibility of this.

dev/proposals/fuel.1651418081.txt.gz · Last modified: 2022-05-01 17:14 by 56independent