自動調理の思い出追加

This commit is contained in:
kimura 2022-06-03 11:35:41 +09:00
parent 6cff6f8234
commit a7b7ac3c2c
4 changed files with 20 additions and 0 deletions

View File

@ -115,6 +115,7 @@ public class Information : MonoBehaviour
var fieldList = tutorialDataList.Where(data => Const.FieldTutorial.Contains(data.id)).OrderBy(data => Array.IndexOf(Const.FieldTutorial, data.id)).ToList();
var shoppingList = tutorialDataList.Where(data => Const.ShoppingTutorial.Contains(data.id)).OrderBy(data => Array.IndexOf(Const.ShoppingTutorial, data.id)).ToList();
var managementList = tutorialDataList.Where(data => Const.ManagementTutorial.Contains(data.id)).OrderBy(data => Array.IndexOf(Const.ManagementTutorial, data.id)).ToList();
var autoCookList = tutorialDataList.Where(data => Const.AutoCookTutorial.Contains(data.id)).OrderBy(data => Array.IndexOf(Const.AutoCookTutorial, data.id)).ToList();
SetHistory(shopLevelList[0], mainList, false);
// tutorial用のSetHistoryが必要
SetHistory(ScriptLocalization.Item.ShopHistoryText0001, fieldList);
@ -126,6 +127,11 @@ public class Information : MonoBehaviour
var levelData = shopLevelList[index];
var scriptList = shopScriptList.Where(data => data.id == levelData.shopLevel).ToList();
SetHistory(levelData, scriptList, levelData.shopLevel > gameData.ViewedShopLevel);
if (index == 6)
{
SetHistory(ScriptLocalization.Item.ShopHistoryText0004, autoCookList);
}
}

View File

@ -22,6 +22,7 @@ public static class Const {
public static readonly int[] FieldTutorial = { 5, 12, 6 };
public static readonly int[] ShoppingTutorial = { 7, 13, 8};
public static readonly int[] ManagementTutorial = { 9 };
public static readonly int[] AutoCookTutorial = { 14 };
public static readonly float VipCustomerRewardStock = 30;
public static readonly float VipCustomerRewardRate = 0.2f;
public static readonly int AutoCookAvailableLevel = 7;

View File

@ -13147,6 +13147,17 @@ MonoBehaviour:
- King of popcorn
Flags: 0000000000
Languages_Touch: []
- Term: Item/ShopHistoryText0004
TermType: 0
Description:
Languages:
- "\u81EA\u52D5\u8ABF\u7406\u306E\u601D\u3044\u51FA"
-
-
-
-
Flags: 0000000000
Languages_Touch: []
CaseInsensitiveTerms: 0
OnMissingTranslation: 3
mTerm_AppName:

View File

@ -10,6 +10,7 @@ namespace I2.Loc
public static string ShopHistoryText0001 { get{ return LocalizationManager.GetTranslation ("Item/ShopHistoryText0001"); } }
public static string ShopHistoryText0002 { get{ return LocalizationManager.GetTranslation ("Item/ShopHistoryText0002"); } }
public static string ShopHistoryText0003 { get{ return LocalizationManager.GetTranslation ("Item/ShopHistoryText0003"); } }
public static string ShopHistoryText0004 { get{ return LocalizationManager.GetTranslation ("Item/ShopHistoryText0004"); } }
}
public static class System
@ -62,6 +63,7 @@ namespace I2.Loc
public const string ShopHistoryText0001 = "Item/ShopHistoryText0001";
public const string ShopHistoryText0002 = "Item/ShopHistoryText0002";
public const string ShopHistoryText0003 = "Item/ShopHistoryText0003";
public const string ShopHistoryText0004 = "Item/ShopHistoryText0004";
}
public static class System