News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

FR bogie brake van - upgrade to fitted is wrong

Started by Vladki, February 17, 2019, 01:41:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

I have noticed that the FR bogie van (mail) can be upgraded to FR 7-compartment tricomposite (passenger) continuosly braked van. However it should be upgradeable to continuosly braked mail van. Here is a fix:

diff --git a/narrowgauge/fr-bogie-van.dat b/narrowgauge/fr-bogie-van.dat
index f8ad8b092..7ff5939cc 100644
--- a/narrowgauge/fr-bogie-van.dat
+++ b/narrowgauge/fr-bogie-van.dat
@@ -21,7 +21,7 @@ cost=370000
runningcost=0
fixed_cost=4954

-upgrade[0]=FR-bogie-fitted
+upgrade[0]=FR-bogie-van-fitted

can_lead_from_rear=0
bidirectional=1

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vladki