Пример #1
0
        internal static void Init()
        {
            AddCustomRecipe();
            AddCustomItem();

            Language.AddToken(TokenName, TokenValue, TokenLanguage);
            Language.AddToken(TokenDescriptionName, TokenDescriptionValue, TokenLanguage);
        }
Пример #2
0
        internal static void Init(AssetBundle assetBundle)
        {
            PewterPrefab = assetBundle.LoadAsset <GameObject>(PrefabPath);

            AddCustomRecipe();
            AddCustomItem();

            Language.AddToken(TokenName, TokenValue, TokenLanguage);
            Language.AddToken(TokenDescriptionName, TokenDescriptionValue, TokenLanguage);
        }
Пример #3
0
 public static void Init()
 {
     Language.AddToken("$big_wooden_signed_locker", "Big Wooden Locker");
     Language.AddToken("$wooden_signed_locker", "Signed Locker");
     Language.AddToken("$iron_signed_locker", "Iron Signed Locker");
     Language.AddToken("$hidden_stone_locker", "Hidden Stone Locker");
     Language.AddToken("$piece_signed_locker_rename", "Rename locker");
     Language.AddToken("$piece_locker_assign_item", "Assign item to locker");
     Language.AddToken("$piece_sign_assign_item", "Assign item to sign");
 }
Пример #4
0
 private static void AddCustomToken(string TokenName, string TokenValue, string TokenDescripion, string TokenDescriptionValue)
 {
     Language.AddToken(TokenName, TokenValue);
     Language.AddToken(TokenDescripion, TokenDescriptionValue);
 }