public void AddToggle(String toggle, String name, int item, String color) { ModTranslation text = LocalizationLoader.CreateTranslation(toggle); text.SetDefault("[i:" + item + "] [c/" + color + ":" + name + "]"); LocalizationLoader.AddTranslation(text); }
/// <summary> /// Creates or gets a translation from <see cref="AutoRegisteredTranslations"/>. If a translation is created, it will be added to <see cref="AutoRegisteredTranslations"/>. /// </summary> public ModTranslation GetOrCreateTranslation(string key) { if (AutoRegisteredTranslations.ContainsKey(key)) { return(AutoRegisteredTranslations[key]); } ModTranslation translation = LocalizationLoader.CreateTranslation(Mod, key); AutoRegisteredTranslations.Add(key, translation); return(translation); }
//Possibly Removed // public override bool Autoload(ref string name) // { // name = "Tinkerer"; // return AlchemistNPCLite.modConfiguration.TinkererSpawn; // } public override void SetStaticDefaults() { DisplayName.SetDefault("Tinkerer"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Инженер"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "工匠"); Main.npcFrameCount[NPC.type] = 25; NPCID.Sets.AttackFrameCount[NPC.type] = 4; NPCID.Sets.DangerDetectRange[NPC.type] = 500; NPCID.Sets.AttackType[NPC.type] = 1; NPCID.Sets.AttackTime[NPC.type] = 20; NPCID.Sets.AttackAverageChance[NPC.type] = 30; NPCID.Sets.HatOffsetY[NPC.type] = -4; ModTranslation text = LocalizationLoader.CreateTranslation(Mod, "Alexander"); text.SetDefault("Alexander"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Александр"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Peter"); text.SetDefault("Peter"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Пётр"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "TinkererButton1"); text.SetDefault("Movement/Misc"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "出售"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "TinkererButton2"); text.SetDefault("Combat"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "商店"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryT1"); text.SetDefault("Do you need something special? Just say if so..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Нужно что-то особенное? Если так, то только скажи..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "需要一些特别的东西? 尽管说..."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryT2"); text.SetDefault("Have you seen my elder sister yet? She is more Steampunker than Tinkerer..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты ещё не встречал мою старшую сестру? Она больше Паромеханик чем Инженер..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你看见过我的姐姐吗? 比起工匠, 她更像个蒸汽朋克女孩..."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryT3"); text.SetDefault("If you seen Paper Tube somewhere, bring it to me and I will unlock it for you."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Если найдёшь где-нибудь тубус, неси его мне и я вскрою его для тебя."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "如果你在什么地方见过纸管, 把它带给我, 我会为你解锁一些东西."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryT4"); text.SetDefault("As you will progress through the world, you may found more valueable things. Counting blueprints for creating rarer accessories."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "По мере твоего продвижения по миру, ты можешь найти всё более ценные вещи. В том числе и чертежи для создания более редких аксессуаров."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "随着进度的推进, 你可能会发现更有价值的东西. 攒些蓝图来制作更稀有的饰品."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryT5"); text.SetDefault("You never know where you may get really rare or valueable things. So explore every possible corner with patience."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Никогда не знаешь, где ты можешь заполучить что-то действительно редкое или ценное. Поэтому исследуй каждый доступный угол со всем возможным терпением."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你永远不会知道在哪里可以得到真正珍贵的东西. 所以耐心探索每一个可能的角落吧."); LocalizationLoader.AddTranslation(text); NPCID.Sets.NPCBestiaryDrawModifiers drawModifiers = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Velocity = -1f, Direction = -1 }; NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, drawModifiers); NPC.Happiness.SetBiomeAffection <UndergroundBiome>(AffectionLevel.Like); NPC.Happiness.SetBiomeAffection <SnowBiome>(AffectionLevel.Love); NPC.Happiness.SetBiomeAffection <DesertBiome>(AffectionLevel.Dislike); NPC.Happiness.SetNPCAffection(NPCID.Steampunker, AffectionLevel.Love); NPC.Happiness.SetNPCAffection(NPCID.Mechanic, AffectionLevel.Like); NPC.Happiness.SetNPCAffection(NPCID.DyeTrader, AffectionLevel.Dislike); }
//Probably removed // public override bool Autoload(ref string name) // { // name = "Musician"; // return true; // } public override void SetStaticDefaults() { DisplayName.SetDefault("Musician"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Музыкант"); Main.npcFrameCount[NPC.type] = 25; NPCID.Sets.AttackFrameCount[NPC.type] = 4; NPCID.Sets.DangerDetectRange[NPC.type] = 500; NPCID.Sets.AttackType[NPC.type] = 0; NPCID.Sets.AttackTime[NPC.type] = 45; NPCID.Sets.AttackAverageChance[NPC.type] = 30; NPCID.Sets.HatOffsetY[NPC.type] = -2; ModTranslation text = LocalizationLoader.CreateTranslation(Mod, "Shop2"); text.SetDefault("2nd shop"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "2-ой магазин"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Shop3"); text.SetDefault("3rd shop"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "3-ий магазин"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "ShopChanger"); text.SetDefault("Shop Changer"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сменить магазин"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "切换商店"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Beethoven"); text.SetDefault("Beethoven"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Бетховен"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Bach"); text.SetDefault("Bach"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Бах"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Johan"); text.SetDefault("Johan"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Иоганн"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Edison"); text.SetDefault("Edison"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Эдисон"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Scott"); text.SetDefault("Scott"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Скотт"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Lloyd"); text.SetDefault("Lloyd"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ллойд"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Gamma"); text.SetDefault("Gamma"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Гамма"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM1"); text.SetDefault("I would wear headphones, but I'm not sure if Terrarians even have ears..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я бы носил наушники, но я не уверен, что обитатели Террарии вообще имеют уши..."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM2"); text.SetDefault("I have to wonder why Boss 1 and Boss 2 didn't get better names in the OST. Those names are soooo bland."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Интересно, почему Босс 1 и Босс 2 не имеют имён получше в саундтреке. Эти имена слишком обычные."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM3"); text.SetDefault("Look, the Cyborg may have my name, but I've still got the better job here."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Хотя у Киборга может быть моё имя, но у меня здесь всё равно работа получше."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM4"); text.SetDefault("Shhhhh! You'll ruin my recording!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Шшш! Ты испортишь мою запись!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM5"); text.SetDefault("I swear, if one more person asks me to sell them a ''Megalovania'' music box...."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Не дай бог ещё кто-нибудь попросит меня продать ему музыкальную шкатулку с Мегалованией..."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM6"); text.SetDefault("Look, your enthusiasm is awesome, but could you maybe record the next boss track yourself? I don't really want to risk my life for some tunes."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Послушай, твой энтузиазм просто потрясающий, но может ты запишешь мелодию следующего босса сам? Мне не очень хочется рисковать жизнью из-за некоторых мелодий."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM7"); text.SetDefault("Ah, I see you were able to save the Explorer! Well done! Perhaps my next song is going to be about your triumph."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я вижу ты спас Исследовательницу! Отличная работа! Может быть моя следующая песня будет о твоём триумфе."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM8"); text.SetDefault("You know, "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты знаешь, "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM9"); text.SetDefault(" has been really helpful while I've been setting up this sound system. Wires are key!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), " была очень полезна, когда я устанавливал здесь звуковую систему. Провода рулят!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM10"); text.SetDefault("If you run into "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Если как-нибудь зайдёшь к "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM11"); text.SetDefault(", let him know he still owes me for those music boxes I sold him."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), ", то передай ему, что он всё ещё должен мне за те музыкальные шкатулки, что я продал ему."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM12"); text.SetDefault("I'll be honest, I'm not sure if I trust "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Буду честен, я не уверен, что я доверяю "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM13"); text.SetDefault(". He claims to not be possessed, and yet he still is using skulls to fight... I'm getting mixed messages here."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), ". Он вроде бы больше не одержим, но все еще использует черепа для битвы... У меня смешанные чувства."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM14"); text.SetDefault("Man, my mixtape is so much better than this, but I can't sell you that due to copyright."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Чувак, мои записи значительно лучше всего этого, но я не могу продать их тебе из-за авторских прав."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM15"); text.SetDefault("No, I don't have an ''All Star'' music box. Code it in yourself."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Нет, я меня нет музыкальной шкатулки ''Со Всеми''. Закодируй её сам."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM16"); text.SetDefault("Wait, NPC? I thought I was the protagonist!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Погоди-ка, НИП? Я думал, что я протагонист!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM17"); text.SetDefault("Never thought I'd be selling a music box with lyrics... DM DOKURO, you're a madman and I love it!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Никогда не думал, что я буду продавать музыкальные шкатулки с песнями... DM DOKURO, ты безумец и мне это нравится!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM18"); text.SetDefault("A whole music based class? That sounds amazing! Too bad I don't have any gear for that, huh?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Целый класс, основанный на музыке? Звучит потрясающе! Жаль, что у меня нет ничего подходящего для него..."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM19"); text.SetDefault("This is your fault. GET. OUT."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Это твоя вина. УБИРАЙСЯ. ОТСЮДА."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM20"); text.SetDefault("Ah, this takes me back! I remember when this song used to play in the dungeon and the underworld... good times!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Эх, ностальгия! Я помню, когда эта мелодия играла в Подземелье и в Преисподней... хорошие времена!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM21"); text.SetDefault("Is there a name for the fear of being spied by a cake?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Если ли имя у страха того, что за тобой шпионят с помощью торта?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryM22"); text.SetDefault("You are hurting my ears! Turn it down!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "У меня уже болят уши! Сделай потише!"); LocalizationLoader.AddTranslation(text); NPCID.Sets.NPCBestiaryDrawModifiers drawModifiers = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Velocity = -1f, Direction = -1 }; NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, drawModifiers); NPC.Happiness.SetBiomeAffection <UndergroundBiome>(AffectionLevel.Like); NPC.Happiness.SetBiomeAffection <HallowBiome>(AffectionLevel.Love); NPC.Happiness.SetBiomeAffection <SnowBiome>(AffectionLevel.Dislike); NPC.Happiness.SetNPCAffection(NPCID.PartyGirl, AffectionLevel.Love); NPC.Happiness.SetNPCAffection(NPCID.Wizard, AffectionLevel.Like); NPC.Happiness.SetNPCAffection(NPCID.GoblinTinkerer, AffectionLevel.Dislike); }
//Possibly removed // public override bool Autoload(ref string name) // { // name = "Young Brewer"; // return true; // } public override void SetStaticDefaults() { DisplayName.SetDefault("Young Brewer"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Юный зельевар"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "年轻药剂师"); Main.npcFrameCount[NPC.type] = 23; NPCID.Sets.AttackFrameCount[NPC.type] = 4; NPCID.Sets.DangerDetectRange[NPC.type] = 500; NPCID.Sets.AttackType[NPC.type] = 0; NPCID.Sets.AttackTime[NPC.type] = 20; NPCID.Sets.AttackAverageChance[NPC.type] = 30; NPCID.Sets.HatOffsetY[NPC.type] = 2; ModTranslation text = LocalizationLoader.CreateTranslation(Mod, "Harold"); text.SetDefault("Harold"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Гарольд"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Charles"); text.SetDefault("Charles"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Чарльз"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Monty"); text.SetDefault("Monty"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Монти"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Lucas"); text.SetDefault("Lucas"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Лукас"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Porky"); text.SetDefault("Porky"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Порки"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Leeland"); text.SetDefault("Leeland"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Леланд"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Atreus"); text.SetDefault("Atreus"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Атреус"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry1"); text.SetDefault("I'm trading potions which were made by my parents."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я продаю зелья, сделанные моими родителями."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我出售我父母做的药剂."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry2"); text.SetDefault("I have some potions I can sell to you."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "У есть несколько зелий, которые я могу продать тебе."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我有一些药水可以卖给你"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry3"); text.SetDefault("Although, the Battle Combination was my idea."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Так или иначе, это я придумал Боевую Комбинацию."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "战斗药剂包是我的主意."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry4"); text.SetDefault("There's a legendary yoyo known as the Sasscade."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Существует Легендарное Йо-йо, известное как Сасскад."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "有一个传说中的溜溜球被称为Sasscadee."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry5"); text.SetDefault("Strange Brew from Skeleton Merchant smells really terrible, but Mana Restoration effect is awesome."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Странное варево от Торговца-Скелета пахнет просто ужасно, но оно потрясающе восстанавливает ману."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "来自骷髅商人的奇异啤酒气味真的很糟糕,但法力恢复效果是可怕的."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry6"); text.SetDefault("Hi, *cough*.. That definetly wasn't a lemonade."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Привет, *кашель*.. Это определённо был не лимонад."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "嗨, *咳咳*.. 那绝对不是柠檬茶."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry7"); text.SetDefault("Have you seen a Mechanical Worm around?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты не видел Механического Червя поблизости?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你有在附近见到钢铁破坏者吗?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry8"); text.SetDefault("My mom, "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Разве моя мама, "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我妈妈, "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry9"); text.SetDefault(", is the coolest brewer ever, isn't she? She can brew the hardest potions with ease."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), ", не самая лучшая Зельеварщица на свете? Она может сварить любые сложнейшие зелья с лёгкостью!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), " , 是最酷的药剂师, 不是吗? 她可以轻松酿造出难做的药剂."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Entry10"); text.SetDefault("Certain combinations can only be brewed if certain types of magic are present in the world."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Некоторые комбинации могут быть изготовлены только если в мире присутсвуют особенные виды магии."); LocalizationLoader.AddTranslation(text); NPCID.Sets.NPCBestiaryDrawModifiers drawModifiers = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Velocity = -1f, Direction = -1 }; NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, drawModifiers); NPC.Happiness.SetBiomeAffection <DesertBiome>(AffectionLevel.Like); NPC.Happiness.SetBiomeAffection <ForestBiome>(AffectionLevel.Love); NPC.Happiness.SetBiomeAffection <SnowBiome>(AffectionLevel.Dislike); NPC.Happiness.SetNPCAffection <Brewer>(AffectionLevel.Love); NPC.Happiness.SetNPCAffection <Alchemist>(AffectionLevel.Like); NPC.Happiness.SetNPCAffection(NPCID.GoblinTinkerer, AffectionLevel.Dislike); }
// Probably Removed // public override bool Autoload(ref string name) // { // name = "Alchemist"; // return true; // } public override void SetStaticDefaults() { DisplayName.SetDefault("Alchemist"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Алхимик"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "炼金师"); Main.npcFrameCount[NPC.type] = 23; NPCID.Sets.AttackFrameCount[NPC.type] = 2; NPCID.Sets.DangerDetectRange[NPC.type] = 500; NPCID.Sets.AttackType[NPC.type] = 0; NPCID.Sets.AttackTime[NPC.type] = 22; NPCID.Sets.AttackAverageChance[NPC.type] = 30; NPCID.Sets.HatOffsetY[NPC.type] = -4; ModTranslation text = LocalizationLoader.CreateTranslation(Mod, "PlantsShop"); text.SetDefault("Plants shop"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Магазин растений"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "GetCharm"); text.SetDefault("Get Charm"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Получить талисман"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Edward"); text.SetDefault("Edward"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Эдвард"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Severus"); text.SetDefault("Severus"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Северус"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Horace"); text.SetDefault("Horace"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Гораций"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Tilyorn"); text.SetDefault("Tilyorn"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Тильорн"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Nicolas"); text.SetDefault("Nicolas"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Николас"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Gregg"); text.SetDefault("Gregg"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Грег"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA1"); text.SetDefault("My Healing potions will cure your deepest wounds."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Мои лечебные зелья излечат твои глубочайшие раны."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我的生命药水可以治疗你的伤口."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA2"); text.SetDefault("My Mana potions will restore your magic power."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Мои зелья маны восстановят твою магическую силу."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我的魔法药水可以回复你的魔力."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA3"); text.SetDefault("Restoration potions... I'm not sure if I trust them..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Зелья Восстановления... Не уверен, могу ли я доверять им..."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "再生药剂...不知道它们是好是坏..."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA4"); text.SetDefault("There's a legendary yoyo known as the Sasscade."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Существует Легендарное Йо-йо, известное как Сасскад."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "有一个传说中的溜溜球被称为Sasscade."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA5"); text.SetDefault("The Strange Brew I bought from the Skeleton Merchant smells awful, but its Mana Restoration effect is awesome!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Странное Варево, что я купил у Скелета-торговца пахнет просто ужасно, но его эффект восстановления маны потрясает."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "来自骷髅商人的奇异啤酒气味真的很糟糕,但法力恢复效果非常棒!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA6"); text.SetDefault("Hi, *cough*... That definitely wasn't a Teleporation potion."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Привет, *кашель*... Это определённо было не зелье Телепортации."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "嗨, *咳咳*.. 那绝对不是柠檬茶."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA7"); text.SetDefault("Have you seen any Mechanical Skulls around?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты не видел Механических Черепов поблизости?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你有在周围看到一个机械骷髅王吗?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA8"); text.SetDefault("Have you ever heard of Ultra Mushroom? If you find one, I do believe I got some stuff to aid you in boosting that thing."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты слышал об Ультра Грибах? Если ты найдёшь такой, я уверен что я смогу помочь тебе его усилить."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你有听说过极限蘑菇吗?如果你找到了一个,我相信我能研究出一种可以帮助你的材料."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA9"); text.SetDefault("I asked "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я попросил у "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我向 "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA10"); text.SetDefault(" if I could buy the recipe for the Potent Extract. He said no because, and I quote, ''Even an idiot would figure it out.''"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), " рецепт Кактусового Экстракта. Он ответил нет, поскольку, я процитирую ''Даже идиот догадается.''"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), " 购买高效萃取配方,因为他说不,然后我就说‘即使是傻子也能研究出那个配方’."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA11"); text.SetDefault("And to think, she's getting the potions and not me... but I can't argue there."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "И только подумать... Она выбрала зелья, а не меня. Хотя тут и не поспоришь."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "想想看, 她正在得到那些药水而我没有...但我对此却又无法反驳."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA12"); text.SetDefault("What is his name? "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Как его зовут? "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "他叫什么来着? "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA13"); text.SetDefault("? So... Teacher's here? Better step up my game!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "? Так... Учитель здесь? Лучше отойди с дороги!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "? 所以... 老师在这儿? 我最好加快脚步!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA14"); text.SetDefault("Thank goodness I got those pieces from Skeletron. Want to check it out?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Слава богу, что я добыл эти кусочки из Скелетрона? Не желаешь посмотреть?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "感谢上帝,我从骷髅王那里拿到了这些碎片,想要看看吗?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA15"); text.SetDefault("Can you please ask "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Можешь попросить "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你能不能拜托 "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA16"); text.SetDefault(" to stop mocking me? I know my potions can't make you stronger, but at least they aren't as dangerous to drink."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), " перестать дразнить меня? Я знаю, что мои зелья не сделают тебя сильнее, но их хотя бы не столь опасно пить."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), " 别再嘲笑我?我知道我的药剂不能让你变强,但是至少他们喝起来不危险."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA17"); text.SetDefault("These goblins are so annoying... Thankfully, they cannot stay here for too long."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Эти гоблины такие раздражающие... Хорошо, что они не останутся здесь надолго."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "这些哥布林是如此的愤怒...幸好,他们在这里的时间不会很久."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA18"); text.SetDefault("You better deal with Pirates as fast, as you can. I can't wait to talk with Captain! Haven't seen him for years!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Постарайся справиться с Пиратами как можно быстрее. Не могу дождаться возвращения Капитана! Я не видел его уже много лет!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你最好以最快的速度解决这些海盗先,我忍不住想和船长说几句话,好些年没见到过他咯!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA19"); text.SetDefault("I hope that you will not let them into my house, will you?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я надеюсь, ты не пустишь их в мой дом, правда?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我觉得你不会让他们进我的屋子的,是吧?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA20"); text.SetDefault("Perhaps there are better things for you to do, rather than talking to me, at the moment. I don't know... maybe defend us?!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Может у тебя найдётся занятие получше, чем говорить со мной сейчас? Ну например... Охранять нас?!"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "也许在这个时候你有比和我说话更重要的事情要做? 有个血红色的月亮挂在天上哎!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA21"); text.SetDefault("...My friend, the best thing to do in this case is not bother me during this time."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "...Мой друг, лучшее, что ты можешь сделать - это не беспокоить меня сейчас."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "...我的朋友,在这个时刻最好的事情就是别来打扰我!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA22"); text.SetDefault("I have an explosive flask. You do NOT want to know what it tastes like."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "У меня есть взрывная колба. Ты точно НЕ хочешь узнать, какова она на вкус."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我有一个爆炸烧瓶,你不会想知道它尝起来是什么味道的."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA23"); text.SetDefault("How can "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Как "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "所以 "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA24"); text.SetDefault(" stay calm in a time like this? I want to know, NOW."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "может оставаться спокойной в такое время? Я ХОЧУ это узнать."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), " 是怎么在这种时候保持冷静的? 我现在就想知道, 现在!"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA25"); text.SetDefault("Don't let the dark one that came from the Jungle fool you with charming wisdom. Me and "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Не позволяй тёмному, пришедшему из Джунглей, одурачить тебя чарующей мудростью. Я и "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA26"); text.SetDefault(" were once his apprentices. I quit when his lessons turned too dark but "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), " однажды были его ассистентами. Я ушёл, когда его уроки стали слишком тёмными, но интерес "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryA27"); text.SetDefault(" interest in occult Alchemy did nothing but grow."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), " к оккультной алхимии только вырос."); LocalizationLoader.AddTranslation(text); NPCID.Sets.NPCBestiaryDrawModifiers drawModifiers = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Velocity = -1f, Direction = -1 }; NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, drawModifiers); NPC.Happiness.SetBiomeAffection <ForestBiome>(AffectionLevel.Like); NPC.Happiness.SetBiomeAffection <UndergroundBiome>(AffectionLevel.Love); NPC.Happiness.SetBiomeAffection <SnowBiome>(AffectionLevel.Dislike); NPC.Happiness.SetNPCAffection <YoungBrewer>(AffectionLevel.Love); NPC.Happiness.SetNPCAffection(NPCID.Mechanic, AffectionLevel.Like); NPC.Happiness.SetNPCAffection <Brewer>(AffectionLevel.Dislike); }
// Probably Removed // public override bool Autoload(ref string name) // { // name = "Jeweler"; // return true; // } public override void SetStaticDefaults() { DisplayName.SetDefault("Jeweler"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ювелир"); DisplayName.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "珠宝师"); Main.npcFrameCount[NPC.type] = 25; NPCID.Sets.AttackFrameCount[NPC.type] = 4; NPCID.Sets.DangerDetectRange[NPC.type] = 500; NPCID.Sets.AttackType[NPC.type] = 0; NPCID.Sets.AttackTime[NPC.type] = 45; NPCID.Sets.AttackAverageChance[NPC.type] = 30; NPCID.Sets.HatOffsetY[NPC.type] = -2; ModTranslation text = LocalizationLoader.CreateTranslation(Mod, "ArenaShop"); text.SetDefault("Arena Shop"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Магазин Арены"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "阿瑞娜商店"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Carl"); text.SetDefault("Carl"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Карл"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "John"); text.SetDefault("John"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Джон"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "JanMare"); text.SetDefault("JanMare"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Жан-Маре"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "LuiFransua"); text.SetDefault("LuiFransua"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Луи-Франсуа"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Daniel"); text.SetDefault("Daniel"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Дэниел"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "Charley"); text.SetDefault("Charley"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Чарли"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ1"); text.SetDefault("I found some gems for selling. Would you check them?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я собрал немного драгоценных камней на продажу. Посмотришь?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我找到一些珠宝, 你想看看吗?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ2"); text.SetDefault("Magic rings are not as powerful as Legendary Emblems, but still can give you some advantage against powerful creatures."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Волшебные кольца не так могущественны, как Легендарные Эмблемы, но всё ещё могут дать преимущество против могущественных созданий."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "魔法戒指并不像传说中的那样强大,但它仍然能给你对抗强大生物的力量"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ3"); text.SetDefault("Ouch... what do you want, my friend?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ай... Чего желаешь, мой друг?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "呦... 你想要什么,我的朋友?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ4"); text.SetDefault("I can make a Diamond Ring for you."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Я могу сделать для тебя Бриллиантовое Кольцо."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "我可以为你做钻石戒指."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ5"); text.SetDefault("No, don't think that I somehow related to Skeleton Merchant."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Нет, я не думаю что хоть как-то связан со Скелетом-торговцем."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "不,不要认为我和骷髅商人有关系."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ6"); text.SetDefault("If you somehow find all Magic Rings,then you could make the Omniring."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Если ты каким-то образом соберёшь все Магические кольца, то ты сможешь сделать Единое Кольцо."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "如果你找到了所有的魔法戒指,你可以制造欧姆尼戒指."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ7"); text.SetDefault("Have you seen Mechanical Creatures?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты видел где-нибудь Механических Созданий?"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你在周围看到机械生物了吗?"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ8"); text.SetDefault("Did you notice that "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Ты замечал, что "); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "你有没有注意到到我和 "); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ9"); text.SetDefault(" and I looks almost the same? It's because we're twin brothers."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), " и я очень похожи? Это потому что мы близнецы."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), " 长得几乎一毛一样?这是因为我们是兄弟."); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(Mod, "EntryJ10"); text.SetDefault("Should you find enought of those torn notes, bring the to me and ill decipher them for you. Dont ask me why, just know that they hold a value for me."); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Как только найдёшь достаточно изорванных записок, неси их мне и я расшифрую их для тебя. Не спрашивай зачем, просто знай, что они имеют значение для меня."); LocalizationLoader.AddTranslation(text); NPCID.Sets.NPCBestiaryDrawModifiers drawModifiers = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Velocity = -1f, Direction = -1 }; NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, drawModifiers); NPC.Happiness.SetBiomeAffection <JungleBiome>(AffectionLevel.Like); NPC.Happiness.SetBiomeAffection <ForestBiome>(AffectionLevel.Love); NPC.Happiness.SetBiomeAffection <SnowBiome>(AffectionLevel.Dislike); NPC.Happiness.SetNPCAffection(NPCID.Merchant, AffectionLevel.Love); NPC.Happiness.SetNPCAffection(NPCID.TaxCollector, AffectionLevel.Like); NPC.Happiness.SetNPCAffection(NPCID.PartyGirl, AffectionLevel.Dislike); }
private void AddLocalizations() { #region helpers void Add(string key, string message) { ModTranslation text = LocalizationLoader.CreateTranslation(Instance, key); text.SetDefault(message); LocalizationLoader.AddTranslation(text); } void AddBossSpawnInfo(string bossName, string spawnInfo) { Add($"BossChecklist.{bossName}SpawnInfo", spawnInfo); } void AddToggle(string toggle, int item, string color = "ffffff") { ModTranslation text = LocalizationLoader.CreateTranslation(Instance, toggle); text.SetDefault($"[i:{item}] [c/{color}:{{$Mods.{Name}.Toggler.{toggle}}}]"); LocalizationLoader.AddTranslation(text); } #endregion helpers Add("Message.MasochistExtraTooltip", $"[i:{ModContent.ItemType<MutantsPact>()}] {{$Mods.{Name}.Message.MasochistPreTooltip}}"); #region boss spawn info AddBossSpawnInfo("DeviBoss", $"Spawn by using [i:{ModContent.ItemType<DevisCurse>()}]"); AddBossSpawnInfo("AbomBoss", $"Spawn by using [i:{ModContent.ItemType<AbomsCurse>()}]"); AddBossSpawnInfo("MutantBoss", $"Throw [i:{ModContent.ItemType<AbominationnVoodooDoll>()}] into a pool of lava while Abominationn is alive in Mutant's presence."); AddBossSpawnInfo("TimberChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] on the surface during day."); AddBossSpawnInfo("TerraChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] underground."); AddBossSpawnInfo("EarthChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] in the underworld."); AddBossSpawnInfo("NatureChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] in underground snow."); AddBossSpawnInfo("LifeChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] in the Hallow at day."); AddBossSpawnInfo("ShadowChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] in the Corruption or Crimson at night."); AddBossSpawnInfo("SpiritChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] in the underground desert."); AddBossSpawnInfo("WillChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] at the ocean."); AddBossSpawnInfo("CosmosChampion", $"Spawn by using [i:{ModContent.ItemType<SigilOfChampions>()}] in space."); AddBossSpawnInfo("TrojanSquirrel", $"Spawn by using [i:{ModContent.ItemType<SquirrelCoatofArms>()}]"); #endregion boss spawn info #region Toggles //AddToggle("PresetHeader", ModContent.ItemType<M*******t>()); #region enchants AddToggle("WoodHeader", ModContent.ItemType <TimberForce>()); AddToggle("BorealConfig", ModContent.ItemType <BorealWoodEnchant>(), "8B7464"); AddToggle("MahoganyConfig", ModContent.ItemType <RichMahoganyEnchant>(), "b56c64"); AddToggle("EbonConfig", ModContent.ItemType <EbonwoodEnchant>(), "645a8d"); AddToggle("ShadeConfig", ModContent.ItemType <ShadewoodEnchant>(), "586876"); AddToggle("ShadeOnHitConfig", ModContent.ItemType <ShadewoodEnchant>(), "586876"); AddToggle("PalmConfig", ModContent.ItemType <PalmWoodEnchant>(), "b78d56"); AddToggle("PearlConfig", ModContent.ItemType <PearlwoodEnchant>(), "ad9a5f"); AddToggle("EarthHeader", ModContent.ItemType <EarthForce>()); AddToggle("AdamantiteConfig", ModContent.ItemType <AdamantiteEnchant>(), "dd557d"); AddToggle("CobaltConfig", ModContent.ItemType <CobaltEnchant>(), "3da4c4"); AddToggle("AncientCobaltConfig", ModContent.ItemType <AncientCobaltEnchant>(), "354c74"); AddToggle("MythrilConfig", ModContent.ItemType <MythrilEnchant>(), "9dd290"); AddToggle("OrichalcumConfig", ModContent.ItemType <OrichalcumEnchant>(), "eb3291"); AddToggle("PalladiumConfig", ModContent.ItemType <PalladiumEnchant>(), "f5ac28"); AddToggle("PalladiumOrbConfig", ModContent.ItemType <PalladiumEnchant>(), "f5ac28"); AddToggle("TitaniumConfig", ModContent.ItemType <TitaniumEnchant>(), "828c88"); AddToggle("TerraHeader", ModContent.ItemType <TerraForce>()); AddToggle("CopperConfig", ModContent.ItemType <CopperEnchant>(), "d56617"); AddToggle("IronMConfig", ModContent.ItemType <IronEnchant>(), "988e83"); AddToggle("IronSConfig", ModContent.ItemType <IronEnchant>(), "988e83"); AddToggle("TinConfig", ModContent.ItemType <TinEnchant>(), "a28b4e"); AddToggle("TungstenConfig", ModContent.ItemType <TungstenEnchant>(), "b0d2b2"); AddToggle("TungstenProjConfig", ModContent.ItemType <TungstenEnchant>(), "b0d2b2"); AddToggle("ObsidianConfig", ModContent.ItemType <ObsidianEnchant>(), "453e73"); AddToggle("WillHeader", ModContent.ItemType <WillForce>()); AddToggle("GladiatorConfig", ModContent.ItemType <GladiatorEnchant>(), "9c924e"); AddToggle("GoldConfig", ModContent.ItemType <GoldEnchant>(), "e7b21c"); AddToggle("GoldToPiggyConfig", ModContent.ItemType <GoldEnchant>(), "e7b21c"); AddToggle("HuntressConfig", ModContent.ItemType <HuntressEnchant>(), "7ac04c"); AddToggle("ValhallaConfig", ModContent.ItemType <ValhallaKnightEnchant>(), "93651e"); AddToggle("SquirePanicConfig", ModContent.ItemType <SquireEnchant>(), "948f8c"); AddToggle("LifeHeader", ModContent.ItemType <LifeForce>()); AddToggle("BeeConfig", ModContent.ItemType <BeeEnchant>(), "FEF625"); AddToggle("BeetleConfig", ModContent.ItemType <BeetleEnchant>(), "6D5C85"); AddToggle("CactusConfig", ModContent.ItemType <CactusEnchant>(), "799e1d"); AddToggle("PumpkinConfig", ModContent.ItemType <PumpkinEnchant>(), "e3651c"); AddToggle("SpiderConfig", ModContent.ItemType <SpiderEnchant>(), "6d4e45"); AddToggle("TurtleConfig", ModContent.ItemType <TurtleEnchant>(), "f89c5c"); AddToggle("NatureHeader", ModContent.ItemType <NatureForce>()); AddToggle("ChlorophyteConfig", ModContent.ItemType <ChlorophyteEnchant>(), "248900"); AddToggle("CrimsonConfig", ModContent.ItemType <CrimsonEnchant>(), "C8364B"); AddToggle("RainConfig", ModContent.ItemType <RainEnchant>(), "ffec00"); AddToggle("FrostConfig", ModContent.ItemType <FrostEnchant>(), "7abdb9"); AddToggle("JungleConfig", ModContent.ItemType <JungleEnchant>(), "71971f"); AddToggle("JungleDashConfig", ModContent.ItemType <JungleEnchant>(), "71971f"); AddToggle("MoltenConfig", ModContent.ItemType <MoltenEnchant>(), "c12b2b"); AddToggle("MoltenEConfig", ModContent.ItemType <MoltenEnchant>(), "c12b2b"); AddToggle("ShroomiteConfig", ModContent.ItemType <ShroomiteEnchant>(), "008cf4"); AddToggle("ShroomiteShroomConfig", ModContent.ItemType <ShroomiteEnchant>(), "008cf4"); AddToggle("ShadowHeader", ModContent.ItemType <ShadowForce>()); AddToggle("DarkArtConfig", ModContent.ItemType <DarkArtistEnchant>(), "9b5cb0"); AddToggle("ApprenticeConfig", ModContent.ItemType <ApprenticeEnchant>(), "5d86a6"); AddToggle("NecroConfig", ModContent.ItemType <NecroEnchant>(), "565643"); AddToggle("NecroGloveConfig", ModContent.ItemType <NecroEnchant>(), "565643"); AddToggle("ShadowConfig", ModContent.ItemType <ShadowEnchant>(), "42356f"); AddToggle("AncientShadowConfig", ModContent.ItemType <AncientShadowEnchant>(), "42356f"); AddToggle("MonkConfig", ModContent.ItemType <MonkEnchant>(), "920520"); AddToggle("ShinobiDashConfig", ModContent.ItemType <ShinobiEnchant>(), "935b18"); AddToggle("ShinobiConfig", ModContent.ItemType <ShinobiEnchant>(), "935b18"); AddToggle("SpookyConfig", ModContent.ItemType <SpookyEnchant>(), "644e74"); AddToggle("SpiritHeader", ModContent.ItemType <SpiritForce>()); AddToggle("FossilConfig", ModContent.ItemType <FossilEnchant>(), "8c5c3b"); AddToggle("ForbiddenConfig", ModContent.ItemType <ForbiddenEnchant>(), "e7b21c"); AddToggle("HallowDodgeConfig", ModContent.ItemType <HallowEnchant>(), "968564"); AddToggle("HallowedConfig", ModContent.ItemType <AncientHallowEnchant>(), "968564"); AddToggle("HallowSConfig", ModContent.ItemType <AncientHallowEnchant>(), "968564"); AddToggle("SilverConfig", ModContent.ItemType <SilverEnchant>(), "b4b4cc"); AddToggle("SilverSpeedConfig", ModContent.ItemType <SilverEnchant>(), "b4b4cc"); AddToggle("SpectreConfig", ModContent.ItemType <SpectreEnchant>(), "accdfc"); AddToggle("TikiConfig", ModContent.ItemType <TikiEnchant>(), "56A52B"); AddToggle("CosmoHeader", ModContent.ItemType <CosmoForce>()); AddToggle("MeteorConfig", ModContent.ItemType <MeteorEnchant>(), "5f4752"); AddToggle("NebulaConfig", ModContent.ItemType <NebulaEnchant>(), "fe7ee5"); AddToggle("SolarConfig", ModContent.ItemType <SolarEnchant>(), "fe9e23"); AddToggle("SolarFlareConfig", ModContent.ItemType <SolarEnchant>(), "fe9e23"); AddToggle("StardustConfig", ModContent.ItemType <StardustEnchant>(), "00aeee"); AddToggle("VortexSConfig", ModContent.ItemType <VortexEnchant>(), "00f2aa"); AddToggle("VortexVConfig", ModContent.ItemType <VortexEnchant>(), "00f2aa"); #endregion enchants #region masomode toggles //Masomode Header AddToggle("MasoHeader", ModContent.ItemType <MutantStatue>()); AddToggle("MasoBossRecolors", ModContent.ItemType <M*******t>()); AddToggle("MasoCanPlay", ModContent.ItemType <M*******t>(), "ff0000"); AddToggle("MasoHeader2", ModContent.ItemType <DeviatingEnergy>()); AddToggle("DeerSinewDashConfig", ModContent.ItemType <DeerSinew>()); AddToggle("MasoAeolusConfig", ModContent.ItemType <AeolusBoots>()); AddToggle("MasoAeolusFlowerConfig", ModContent.ItemType <AeolusBoots>()); AddToggle("MasoIconConfig", ModContent.ItemType <SinisterIcon>()); AddToggle("MasoIconDropsConfig", ModContent.ItemType <SinisterIcon>()); AddToggle("MasoGrazeConfig", ModContent.ItemType <SparklingAdoration>()); AddToggle("MasoGrazeRingConfig", ModContent.ItemType <SparklingAdoration>()); AddToggle("MasoDevianttHeartsConfig", ModContent.ItemType <SparklingAdoration>()); AddToggle("PrecisionSealHurtboxConfig", ModContent.ItemType <PrecisionSeal>()); //supreme death fairy header AddToggle("SupremeFairyHeader", ModContent.ItemType <SupremeDeathbringerFairy>()); AddToggle("MasoSlimeConfig", ModContent.ItemType <SlimyShield>()); AddToggle("SlimeFallingConfig", ModContent.ItemType <SlimyShield>()); AddToggle("MasoEyeConfig", ModContent.ItemType <AgitatingLens>()); AddToggle("MasoHoneyConfig", ModContent.ItemType <QueenStinger>()); AddToggle("MasoSkeleConfig", ModContent.ItemType <NecromanticBrew>()); //bionomic AddToggle("BionomicHeader", ModContent.ItemType <BionomicCluster>()); AddToggle("MasoConcoctionConfig", ModContent.ItemType <TimsConcoction>()); AddToggle("MasoCarrotConfig", ModContent.ItemType <OrdinaryCarrot>()); AddToggle("MasoRainbowConfig", ModContent.ItemType <ConcentratedRainbowMatter>()); AddToggle("MasoFrigidConfig", ModContent.ItemType <FrigidGemstone>()); AddToggle("MasoNymphConfig", ModContent.ItemType <NymphsPerfume>()); AddToggle("MasoSqueakConfig", ModContent.ItemType <Items.Accessories.Masomode.SqueakyToy>()); AddToggle("MasoPouchConfig", ModContent.ItemType <WretchedPouch>()); AddToggle("MasoClippedConfig", ModContent.ItemType <WyvernFeather>()); AddToggle("TribalCharmConfig", ModContent.ItemType <TribalCharm>()); //AddToggle("WalletHeader", ModContent.ItemType<SecurityWallet>()); //dubious AddToggle("DubiousHeader", ModContent.ItemType <DubiousCircuitry>()); AddToggle("MasoLightningConfig", ModContent.ItemType <GroundStick>()); AddToggle("MasoProbeConfig", ModContent.ItemType <GroundStick>()); //pure heart AddToggle("PureHeartHeader", ModContent.ItemType <PureHeart>()); AddToggle("MasoEaterConfig", ModContent.ItemType <DarkenedHeart>()); AddToggle("MasoBrainConfig", ModContent.ItemType <GuttedHeart>()); //lump of flesh AddToggle("LumpofFleshHeader", ModContent.ItemType <LumpOfFlesh>()); AddToggle("MasoPugentConfig", ModContent.ItemType <LumpOfFlesh>()); AddToggle("DreadShellParryConfig", ModContent.ItemType <DreadShell>()); AddToggle("DeerclawpsConfig", ModContent.ItemType <Deerclawps>()); //chalice AddToggle("ChaliceHeader", ModContent.ItemType <ChaliceoftheMoon>()); AddToggle("MasoCultistConfig", ModContent.ItemType <ChaliceoftheMoon>()); AddToggle("MasoPlantConfig", ModContent.ItemType <MagicalBulb>()); AddToggle("MasoGolemConfig", ModContent.ItemType <LihzahrdTreasureBox>()); AddToggle("MasoBoulderConfig", ModContent.ItemType <LihzahrdTreasureBox>()); AddToggle("MasoCelestConfig", ModContent.ItemType <CelestialRune>()); AddToggle("MasoVisionConfig", ModContent.ItemType <CelestialRune>()); //heart of the m*******t AddToggle("HeartHeader", ModContent.ItemType <HeartoftheMasochist>()); AddToggle("MasoPumpConfig", ModContent.ItemType <PumpkingsCape>()); AddToggle("IceQueensCrownConfig", ModContent.ItemType <IceQueensCrown>()); AddToggle("MasoFlockoConfig", ModContent.ItemType <IceQueensCrown>()); AddToggle("MasoUfoConfig", ModContent.ItemType <SaucerControlConsole>()); AddToggle("MasoGravConfig", ModContent.ItemType <GalacticGlobe>()); AddToggle("MasoGrav2Config", ModContent.ItemType <GalacticGlobe>()); AddToggle("MasoTrueEyeConfig", ModContent.ItemType <GalacticGlobe>()); //cyclonic fin AddToggle("CyclonicHeader", ModContent.ItemType <AbominableWand>()); AddToggle("MasoFishronConfig", ModContent.ItemType <AbominableWand>()); //mutant armor AddToggle("MutantArmorHeader", ModContent.ItemType <HeartoftheMasochist>()); AddToggle("MasoAbomConfig", ModContent.ItemType <MutantMask>()); AddToggle("MasoRingConfig", ModContent.ItemType <MutantMask>()); AddToggle("MasoReviveDeathrayConfig", ModContent.ItemType <MutantMask>()); #endregion masomode toggles #region soul toggles AddToggle("UniverseHeader", ModContent.ItemType <UniverseSoul>()); AddToggle("MeleeConfig", ModContent.ItemType <BerserkerSoul>()); AddToggle("MagmaStoneConfig", ModContent.ItemType <BerserkerSoul>()); AddToggle("YoyoBagConfig", ModContent.ItemType <BerserkerSoul>()); AddToggle("MoonCharmConfig", ModContent.ItemType <BerserkerSoul>()); AddToggle("NeptuneShellConfig", ModContent.ItemType <BerserkerSoul>()); AddToggle("SniperConfig", ModContent.ItemType <SnipersSoul>()); AddToggle("ManaFlowerConfig", ModContent.ItemType <ArchWizardsSoul>()); AddToggle("UniverseConfig", ModContent.ItemType <UniverseSoul>()); AddToggle("WorldShaperHeader", ModContent.ItemType <WorldShaperSoul>()); AddToggle("MiningHuntConfig", ModContent.ItemType <MinerEnchant>()); AddToggle("MiningDangerConfig", ModContent.ItemType <MinerEnchant>()); AddToggle("MiningSpelunkConfig", ModContent.ItemType <MinerEnchant>()); AddToggle("MiningShineConfig", ModContent.ItemType <MinerEnchant>()); AddToggle("BuilderConfig", ModContent.ItemType <WorldShaperSoul>()); AddToggle("ColossusHeader", ModContent.ItemType <ColossusSoul>()); AddToggle("DefenseStarConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("DefenseBrainConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("DefenseBeeConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("DefensePanicConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("DefenseFleshKnuckleConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("DefensePaladinConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("DefenseFrozenConfig", ModContent.ItemType <ColossusSoul>()); AddToggle("FlightMasteryHeader", ModContent.ItemType <FlightMasterySoul>()); AddToggle("FlightMasteryInsigniaConfig", ModContent.ItemType <FlightMasterySoul>()); AddToggle("FlightMasteryGravityConfig", ModContent.ItemType <FlightMasterySoul>()); AddToggle("SupersonicHeader", ModContent.ItemType <SupersonicSoul>()); AddToggle("RunSpeedConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("MomentumConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicTabiConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicClimbingConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicJumpsConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicRocketBootsConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicCarpetConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("SupersonicFlowerConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("CthulhuShieldConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("BlackBeltConfig", ModContent.ItemType <SupersonicSoul>()); AddToggle("TrawlerHeader", ModContent.ItemType <TrawlerSoul>()); AddToggle("TrawlerSporeConfig", ModContent.ItemType <TrawlerSoul>()); AddToggle("TrawlerConfig", ModContent.ItemType <TrawlerSoul>()); AddToggle("TrawlerJumpConfig", ModContent.ItemType <TrawlerSoul>()); AddToggle("EternityHeader", ModContent.ItemType <EternitySoul>()); AddToggle("EternityConfig", ModContent.ItemType <EternitySoul>()); #endregion soul toggles #region pet toggles AddToggle("PetHeader", ItemID.ZephyrFish); AddToggle("PetBlackCatConfig", ItemID.UnluckyYarn); AddToggle("PetCompanionCubeConfig", ItemID.CompanionCube); AddToggle("PetCursedSaplingConfig", ItemID.CursedSapling); AddToggle("PetDinoConfig", ItemID.AmberMosquito); AddToggle("PetDragonConfig", ItemID.DD2PetDragon); AddToggle("PetEaterConfig", ItemID.EatersBone); AddToggle("PetEyeSpringConfig", ItemID.EyeSpring); AddToggle("PetFaceMonsterConfig", ItemID.BoneRattle); AddToggle("PetGatoConfig", ItemID.DD2PetGato); AddToggle("PetHornetConfig", ItemID.Nectar); AddToggle("PetLizardConfig", ItemID.LizardEgg); AddToggle("PetMinitaurConfig", ItemID.TartarSauce); AddToggle("PetParrotConfig", ItemID.ParrotCracker); AddToggle("PetPenguinConfig", ItemID.Fish); AddToggle("PetPupConfig", ItemID.DogWhistle); AddToggle("PetSeedConfig", ItemID.Seedling); AddToggle("PetDGConfig", ItemID.BoneKey); AddToggle("PetSnowmanConfig", ItemID.ToySled); AddToggle("PetGrinchConfig", ItemID.BabyGrinchMischiefWhistle); AddToggle("PetSpiderConfig", ItemID.SpiderEgg); AddToggle("PetSquashConfig", ItemID.MagicalPumpkinSeed); AddToggle("PetTikiConfig", ItemID.TikiTotem); AddToggle("PetShroomConfig", ItemID.StrangeGlowingMushroom); AddToggle("PetTurtleConfig", ItemID.Seaweed); AddToggle("PetZephyrConfig", ItemID.ZephyrFish); AddToggle("PetHeartConfig", ItemID.CrimsonHeart); AddToggle("PetNaviConfig", ItemID.FairyBell); AddToggle("PetFlickerConfig", ItemID.DD2OgrePetItem); AddToggle("PetLanternConfig", ItemID.MagicLantern); AddToggle("PetOrbConfig", ItemID.ShadowOrb); AddToggle("PetSuspEyeConfig", ItemID.SuspiciousLookingTentacle); AddToggle("PetWispConfig", ItemID.WispinaBottle); #endregion pet toggles #region patreon toggles AddToggle("PatreonHeader", ModContent.ItemType <Patreon.Gittle.RoombaPet>()); AddToggle("PatreonRoomba", ModContent.ItemType <Patreon.Gittle.RoombaPet>()); AddToggle("PatreonOrb", ModContent.ItemType <Patreon.Daawnz.ComputationOrb>()); AddToggle("PatreonFishingRod", ModContent.ItemType <Patreon.Sasha.MissDrakovisFishingPole>()); AddToggle("PatreonDoor", ModContent.ItemType <Patreon.Sam.SquidwardDoor>()); AddToggle("PatreonWolf", ModContent.ItemType <Patreon.ParadoxWolf.ParadoxWolfSoul>()); AddToggle("PatreonDove", ModContent.ItemType <Patreon.ManliestDove.FigBranch>()); AddToggle("PatreonKingSlime", ModContent.ItemType <Patreon.Catsounds.MedallionoftheFallenKing>()); AddToggle("PatreonFishron", ModContent.ItemType <Patreon.DemonKing.StaffOfUnleashedOcean>()); AddToggle("PatreonPlant", ModContent.ItemType <Patreon.LaBonez.PiranhaPlantVoodooDoll>()); AddToggle("PatreonDevious", ModContent.ItemType <Patreon.DevAesthetic.DeviousAestheticus>()); AddToggle("PatreonVortex", ModContent.ItemType <Patreon.GreatestKraken.VortexMagnetRitual>()); AddToggle("PatreonPrime", ModContent.ItemType <Patreon.Purified.PrimeStaff>()); AddToggle("PatreonCrimetroid", ModContent.ItemType <Patreon.Shucks.CrimetroidEgg>()); #endregion patreon toggles #endregion Toggles }
//SBMW:Transtation method public void SetTranslation() { ModTranslation text = LocalizationLoader.CreateTranslation(this, "DiscordBuffTeleportation"); text.SetDefault("Discord Buff Teleportation"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "混乱药剂传送"); LocalizationLoader.AddTranslation(text); //SBMW:RecipeGroups text = LocalizationLoader.CreateTranslation(this, "evilBossMask"); text.SetDefault("Corruption/Crimson boss mask"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "腐化/血腥Boss面具"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "cultist"); text.SetDefault("Cultist mask/hood"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "邪教徒面具/兜帽"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "tier3HardmodeBar"); text.SetDefault("tier 3 Hardmode Bar"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "三级肉后锭(精金/钛金)"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "hardmodeComponent"); text.SetDefault("Hardmode component"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "evilBar"); text.SetDefault("Crimson/Corruption bar"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "魔金/血腥锭"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "evilMushroom"); text.SetDefault("evil mushroom"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "邪恶蘑菇"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "evilComponent"); text.SetDefault("evil component"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "邪恶材料(暗影鳞片/组织样本)"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "evilDrop"); text.SetDefault("evil drop"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "邪恶掉落物(腐肉/椎骨)"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "tier2anvil"); text.SetDefault("tier 2 anvil"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "二级砧(秘银/山铜砧)"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "tier2forge"); text.SetDefault("tier 2 forge"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "二级熔炉(精金/钛金熔炉)"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "tier1anvil"); text.SetDefault("tier 1 anvil"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "一级砧(铁/铅砧)"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "CelestialWings"); text.SetDefault("Celestial Wings"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "四柱翅膀"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "LunarHamaxe"); text.SetDefault("Lunar Hamaxe"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "tier3Watch"); text.SetDefault("tier 3 Watch"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "三级表(金表/铂金表)"); LocalizationLoader.AddTranslation(text); //SBMW:Vanilla text = LocalizationLoader.CreateTranslation(this, "KingSlime"); text.SetDefault("King Slime Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "史莱姆之王宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "EyeofCthulhu"); text.SetDefault("Eye of Cthulhu Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "克苏鲁之眼宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "EaterOfWorlds"); text.SetDefault("Eater Of Worlds Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "世界吞噬者宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "BrainOfCthulhu"); text.SetDefault("Brain Of Cthulhu Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "克苏鲁之脑宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "QueenBee"); text.SetDefault("Queen Bee Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "蜂后宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Skeletron"); text.SetDefault("Skeletron Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "骷髅王宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "WallOfFlesh"); text.SetDefault("Wall Of Flesh Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "血肉之墙宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "QueenSlime"); text.SetDefault("Queen Slime Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Destroyer"); text.SetDefault("Destroyer Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "机械蠕虫宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Twins"); text.SetDefault("Twins Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "双子魔眼宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "SkeletronPrime"); text.SetDefault("Skeletron Prime Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "机械骷髅王宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Plantera"); text.SetDefault("Plantera Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "世纪之花宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "EmpressOfLight"); text.SetDefault("Empress of Light Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Golem"); text.SetDefault("Golem Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "石巨人宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Betsy"); text.SetDefault("Betsy Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "DukeFishron"); text.SetDefault("Duke Fishron Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "猪鲨公爵宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "MoonLord"); text.SetDefault("Moon Lord Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "月亮领主宝藏袋"); LocalizationLoader.AddTranslation(text); //SBMW:CalamityMod text = LocalizationLoader.CreateTranslation(this, "DesertScourge"); text.SetDefault("Desert Scourge Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "荒漠灾虫宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Crabulon"); text.SetDefault("Crabulon Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "蘑菇螃蟹宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "HiveMind"); text.SetDefault("The Hive Mind Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "腐巢意志宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Perforator"); text.SetDefault("The Perforators Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "血肉宿主宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "SlimeGod"); text.SetDefault("The Slime God Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "史莱姆之神宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Cryogen"); text.SetDefault("Cryogen Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "极地之灵宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "BrimstoneElemental"); text.SetDefault("Brimstone Elemental Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "硫磺火元素宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "AquaticScourge"); text.SetDefault("Aquatic Scourge Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "渊海灾虫宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Calamitas"); text.SetDefault("Calamitas Doppelganger Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "灾厄之眼宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "AstrageldonSlime"); text.SetDefault("Astrum Aureus Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Звёздного Заразителя"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "大彗星史莱姆宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "AstrumDeus"); text.SetDefault("Astrum Deus Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "星神吞噬者宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Leviathan"); text.SetDefault("The Leviathan Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "利维坦宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "PlaguebringerGoliath"); text.SetDefault("The Plaguebringer Goliath Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "瘟疫使者歌莉娅宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Ravager"); text.SetDefault("Ravager Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "毁灭魔像宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Providence"); text.SetDefault("Providence Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "亵渎天神宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Polterghast"); text.SetDefault("Polterghast Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "噬魂幽花宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "OldDuke"); text.SetDefault("The Old Duke Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Старого Герцога"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "DevourerofGods"); text.SetDefault("The Devourer of Gods Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "神明吞噬者宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Bumblebirb"); text.SetDefault("Bumblebirb Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "癫痫鸟宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Yharon"); text.SetDefault("Jungle Dragon, Yharon Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "犽戎宝藏袋"); LocalizationLoader.AddTranslation(text); //SBMW:ThoriumMod text = LocalizationLoader.CreateTranslation(this, "DarkMage"); text.SetDefault("Dark Mage Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Ogre"); text.SetDefault("Ogre Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "ThunderBird"); text.SetDefault("The Great Thunder Bird Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "惊雷王鹰宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "QueenJellyfish"); text.SetDefault("The Queen Jellyfish Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "水母皇后宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "CountEcho"); text.SetDefault("Count Echo Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "水母皇后宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "GraniteEnergyStorm"); text.SetDefault("Granite Energy Storm Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "花岗岩流能风暴宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TheBuriedChampion"); text.SetDefault("The Buried Champion Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "英灵遗骸宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TheStarScouter"); text.SetDefault("The Star Scouter Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "星际监察者宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "BoreanStrider"); text.SetDefault("Borean Strider Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "极地遁蛛宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "CoznixTheFallenBeholder"); text.SetDefault("Coznix, The Fallen Beholder Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "堕落注视者·克兹尼格斯宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TheLich"); text.SetDefault("The Lich Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "巫妖宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "AbyssionTheForgottenOne"); text.SetDefault("Abyssion, The Forgotten One Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "被遗忘者-深渊之主宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TheRagnarok"); text.SetDefault("The Ragnarok Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "灾难之灵宝藏袋"); LocalizationLoader.AddTranslation(text); //Redemption text = LocalizationLoader.CreateTranslation(this, "KingChicken"); text.SetDefault("The Mighty King Chicken Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "ThornBane"); text.SetDefault("Thorn, Bane of the Forest Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TheKeeper"); text.SetDefault("The Keeper Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "XenoCrystal"); text.SetDefault("Xenomite Crystal Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "IEye"); text.SetDefault("Infected Eye Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "KingSlayer"); text.SetDefault("King Slayer III Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "V1"); text.SetDefault("Vlitch Cleaver Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "V2"); text.SetDefault("Vlitch Gigipede Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "V3"); text.SetDefault("Omega Obliterator Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "PZ"); text.SetDefault("Patient Zero Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "ThornRematch"); text.SetDefault("Thorn, Bane of the Forest Rematch Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Nebuleus"); text.SetDefault("Nebuleus, Angel of the Cosmos Treasure Bag"); LocalizationLoader.AddTranslation(text); //ElementsAwoken text = LocalizationLoader.CreateTranslation(this, "Wasteland"); text.SetDefault("Wasteland Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Infernace"); text.SetDefault("Infernace Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "ScourgeFighter"); text.SetDefault("Scourge Fighter Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Regaroth"); text.SetDefault("Regaroth Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TheCelestials"); text.SetDefault("The Celestials Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Permafrost"); text.SetDefault("Permafrost Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Obsidious"); text.SetDefault("Obsidious Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Aqueous"); text.SetDefault("Aqueous Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "TempleKeepers"); text.SetDefault("The Temple Keepers Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Guardian"); text.SetDefault("The Guardian Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Volcanox"); text.SetDefault("Volcanox Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "VoidLevi"); text.SetDefault("Void Leviathan Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Azana"); text.SetDefault("Azana Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Ancients"); text.SetDefault("The Ancients Treasure Bag"); LocalizationLoader.AddTranslation(text); //SacredTools text = LocalizationLoader.CreateTranslation(this, "Decree"); text.SetDefault("The Decree Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Декри"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "焚炎南瓜宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "FlamingPumpkin"); text.SetDefault("The Flaming Pumpkin Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Горящей Тыквы"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Jensen"); text.SetDefault("Jensen, the Grand Harpy Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Дженсен, Великой Гарпии"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "巨型鸟妖詹森宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Araneas"); text.SetDefault("Araneas Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Аранеи"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Raynare"); text.SetDefault("Harpy Queen, Raynare Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Рейнейр, Королевы Гарпий"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "鸟妖女王雷纳宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Primordia"); text.SetDefault("Primordia Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Примордии"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Abaddon"); text.SetDefault("Abaddon, the Emissary of Nightmares Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Абаддона, Эмиссара Кошмаров"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "梦魇使者亚巴顿宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Araghur"); text.SetDefault("Araghur, the Flare Serpent Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Арагура, Огненного Змия"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "熔火巨蟒宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Lunarians"); text.SetDefault("The Lunarians Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Лунарианов"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "月军宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Challenger"); text.SetDefault("Erazor Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Ирэйзора"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "堕落帝者宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Challenger"); text.SetDefault("Erazor Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Ирэйзора"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Chinese), "堕落帝者宝藏袋"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Spookboi"); text.SetDefault("Nihilus Treasure Bag"); text.AddTranslation(GameCulture.FromCultureName(GameCulture.CultureName.Russian), "Сумка Нигилюса"); LocalizationLoader.AddTranslation(text); //SpiritMod text = LocalizationLoader.CreateTranslation(this, "Scarabeus"); text.SetDefault("Scarabeus Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Bane"); text.SetDefault("Vinewrath Bane Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Flier"); text.SetDefault("Ancient Flier Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Raider"); text.SetDefault("Starplate Raider Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Infernon"); text.SetDefault("Infernon Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Dusking"); text.SetDefault("Dusking Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "EtherialUmbra"); text.SetDefault("Etherial Umbra Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "IlluminantMaster"); text.SetDefault("Illuminant Master Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Atlas"); text.SetDefault("Atlas Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Overseer"); text.SetDefault("Overseer Treasure Bag"); LocalizationLoader.AddTranslation(text); //SpiritMod text = LocalizationLoader.CreateTranslation(this, "Sharkron"); text.SetDefault("Dune Sharkron Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Hypothema"); text.SetDefault("Hypothema Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Ragnar"); text.SetDefault("Ragnar Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "AnDio"); text.SetDefault("Andesia & Dioritus Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Annihilator"); text.SetDefault("The Annihilator Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Slybertron"); text.SetDefault("Slybertron Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "SteamTrain"); text.SetDefault("Steam Train Treasure Bag"); LocalizationLoader.AddTranslation(text); //Pinky text = LocalizationLoader.CreateTranslation(this, "SunlightTrader"); text.SetDefault("Sunlight Trader Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "THOFC"); text.SetDefault("The Heart of the Cavern Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "MythrilSlime"); text.SetDefault("Mythril Slime Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Valdaris"); text.SetDefault("Valdaris Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Gatekeeper"); text.SetDefault("The Gatekeeper Treasure Bag"); LocalizationLoader.AddTranslation(text); //AAMod text = LocalizationLoader.CreateTranslation(this, "Monarch"); text.SetDefault("Mushroom Monarch Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Grips"); text.SetDefault("Grips of Chaos Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Broodmother"); text.SetDefault("Broodmother Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Hydra"); text.SetDefault("Hydra Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Serpent"); text.SetDefault("Subzero Serpent Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Djinn"); text.SetDefault("Desert Djinn Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Retriever"); text.SetDefault("Retriever Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "RaiderU"); text.SetDefault("Raider Ultima Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Orthrus"); text.SetDefault("Orthrus X Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "EFish"); text.SetDefault("Emperor Fishron Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Nightcrawler"); text.SetDefault("Nightcrawler Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Daybringer"); text.SetDefault("Daybringer Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Yamata"); text.SetDefault("Yamata Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Akuma"); text.SetDefault("Akuma Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Zero"); text.SetDefault("Zero Treasure Bag"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "Shen"); text.SetDefault("Shen Doragon Treasure Cache"); LocalizationLoader.AddTranslation(text); text = LocalizationLoader.CreateTranslation(this, "ShenGrips"); text.SetDefault("Shen Doragon Grips Treasure Bag"); LocalizationLoader.AddTranslation(text); }