Feature: Allow setting the weight of passengers, mail, and other town-cargoes relative to freight. Fixes #7411

This commit is contained in:
Alberth
2015-02-25 22:36:14 +01:00
parent d4f046f349
commit 1721270ce3
2 changed files with 68 additions and 4 deletions

View File

@@ -58,6 +58,33 @@ function BusyBeeInfo::GetSettings()
hard_value=3,
custom_value=7,
flags=GSInfo.CONFIG_INGAME});
GSInfo.AddSetting({name="pass_weight",
description="Likelihood of selecting passengers as goal",
min_value=1,
max_value=20,
easy_value=1,
medium_value=1,
hard_value=1,
custom_value=1,
flags=GSInfo.CONFIG_INGAME});
GSInfo.AddSetting({name="mail_weight",
description="Likelihood of selecting mail as goal",
min_value=1,
max_value=20,
easy_value=1,
medium_value=1,
hard_value=1,
custom_value=1,
flags=GSInfo.CONFIG_INGAME});
GSInfo.AddSetting({name="town_weight",
description="Likelihood of selecting other town cargoes as goal",
min_value=1,
max_value=20,
easy_value=1,
medium_value=1,
hard_value=1,
custom_value=1,
flags=GSInfo.CONFIG_INGAME});
}
RegisterGS(BusyBeeInfo());