New feature: factories allows facilities to create items

For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360075&#msg_360075

Requires GameDir >= r2534

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8804 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2020-05-17 20:52:27 +00:00
parent 4dc40912e4
commit ea1892c788
31 changed files with 1446 additions and 12 deletions
+2
View File
@@ -3091,6 +3091,8 @@ extern STR16 szChatTextEnemy[];
extern STR16 szMilitiaText[];
extern STR16 szFactoryText[];
#define TACTICAL_INVENTORY_DIALOG_NUM 16
#define TACTICAL_COVER_DIALOG_NUM 16
+16
View File
@@ -4237,6 +4237,7 @@ STR16 pMapPopUpInventoryText[] =
L"存货",
L"离开",
L"修理", //L"Repair",
L"Factories", // TODO.Translate
};
// town strings
@@ -5065,6 +5066,7 @@ STR16 pBookMarkStrings[] =
L"安保公司", //L"Kerberus",
L"民兵总览",//L"Militia Overview",
L"R.I.S",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5191,6 +5193,7 @@ STR16 pWebPagesTitles[] =
L"Recon情报服务 - 情报需求", //L"Recon Intelligence Services - Information Requests",
L"Recon情报服务 - 情报验证", //L"Recon Intelligence Services - Information Verification",
L"Recon情报服务 - 关于我们", //L"Recon Intelligence Services - About us",
L"Factory Overview", // TODO.Translate
L"Bobby Ray - 最近的运货",
L"百科全书",
L"百科全书 - 数据",
@@ -6995,6 +6998,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - 安保公司",//L"Kerberus - Experience In Security",
L"民兵总览",//L"Militia Overview",
L"Recon情报服务", //L"Recon Intelligence Services",
L"Controlled factories", // TODO.Translate
};
@@ -11581,6 +11585,18 @@ STR16 szMilitiaText[] =
L"取消", //L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
// WANNE: Some Chinese specific strings that needs to be in unicode!
STR16 ChineseSpecString1 = L"%"; //defined in _ChineseText.cpp as this file is already unicode
STR16 ChineseSpecString2 = L"*%3d%%%"; //defined in _ChineseText.cpp as this file is already unicode
+16
View File
@@ -4239,6 +4239,7 @@ STR16 pMapPopUpInventoryText[] =
L"Inventaris",
L"OK",
L"Repair", // TODO.Translate
L"Factories", // TODO.Translate
};
// town strings
@@ -5072,6 +5073,7 @@ STR16 pBookMarkStrings[] =
L"Kerberus",
L"Militia Overview", // TODO.Translate
L"R.I.S.",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5198,6 +5200,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests", // TODO.Translate
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Factory Overview", // TODO.Translate
L"Bobby Ray's - Recent Shipments",
L"Encyclopedia",
L"Encyclopedia - Data",
@@ -7011,6 +7014,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - Excellence In Security",
L"Militia Overview", // TODO.Translate
L"Recon Intelligence Services", // TODO.Translate
L"Controlled factories", // TODO.Translate
};
@@ -11597,4 +11601,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //DUTCH
+16
View File
@@ -4237,6 +4237,7 @@ STR16 pMapPopUpInventoryText[] =
L"Inventory",
L"Exit",
L"Repair",
L"Factories",
};
// town strings
@@ -5065,6 +5066,7 @@ STR16 pBookMarkStrings[] =
L"Kerberus",
L"Militia Overview",
L"R.I.S.",
L"Factories",
};
STR16 pBookmarkTitle[] =
@@ -5191,6 +5193,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests",
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Factory Overview",
L"Bobby Ray's - Recent Shipments",
L"Encyclopedia",
L"Encyclopedia - Data",
@@ -6995,6 +6998,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - Experience In Security",
L"Militia Overview",
L"Recon Intelligence Services",
L"Controlled factories",
};
@@ -11581,4 +11585,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] =
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //ENGLISH
+16
View File
@@ -4243,6 +4243,7 @@ STR16 pMapPopUpInventoryText[] =
L"Inventaire",
L"Quitter",
L"Repair", // TODO.Translate
L"Factories", // TODO.Translate
};
// town strings
@@ -5077,6 +5078,7 @@ STR16 pBookMarkStrings[] =
L"Kerberus",
L"Militia Overview", // TODO.Translate
L"R.I.S.",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5203,6 +5205,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests", // TODO.Translate
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Factory Overview", // TODO.Translate
L"Bobby Ray : Dernières commandes",
L"Encyclopédie",
L"Encyclopédie : Données",
@@ -7008,6 +7011,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - Experience In Security",
L"Militia Overview", // TODO.Translate
L"Recon Intelligence Services", // TODO.Translate
L"Controlled factories", // TODO.Translate
};
@@ -11579,4 +11583,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //FRENCH
+16
View File
@@ -4238,6 +4238,7 @@ STR16 pMapPopUpInventoryText[] =
L"Inventar",
L"Exit",
L"Repair", // TODO.Translate
L"Factories", // TODO.Translate
};
// town strings
@@ -5021,6 +5022,7 @@ STR16 pBookMarkStrings[] =
L"Kerberus",
L"Militia Overview", // TODO.Translate
L"R.I.S.",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5139,6 +5141,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests", // TODO.Translate
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Fabriken - Übersicht",
L"Bobby Rays - Letzte Lieferungen",
L"Enzyklopädie",
L"Enzyklopädie - Daten",
@@ -6841,6 +6844,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - Experience In Security",
L"Militia Overview", // TODO.Translate
L"Recon Intelligence Services", // TODO.Translate
L"Controlled factories", // TODO.Translate
};
STR16 gzHelpScreenText[] =
@@ -11409,4 +11413,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //GERMAN
+16
View File
@@ -4233,6 +4233,7 @@ STR16 pMapPopUpInventoryText[] =
L"Inventario",
L"Uscita",
L"Repair", // TODO.Translate
L"Factories", // TODO.Translate
};
// town strings
@@ -5059,6 +5060,7 @@ STR16 pBookMarkStrings[] =
L"Kerberus",
L"Militia Overview", // TODO.Translate
L"R.I.S.",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5185,6 +5187,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests", // TODO.Translate
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Factory Overview", // TODO.Translate
L"Bobby Ray's - Recent Shipments",
L"Encyclopedia",
L"Encyclopedia - Data",
@@ -6995,6 +6998,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - Experience In Security",
L"Militia Overview", // TODO.Translate
L"Recon Intelligence Services", // TODO.Translate
L"Controlled factories", // TODO.Translate
};
@@ -11588,4 +11592,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //ITALIAN
+16
View File
@@ -4244,6 +4244,7 @@ STR16 pMapPopUpInventoryText[] =
L"Inwentarz",
L"Zamknij",
L"Repair", // TODO.Translate
L"Factories", // TODO.Translate
};
// town strings
@@ -5074,6 +5075,7 @@ STR16 pBookMarkStrings[] =
L"Kerberus",
L"Militia Overview", // TODO.Translate
L"R.I.S.",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5200,6 +5202,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests", // TODO.Translate
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Factory Overview", // TODO.Translate
L"Bobby Ray's - Ostatnie dostawy",
L"Encyclopedia",
L"Encyclopedia - Dane",
@@ -7009,6 +7012,7 @@ STR16 gzLaptopHelpText[] =
L"Kerberus - Experience In Security",
L"Militia Overview", // TODO.Translate
L"Recon Intelligence Services", // TODO.Translate
L"Controlled factories", // TODO.Translate
};
@@ -11601,4 +11605,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //POLISH
+16
View File
@@ -4237,6 +4237,7 @@ STR16 pMapPopUpInventoryText[] =
L"Инвентарь",
L"Выйти",
L"Ремонт",
L"Factories", // TODO.Translate
};
// town strings
@@ -5065,6 +5066,7 @@ STR16 pBookMarkStrings[] =
L"Цербер",
L"Ополчение",
L"R.I.S.",
L"Factories", // TODO.Translate
};
STR16 pBookmarkTitle[] =
@@ -5191,6 +5193,7 @@ STR16 pWebPagesTitles[] =
L"Recon Intelligence Services - Information Requests", // TODO.Translate
L"Recon Intelligence Services - Information Verification",
L"Recon Intelligence Services - About us",
L"Factory Overview", // TODO.Translate
L"Бобби Рэй - последние поступления",
L"Энциклопедия",
L"Энциклопедия - данные",
@@ -6995,6 +6998,7 @@ STR16 gzLaptopHelpText[] =
L"Цербер - Опыт в безопасности",
L"Ополчение",
L"Recon Intelligence Services", // TODO.Translate
L"Controlled factories", // TODO.Translate
};
@@ -11581,4 +11585,16 @@ STR16 szMilitiaText[] =
L"Cancel",
};
STR16 szFactoryText[] = // TODO.Translate
{
L"%s: Production of %s switched off as loyalty is too low.",
L"%s: Production of %s switched off due to insufficient funds.",
L"%s: Production of %s switched off as it requires a merc to staff the facility.",
L"%s: Production of %s switched off due to required items missing.",
L"Item to build",
L"Preproducts", // 5
L"h/item",
};
#endif //RUSSIAN