Merge branch 'infrastructure_sharing-sx' into jgrpp

Conflicts:
	src/lang/english.txt
	src/saveload/extended_ver_sl.cpp
	src/saveload/extended_ver_sl.h
	src/signal.cpp
	src/table/settings.ini
	src/vehicle.cpp
This commit is contained in:
Jonathan G Rennison
2015-08-06 23:11:49 +01:00
34 changed files with 808 additions and 64 deletions

View File

@@ -1790,6 +1790,19 @@ static SettingsContainer &GetSettingsTree()
npc->Add(new SettingEntry("ai.ai_disable_veh_ship"));
}
SettingsPage *sharing = ai->Add(new SettingsPage(STR_CONFIG_SETTING_SHARING));
{
sharing->Add(new SettingEntry("economy.infrastructure_sharing[0]"));
sharing->Add(new SettingEntry("economy.infrastructure_sharing[1]"));
sharing->Add(new SettingEntry("economy.infrastructure_sharing[2]"));
sharing->Add(new SettingEntry("economy.infrastructure_sharing[3]"));
sharing->Add(new SettingEntry("economy.sharing_fee[0]"));
sharing->Add(new SettingEntry("economy.sharing_fee[1]"));
sharing->Add(new SettingEntry("economy.sharing_fee[2]"));
sharing->Add(new SettingEntry("economy.sharing_fee[3]"));
sharing->Add(new SettingEntry("economy.sharing_payment_in_debt"));
}
ai->Add(new SettingEntry("economy.give_money"));
ai->Add(new SettingEntry("economy.allow_shares"));
}