示例#1
0
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Paradise Lost Crown of Thorns (T-03-46)");
            DisplayName.AddTranslation(GameCulture.Russian, "Терновый Венец Потерянного Рая (T-03-46)");
            Tooltip.SetDefault("''Thou shall not worry; I have heard your prayers."
                               + "\nHave thou not yet realized that pain is nothing?"
                               + "\nThou want me to prove the miracle."
                               + "\nThou shall believe in me and granted with life. I shall show you the power.''"
                               + "\n[c/FF0000:EGO armor piece]"
                               + "\n+100 max mana"
                               + "\nIncreases melee speed by 33%");
            Tooltip.AddTranslation(GameCulture.Russian, "''Не беспокойтесь, я услышал ваши молитвы..\nНе осознали вы ещё что боль - ничто?\nВы хотите, чтобы я доказал чудо.\nВы продолжаете верить в меня и готовы расстаться с жизнью. Я покажу вам СИЛУ.''\n[c/FF0000:Часть брони Э.П.О.С.]\n+100 к максимуму маны\nУвеличивает скорость ближнего боя на 35%");

            DisplayName.AddTranslation(GameCulture.Chinese, "失乐园荆棘王冠 (T-03-46)");
            Tooltip.AddTranslation(GameCulture.Chinese, "'你不必担心, 我已经听到了你那略带惊恐的祈祷." +
                                   "\n如今, 你还没有意识到, 痛苦这种事物再微小不过了吗?" +
                                   "\n你要我证明奇迹." +
                                   "\n你应该信任我, 将生命奉献给我. 然后, 我自然会向你展示, 什么叫做力量.'" +
                                   "\n[c/FF0000:EGO 盔甲]" +
                                   "\n增加 100 最大法力值" +
                                   "\n增加 33% 近战速度");

            ModTranslation text = mod.CreateTranslation("ParadiseLostSetBonus");

            text.SetDefault("Increases all damage by 35% and adds 25% to critical strike chance"
                            + "\nIncreases damage dealt by EGO weapons"
                            + "\nChanges would be seen after first usage of weapons"
                            + "\nIf hit taken deals less than 100 damage, then it will be nullified.");
            text.AddTranslation(GameCulture.Russian, "Увеличивает любой урон на 35% и добаляет 25% к шансу критического удара\nУвеличивает урон наносимый оружием Э.П.О.С.\nЕсли вы получаете меньше 150 урона, то урон будет аннулирован");
            text.AddTranslation(GameCulture.Chinese, "增加 35% 所有伤害, 增加 25% 暴击率"
                                + "\n使用 EGO 武器造成更多伤害"
                                + "\n第一次使用武器后就能看见变化"
                                + "\n如果你受到的伤害小于 150 , 伤害将会无效化.");
            mod.AddTranslation(text);
        }
示例#2
0
        public override void SetDefaults()
        {
            Main.tileSpelunker[Type]      = true;
            Main.tileContainer[Type]      = true;
            Main.tileShine2[Type]         = true;
            Main.tileShine[Type]          = 1200;
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileValue[Type]          = 500;
            TileID.Sets.HasOutlines[Type] = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
            TileObjectData.newTile.Origin                = new Point16(0, 1);
            TileObjectData.newTile.CoordinateHeights     = new int[] { 16, 18 };
            TileObjectData.newTile.HookCheck             = new PlacementHook(new Func <int, int, int, int, int, int>(Chest.FindEmptyChest), -1, 0, true);
            TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(new Func <int, int, int, int, int, int>(Chest.AfterPlacement_Hook), -1, 0, false);
            TileObjectData.newTile.AnchorInvalidTiles    = new int[] { 127 };
            TileObjectData.newTile.StyleHorizontal       = true;
            TileObjectData.newTile.LavaDeath             = false;
            TileObjectData.newTile.AnchorBottom          = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Sunken Chest");
            name.AddTranslation((int)GameCulture.CultureName.Russian, "Затонувший сундук");
            name.AddTranslation((int)GameCulture.CultureName.Chinese, "沉没之箱");
            AddMapEntry(new Color(200, 200, 200), name, MapChestName);
            dustType           = DustID.Gold;
            disableSmartCursor = true;
            adjTiles           = new int[] { TileID.Containers };
            chest     = "Sunken Chest";
            chestDrop = ModContent.ItemType <SunkenChest>();
            TileID.Sets.BasicChest[Type] = true;
        }
示例#3
0
        public override void Load()
        {
            Config.Load();
            ModTranslation text = CreateTranslation("DC1");

            text.SetDefault("Damage type changed to Magic");
            text.AddTranslation(GameCulture.Russian, "Тип урона изменён на Магический");
            AddTranslation(text);
            text = CreateTranslation("DC2");
            text.SetDefault("Damage type changed to Melee");
            text.AddTranslation(GameCulture.Russian, "Тип урона изменён на Ближний");
            AddTranslation(text);
            LampLight = RegisterHotKey("Lamp Light Toggle", "L");
            if (!Main.dedServ)
            {
                AddEquipTexture(null, EquipType.Legs, "somebody0214Robe_Legs", "AlchemistNPC/Items/Armor/somebody0214Robe_Legs");
            }
            ReversivityCoinTier1ID = CustomCurrencyManager.RegisterCurrency(new ReversivityCoinTier1Data(ItemType <Items.ReversivityCoinTier1>(), 999L));
            ReversivityCoinTier2ID = CustomCurrencyManager.RegisterCurrency(new ReversivityCoinTier2Data(ItemType <Items.ReversivityCoinTier2>(), 999L));
            ReversivityCoinTier3ID = CustomCurrencyManager.RegisterCurrency(new ReversivityCoinTier3Data(ItemType <Items.ReversivityCoinTier3>(), 999L));
            ReversivityCoinTier4ID = CustomCurrencyManager.RegisterCurrency(new ReversivityCoinTier4Data(ItemType <Items.ReversivityCoinTier4>(), 999L));
            ReversivityCoinTier5ID = CustomCurrencyManager.RegisterCurrency(new ReversivityCoinTier5Data(ItemType <Items.ReversivityCoinTier5>(), 999L));
            ReversivityCoinTier6ID = CustomCurrencyManager.RegisterCurrency(new ReversivityCoinTier6Data(ItemType <Items.ReversivityCoinTier6>(), 999L));
            instance = this;
        }
示例#4
0
        public override void Load()
        {
            Config.Load();
            ModTranslation text = CreateTranslation("Change1");

            text.SetDefault("Sniper scope is disabled");
            text.AddTranslation(GameCulture.Russian, "Снайперский прицел выключен");
            AddTranslation(text);
            text = CreateTranslation("Change2");
            text.SetDefault("Sniper scope is enabled");
            text.AddTranslation(GameCulture.Russian, "Снайперский прицел включён");
            AddTranslation(text);
            text = CreateTranslation("DC1");
            text.SetDefault("Damage type changed to Magic");
            text.AddTranslation(GameCulture.Russian, "Тип урона изменён на Магический");
            AddTranslation(text);
            text = CreateTranslation("DC2");
            text.SetDefault("Damage type changed to Melee");
            text.AddTranslation(GameCulture.Russian, "Тип урона изменён на Ближний");
            AddTranslation(text);
            LampLight = RegisterHotKey("Lamp Light Toggle", "L");
            if (!Main.dedServ)
            {
                AddEquipTexture(null, EquipType.Legs, "somebody0214Robe_Legs", "AlchemistNPC/Items/Armor/somebody0214Robe_Legs");
            }
        }
示例#5
0
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Paper Tube (T3)");
            Tooltip.SetDefault("Contains blueprints of a random post Plantera accessory\nUse to unlock");
            DisplayName.AddTranslation(GameCulture.Russian, "Тубус (3)");
            Tooltip.AddTranslation(GameCulture.Russian, "Хранит в себе чертёж случайного Пост-Плантерного аксессуара\nИспользуйте для разблокировки");
            DisplayName.AddTranslation(GameCulture.Chinese, "蓝图纸管 (T-3)");
            Tooltip.AddTranslation(GameCulture.Chinese, "包含一项随机世纪之花后饰品的蓝图\n使用以解锁");

            ModTranslation text = mod.CreateTranslation("PaperTubeT3Info1");

            text.SetDefault("You need to defeat Golem to unlock leftover post Plantera accessory.");
            text.AddTranslation(GameCulture.Chinese, "你需要打败石巨人以解锁剩下世纪之花的饰品.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT3Info2");
            text.SetDefault("There was nothing interesting in those blueprints.");
            text.AddTranslation(GameCulture.Chinese, "这些蓝图没什么意思.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT3Info3");
            text.SetDefault("You have found a new accessory blueprint. You can ask Tinkerer about making it now.");
            text.AddTranslation(GameCulture.Chinese, "你发现了一个新的饰品蓝图. 你可以现在问问工匠这东西能干什么.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT3Info4");
            text.SetDefault("You have found all post Plantera blueprints. Congratulations! Now you may sell all leftover Paper Tubes to Tinkerer.");
            text.AddTranslation(GameCulture.Chinese, "你已经找到了所有世纪之花后的蓝图. 恭喜! 你可以把剩下的蓝图都兜售给工匠.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT3Info5");
            text.SetDefault("Talk to Tinkerer when you will defeat Moon Lord and unlock all accessories.");
            text.AddTranslation(GameCulture.Chinese, "当你打败月球领主之后和工匠交谈即可解锁所有饰品.");
            mod.AddTranslation(text);
        }
示例#6
0
        public override void SetDefaults()
        {
            Main.tileLighted[Type]        = true;
            Main.tileSolidTop[Type]       = false;
            Main.tileFrameImportant[Type] = true;
            Main.tileTable[Type]          = true;
            Main.tileLavaDeath[Type]      = false;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x4);
            TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16, 18 };
            TileObjectData.newTile.StyleHorizontal   = true;
            TileObjectData.addTile(Type);
            AddToArray(ref TileID.Sets.RoomNeeds.CountsAsChair);
            AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable);
            AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Wing of the World");
            name.AddTranslation(GameCulture.Russian, "Крыло Мира");
            name.AddTranslation(GameCulture.Chinese, "世界之翼");
            AddMapEntry(new Color(200, 200, 200), name);
            disableSmartCursor = true;
            adjTiles           = new int[]
            {
                TileID.Tables,
                TileID.Chairs,
                TileID.Torches
            };
            animationFrameHeight = 74;
        }
示例#7
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
            TileObjectData.newTile.Width             = 4;
            Main.tileNoAttach[Type]                  = true;
            TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 };
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Crucible of the Cosmos");
            AddMapEntry(new Color(200, 200, 200), name);
            disableSmartCursor = true;
            //counts as
            adjTiles = new int[] { TileID.WorkBenches, TileID.HeavyWorkBench, TileID.Anvils, TileID.MythrilAnvil, TileID.Furnaces, TileID.Hellforge, TileID.AdamantiteForge, TileID.Bottles, TileID.AlchemyTable, TileID.Sawmill, TileID.Loom, TileID.CookingPots, TileID.Solidifier, TileID.DyeVat, TileID.TinkerersWorkbench, TileID.DemonAltar, TileID.Bookcases, TileID.CrystalBall, TileID.Autohammer, TileID.LunarCraftingStation, TileID.Campfire, TileID.Sinks, TileID.ImbuingStation, TileID.Kegs };

            if (ModLoader.GetMod("ThoriumMod") != null)
            {
                Array.Resize(ref adjTiles, adjTiles.Length + 3);
                adjTiles[adjTiles.Length - 1] = ModLoader.GetMod("ThoriumMod").TileType("ThoriumAnvil");
                adjTiles[adjTiles.Length - 2] = ModLoader.GetMod("ThoriumMod").TileType("ArcaneArmorFabricator");
                adjTiles[adjTiles.Length - 3] = ModLoader.GetMod("ThoriumMod").TileType("SoulForge");
            }

            animationFrameHeight = 54;

            name.AddTranslation(GameCulture.Chinese, "宇宙坩埚");
            name.AddTranslation(GameCulture.Russian, "Тигель космоса");
        }
示例#8
0
        public override void SetDefaults()
        {
            Main.tileLighted[Type]        = true;
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
            TileObjectData.newTile.CoordinateHeights = new int[]
            {
                16,
                16,
                16
            };
            TileObjectData.newTile.Width           = 2;
            TileObjectData.newTile.Height          = 3;
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Blazing Brazier");
            name.AddTranslation(GameCulture.Russian, "Пылающая жаровня");
            name.AddTranslation(GameCulture.Chinese, "不灭篝火");
            AddMapEntry(new Color(70, 70, 70), name);
            dustType             = 53;
            animationFrameHeight = 54;
        }
示例#9
0
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Pink Guy's Hood");
            DisplayName.AddTranslation(GameCulture.Russian, "Капюшон Розового Парня");
            Tooltip.SetDefault("Could this be a legendary piece of clothing? No one knows, but once you wear it, you can't go back.");
            Tooltip.AddTranslation(GameCulture.Russian, "Возможно, это легендарное одеяние? Никто не знает, но, одев его однажды, вы уже не сможете его снять.");

            DisplayName.AddTranslation(GameCulture.Chinese, "Pink Guy的兜帽");
            Tooltip.AddTranslation(GameCulture.Chinese, "也许是个传奇的衣服?没人知道, 但是一旦你穿上它, 你就再也回不来了.");

            ModTranslation text = mod.CreateTranslation("PGSetBonus");

            text.SetDefault("Increases current ranged/melee damage by 15% and adds 15% to ranged/melee critical strike chance"
                            + "\n+56 defense"
                            + "\nIncreases movement speed greatly"
                            + "\nPlayer is under permanent effect of Tank Combination"
                            + "\nNational Ugandan Treasure can now be dropped from Moon Lord");
            text.AddTranslation(GameCulture.Russian, "Увеличивает текущий урон в дальнем/ближнем бою на 15% и добавляет 15% к шансу критического удара\n+56 защиты\nИгрок находится под постоянным эффектом комбинации Танка\nНациональное Сокровище Уганды может выпасть с Лунного Лорда");
            text.AddTranslation(GameCulture.Chinese, "增加15%当前近战/远程伤害, 增加15%近战/远程暴击率"
                                + "\n增加 56 防御力"
                                + "\n极大增加移动速度"
                                + "\n给予永久坦克药剂包效果"
                                + "\n乌干达国宝现在可以从月亮领主身上掉落");
            mod.AddTranslation(text);
        }
示例#10
0
        public override void SetDefaults()
        {
            Main.tileSpelunker[Type]      = true;
            Main.tileContainer[Type]      = true;
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            //Main.tileValue[Type] = 500;
            Main.tileTable[Type]    = true;
            Main.tileSolidTop[Type] = true;
            AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable);
            TileID.Sets.HasOutlines[Type] = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
            TileObjectData.newTile.Origin                = new Point16(0, 1);
            TileObjectData.newTile.CoordinateHeights     = new int[] { 16, 18 };
            TileObjectData.newTile.HookCheckIfCanPlace   = new PlacementHook(Chest.FindEmptyChest, -1, 0, true);
            TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(Chest.AfterPlacement_Hook, -1, 0, false);
            TileObjectData.newTile.AnchorInvalidTiles    = new int[] { 127 };
            TileObjectData.newTile.StyleHorizontal       = true;
            TileObjectData.newTile.LavaDeath             = false;
            TileObjectData.newTile.AnchorBottom          = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Boreal Wood Cabinet");
            name.AddTranslation((int)GameCulture.CultureName.Russian, "Шкаф из северной древесины");
            name.AddTranslation((int)GameCulture.CultureName.Chinese, "北地木柜橱");
            AddMapEntry(new Color(191, 142, 111), name);
            adjTiles = new int[] { TileID.Containers };
            //chest = "Boreal Wood Cabinet";
            chestDrop = Mod.Find <ModItem>(nameof(Items.Placeables.Furniture.BorealWoodCabinet)).Type;
        }
示例#11
0
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Paper Tube (T2)");
            Tooltip.SetDefault("Contains blueprints of a random hardmode/post Skeletron accessory\nUse to unlock");
            DisplayName.AddTranslation(GameCulture.Russian, "Тубус (2)");
            Tooltip.AddTranslation(GameCulture.Russian, "Хранит в себе чертёж случайного хардмодного/пост-Скелетронового аксессуара\nИспользуйте для разблокировки");
            DisplayName.AddTranslation(GameCulture.Chinese, "蓝图纸管 (T-2)");
            Tooltip.AddTranslation(GameCulture.Chinese, "包含一项随机困难模式/骷髅王后饰品的蓝图\n使用以解锁");

            ModTranslation text = mod.CreateTranslation("PaperTubeT2Info1");

            text.SetDefault("You need to defeat any mechanical boss to unlock 2 leftover early hardmode accessories.");
            text.AddTranslation(GameCulture.Chinese, "你需要打败任何的机械三王之一以解锁剩下两个困难模式(肉山后)前期的饰品.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT2Info2");
            text.SetDefault("There was nothing interesting in those blueprints.");
            text.AddTranslation(GameCulture.Chinese, "这些蓝图没什么意思.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT2Info3");
            text.SetDefault("You have found a new accessory blueprint. You can ask Tinkerer about making it now.");
            text.AddTranslation(GameCulture.Chinese, "你发现了一个新的饰品蓝图. 你可以现在问问工匠这东西能干什么.");
            mod.AddTranslation(text);
            text = mod.CreateTranslation("PaperTubeT2Info4");
            text.SetDefault("You have found all early hardmode blueprints. Congratulations! Now you may sell all leftover Paper Tubes to Tinkerer.");
            text.AddTranslation(GameCulture.Chinese, "你已经找到了所有血肉之墙后前期的蓝图. 恭喜! 你可以把剩下的蓝图都兜售给工匠.");
            mod.AddTranslation(text);
        }
        public override void SetDefaults()
        {
            Main.tileSpelunker[Type]      = true;
            Main.tileContainer[Type]      = true;
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileValue[Type]          = 500;
            Main.tileTable[Type]          = true;
            Main.tileSolidTop[Type]       = true;
            AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable);
            TileID.Sets.HasOutlines[Type] = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style2x2);
            TileObjectData.newTile.Origin                = new Point16(0, 1);
            TileObjectData.newTile.CoordinateHeights     = new int[] { 16, 18 };
            TileObjectData.newTile.HookCheck             = new PlacementHook(new Func <int, int, int, int, int, int>(Chest.FindEmptyChest), -1, 0, true);
            TileObjectData.newTile.HookPostPlaceMyPlayer = new PlacementHook(new Func <int, int, int, int, int, int>(Chest.AfterPlacement_Hook), -1, 0, false);
            TileObjectData.newTile.AnchorInvalidTiles    = new int[] { 127 };
            TileObjectData.newTile.StyleHorizontal       = true;
            TileObjectData.newTile.LavaDeath             = false;
            TileObjectData.newTile.AnchorBottom          = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Shadewood Cabinet");
            name.AddTranslation(GameCulture.Russian, "Шкаф из теневой древесины");
            name.AddTranslation(GameCulture.Chinese, "暗影木柜橱");
            AddMapEntry(new Color(191, 142, 111), name);
            disableSmartCursor = true;
            adjTiles           = new int[] { TileID.Containers };
            chest     = ("Shadewood Cabinet");
            chestDrop = mod.ItemType("ShadewoodCabinet");
        }
示例#13
0
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("Otherworldly Portal");
            DisplayName.AddTranslation(GameCulture.Russian, "Портал Иного Мира");
            DisplayName.AddTranslation(GameCulture.Chinese, "异界传送门");
            ModTranslation text = mod.CreateTranslation("PortalName");

            text.SetDefault("Otherworldly Portal");
            text.AddTranslation(GameCulture.Russian, "Портал Иного Мира");
            text.AddTranslation(GameCulture.Chinese, "异界传送门");
            mod.AddTranslation(text);
        }
        public override void SetStaticDefaults()
        {
            ModTranslation modTranslation = mod.CreateTranslation("PArmorBonus");

            modTranslation.AddTranslation(GameCulture.Chinese, "召唤一个圈为你抵挡三次伤害,30秒后重新充能");
            modTranslation.SetDefault("Young man, there are still many things you don't understand");
            mod.AddTranslation(modTranslation);
            modTranslation = mod.CreateTranslation("PArmorBonus2");
            modTranslation.AddTranslation(GameCulture.Chinese, "提高仆从数量上限");
            modTranslation.SetDefault("Young man, there are still many things you don't understand");
            mod.AddTranslation(modTranslation);
        }
示例#15
0
        public override void Load()
        {
            base.Load();
            ModTranslation text = CreateTranslation("Common.GameZoom");

            text.SetDefault("Game screen zoom value (%) (0 means not open this mode)");
            text.AddTranslation(GameCulture.Chinese, "游戏画面缩放值(%)(为0即不开启此模式)");
            AddTranslation(text);
            text = CreateTranslation("Common.UIZoom");
            text.SetDefault("UI screen zoom value (%) (0 means not open this mode)");
            text.AddTranslation(GameCulture.Chinese, "UI画面缩放值(%)(为0即不开启此模式)");
            AddTranslation(text);
        }
示例#16
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Bench");
            name.AddTranslation(GameCulture.Chinese, "长椅");
            name.AddTranslation(GameCulture.Russian, "Скамейка");
            AddMapEntry(new Color(191, 142, 111), name);
        }
示例#17
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Vane");
            name.AddTranslation(GameCulture.Russian, "Флюгер");
            name.AddTranslation(GameCulture.Chinese, "风向标");
            AddMapEntry(new Color(125, 125, 125), name);
        }
示例#18
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Fridge");
            name.AddTranslation(GameCulture.Chinese, "冰箱");
            name.AddTranslation(GameCulture.Russian, "Холодильник");
            AddMapEntry(new Color(227, 216, 195), name);
        }
示例#19
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x2);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Leaf Dray");
            name.AddTranslation((int)GameCulture.CultureName.Russian, "Повозка с листьями");
            name.AddTranslation((int)GameCulture.CultureName.Chinese, "装有叶子的车");
            AddMapEntry(new Color(220, 181, 151), name);
        }
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Adventurer Loot Box");
            name.AddTranslation(GameCulture.Russian, "Коробка с добычей Путешественника");
            name.AddTranslation(GameCulture.Chinese, "冒险家的战利品箱子");
            AddMapEntry(new Color(175, 128, 92), name);
        }
示例#21
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            Main.tileCut[Type]            = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style2x1);
            TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.Table | AnchorType.SolidTile, TileObjectData.newTile.Width, 0);
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Gilded Strongbox");
            name.AddTranslation((int)GameCulture.CultureName.Chinese, "镀金保险箱");
            name.AddTranslation((int)GameCulture.CultureName.Russian, "Позолоченный сейф");
            AddMapEntry(new Color(246, 214, 126), name);
        }
示例#22
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
            TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 18 };
            TileObjectData.newTile.StyleHorizontal   = true;
            TileObjectData.newTile.StyleWrapLimit    = 36;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("The Jolly Roger");
            name.AddTranslation((int)GameCulture.CultureName.Russian, "Весёлый Роджер");
            name.AddTranslation((int)GameCulture.CultureName.Chinese, "海盗旗");
            AddMapEntry(new Color(208, 139, 90), name);
        }
示例#23
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            Main.tileSolidTop[Type]       = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style2x1);
            TileObjectData.newTile.CoordinateHeights = new int[] { 18 };
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Work Bench");
            name.AddTranslation(GameCulture.Chinese, "工作台");
            name.AddTranslation(GameCulture.Russian, "Верстак");
            AddMapEntry(new Color(191, 142, 111), name);
        }
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style1x2);
            TileObjectData.newTile.CoordinateHeights = new int[] { 16, 18 };
            TileObjectData.newTile.CoordinateWidth   = 18;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Steel Shovel");
            name.AddTranslation(GameCulture.Chinese, "铁锹");
            name.AddTranslation(GameCulture.Russian, "Стальная лопата");
            AddMapEntry(new Color(96, 105, 105), name);
        }
示例#25
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style1x2);
            TileObjectData.newTile.AnchorBottom    = new AnchorData(AnchorType.Table | AnchorType.SolidTile, TileObjectData.newTile.Width, 0);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Quill-Pen Stand");
            name.AddTranslation(GameCulture.Chinese, "羽毛笔笔座");
            name.AddTranslation(GameCulture.Russian, "Перо на подставке");
            AddMapEntry(new Color(79, 62, 51), name);
        }
示例#26
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3Wall);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.addTile(Type);
            dustType = 7;
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Trophy");
            name.AddTranslation((int)GameCulture.CultureName.Russian, "Трофей");
            name.AddTranslation((int)GameCulture.CultureName.Chinese, "荣誉之证");
            AddMapEntry(new Color(120, 85, 60), name);
        }
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3Wall);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.addTile(Type);
            dustType = 15;
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Giant Diamond");
            name.AddTranslation(GameCulture.Russian, "Гигантский алмаз");
            name.AddTranslation(GameCulture.Chinese, "大钻石");
            AddMapEntry(new Color(141, 165, 214), name);
        }
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3Wall);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.addTile(Type);
            dustType = 46;
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Giant Emerald");
            name.AddTranslation(GameCulture.Russian, "Гигантский изумруд");
            name.AddTranslation(GameCulture.Chinese, "大翡翠");
            AddMapEntry(new Color(33, 184, 115), name);
        }
示例#29
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileLavaDeath[Type]      = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style1x1);
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit  = 36;
            TileObjectData.newTile.DrawYOffset     = 2;
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Paint");
            name.AddTranslation(GameCulture.Russian, "Краска");
            name.AddTranslation(GameCulture.Chinese, "颜料");
            AddMapEntry(new Color(210, 210, 210), name);
        }
示例#30
0
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            Main.tileNoAttach[Type]       = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3);
            TileObjectData.newTile.CoordinateHeights = new [] { 16, 16, 18 };
            TileObjectData.addTile(Type);
            ModTranslation name = CreateMapEntryName();

            name.SetDefault("Compressor");
            name.AddTranslation(GameCulture.Russian, "Компрессор");
            name.AddTranslation(GameCulture.Chinese, "压缩机");
            AddMapEntry(Color.Gray, name);
            disableSmartCursor   = true;
            animationFrameHeight = 54;
        }