News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

lbscr-4wheel-brake.dat inconsistencies

Started by Vladki, October 04, 2017, 09:00:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

Hello James,

here is a patch for upgrade inconsistencies in LBSCR 4wheel brake carrieges. Just because of case sensitivity, and useless upgrade to itself.

diff --git a/trains/lbscr-4wheel-brake.dat b/trains/lbscr-4wheel-brake.dat
index 5b22e95..ebcef9e 100644
--- a/trains/lbscr-4wheel-brake.dat
+++ b/trains/lbscr-4wheel-brake.dat
@@ -20,7 +20,7 @@ axles=2
cost=285000
runningcost=17

-upgrade[0]=LBSCR-4Wheel-brake-front-fitted
+upgrade[0]=LBSCR-4Wheel-Brake-front-fitted

comfort=52
min_loading_time=10
@@ -116,7 +116,7 @@ axles=2
cost=285000
runningcost=17

-upgrade[0]=LBSCR-4Wheel-brake-rear-fitted
+upgrade[0]=LBSCR-4Wheel-Brake-rear-fitted

comfort=52
min_loading_time=10
@@ -211,8 +211,6 @@ cost=340000
upgrade_price=80000
runningcost=18

-upgrade[0]=LBSCR-4Wheel-brake-front-fitted
-
comfort=52
min_loading_time=10
max_loading_time=30
@@ -306,8 +304,6 @@ cost=340000
upgrade_price=80000
runningcost=18

-upgrade[0]=LBSCR-4Wheel-brake-rear-fitted
-
comfort=52
min_loading_time=10
max_loading_time=30

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.