Techage integrations add-on for advtrains
orwell96 b77df83d2b Also add LICENSE_MEDIA.txt as file because it is required by the content DB | 1 рік тому | |
---|---|---|
textures | 1 рік тому | |
LICENSE.txt | 1 рік тому | |
LICENSE_MEDIA.txt | 1 рік тому | |
README.md | 1 рік тому | |
init.lua | 1 рік тому | |
liquids.lua | 1 рік тому | |
mod.conf | 1 рік тому |
Techage integrations add-on for advtrains
Liquids can be pumped into and out of tank wagons.
The filling spigot needs to be placed 3 nodes above the tracks. It needs to be vertically above a track node, as follows:
|Spigot|
... | | ...
... | | ...
...Track|Track |Track...
The draining funnel needs to be placed directly below a track:
...Track |Track|Track...
...Ground|Drain|Ground..
For a tank wagon to be filled/drained, the wagon needs to be positioned with its center at the spigot (+-1m) and it must not move. Then, use a regular TechAge pump to pump a liquid into or out of a wagon.
Tank wagons need to add the following field to the wagon definition:
techage_liquid_capacity = <capacity_in_liquid_units>
The tank wagons from Basic Trains have a capacity of 1000 units (like the TA3 tanks)
Code License: Copyright (C) 2023 orwell96 GNU AGPL 3.0-or-later see LICENSE.txt
Media: textures modified from Techage (C) 2022 Joachim Stolberg CC-BY-SA 3.0 You can obtain the license text at https://creativecommons.org/licenses/by-sa/3.0/legalcode or see LICENSE_MEDIA.txt