Пример #1
0
        public CinnamonBase() //Her recruitment could involve Soup.
        {
            Name                = "Cinnamon";
            PossibleNames       = new string[] { "Cinnamon", "Canela" };
            Description         = "A food enthusiast who is travelling worlds,\nseeking the best seasonings for food.";
            Size                = GuardianSize.Medium;
            Width               = 24;
            Height              = 68;
            DuckingHeight       = 60;
            CompanionSlotWeight = 0.9f;
            SpriteWidth         = 96;
            SpriteHeight        = 96;
            Scale               = 59f / 68;
            Age = 13;
            SetBirthday(SEASON_SPRING, 28);
            Male               = true;
            InitialMHP         = 160; //860
            LifeCrystalHPBonus = 20;
            LifeFruitHPBonus   = 20;
            Accuracy           = 0.43f;
            Mass               = 0.36f;
            MaxSpeed           = 4.6f;
            Acceleration       = 0.22f;
            SlowDown           = 0.26f;
            MaxJumpHeight      = 18;
            JumpSpeed          = 7.19f;
            CanDuck            = true;
            ReverseMount       = false;
            DrinksBeverage     = false;
            SetTerraGuardian();
            CallUnlockLevel  = 4;
            MoveInLevel      = 3;
            MountUnlockLevel = 6;

            AddInitialItem(Terraria.ID.ItemID.RedRyder, 1);
            AddInitialItem(Terraria.ID.ItemID.LesserHealingPotion, 5);
            AddInitialItem(Terraria.ID.ItemID.CookedFish, 3);

            //Animation Frames
            StandingFrame             = 0;
            WalkingFrames             = new int[] { 2, 3, 4, 5, 6, 7, 8, 9 };
            JumpFrame                 = 10;
            PlayerMountedArmAnimation = 23;
            //HeavySwingFrames = new int[] { 10, 11, 12 };
            ItemUseFrames      = new int[] { 11, 12, 13, 14 };
            DuckingFrame       = 18;
            DuckingSwingFrames = new int[] { 20, 21, 22 };
            SittingFrame       = 16;
            ChairSittingFrame  = 15;
            DrawLeftArmInFrontOfHead.AddRange(new int[] { 9, 10, 11, 16, 17, 21, 22 });
            ThroneSittingFrame = 24;
            BedSleepingFrame   = 25;
            SleepingOffset.X   = 16;
            ReviveFrame        = 19;
            DownedFrame        = 17;
            //PetrifiedFrame = 28;

            BackwardStanding = 26;
            BackwardRevive   = 27;

            SpecificBodyFrontFramePositions = true;
            BodyFrontFrameSwap.Add(15, 0);
            BodyFrontFrameSwap.Add(16, 0);

            RightArmFrontFrameSwap.Add(15, 0);
            RightArmFrontFrameSwap.Add(18, 1);
            RightArmFrontFrameSwap.Add(19, 1);

            //Left Hand
            LeftHandPoints.AddFramePoint2x(11, 16, 4);
            LeftHandPoints.AddFramePoint2x(12, 30, 22);
            LeftHandPoints.AddFramePoint2x(13, 32, 28);
            LeftHandPoints.AddFramePoint2x(14, 29, 34);

            LeftHandPoints.AddFramePoint2x(19, 26, 38);

            LeftHandPoints.AddFramePoint2x(20, 15, 17);
            LeftHandPoints.AddFramePoint2x(21, 29, 25);
            LeftHandPoints.AddFramePoint2x(22, 29, 36);

            //Right Hand
            RightHandPoints.AddFramePoint2x(11, 29, 14);
            RightHandPoints.AddFramePoint2x(12, 32, 22);
            RightHandPoints.AddFramePoint2x(13, 35, 28);
            RightHandPoints.AddFramePoint2x(14, 31, 35);

            RightHandPoints.AddFramePoint2x(20, 26, 17);
            RightHandPoints.AddFramePoint2x(21, 31, 25);
            RightHandPoints.AddFramePoint2x(22, 31, 36);

            //Mount Position
            MountShoulderPoints.DefaultCoordinate = new Microsoft.Xna.Framework.Point(18 * 2, 23 * 2);
            MountShoulderPoints.AddFramePoint2x(18, 18, 27);
            MountShoulderPoints.AddFramePoint2x(19, 18, 27);

            //Sitting Position
            SittingPoint = new Point(21 * 2, 39 * 2);

            //Head Vanity Position
            HeadVanityPosition.DefaultCoordinate2x = new Point(23, 18 + 2);
            HeadVanityPosition.AddFramePoint2x(18, 23, 22 + 2);
            HeadVanityPosition.AddFramePoint2x(19, 23, 22 + 2);

            //Wing Position
            //WingPosition.DefaultCoordinate2x = new Point(20, 23);
        }
Пример #2
0
        public BaphaBase()
        {
            Name                = "Bapha";
            Description         = "Overlord of Hell.";
            Size                = GuardianSize.Large;
            Width               = 17 * 2; //17
            Height              = 62 * 2; //61
            Scale               = 1.333f;
            CompanionSlotWeight = 3f;
            ForceScale          = true;
            SpriteWidth         = 99 * 2;
            SpriteHeight        = 91 * 2;
            FramesInRows        = 11;
            Age = 104357;
            SetBirthday(SEASON_SUMMER, 6);
            Male                     = true;
            InitialMHP               = 666; //1000
            LifeCrystalHPBonus       = 100;
            LifeFruitHPBonus         = 5;
            InitialMP                = 333;
            ManaCrystalMPBonus       = 30;
            Accuracy                 = 0.15f;
            Mass                     = 0.5f;
            MaxSpeed                 = 5.2f;
            Acceleration             = 0.18f;
            SlowDown                 = 0.47f;
            MaxJumpHeight            = 15;
            JumpSpeed                = 7.08f;
            CanDuck                  = false;
            ReverseMount             = false;
            DrinksBeverage           = false;
            SpecialAttackBasedCombat = true;
            //UsesRightHandByDefault = true;
            //ForceWeaponUseOnMainHand = true;
            CompanionContributorName = "Smokey";
            SetTerraGuardian();
            VladimirBase.AddCarryBlacklist(Bapha);

            StandingFrame      = 0;
            WalkingFrames      = new int[] { 3, 4, 5, 6, 7, 8, 9, 10 };
            JumpFrame          = 12;
            ItemUseFrames      = new int[] { 17, 18, 19, 20 };
            SittingFrame       = 60;
            ThroneSittingFrame = 59;
            //BedSleepingFrame = 25;
            //SleepingOffset.X = 16;
            ReviveFrame = RevivingFrameID;
            DownedFrame = DownedFrameID;

            SittingPoint2x = new Point(48, 74);

            RightArmFrontFrameSwap.Add(1, 0);
            RightArmFrontFrameSwap.Add(59, 1);
            RightArmFrontFrameSwap.Add(60, 2);

            SpecificBodyFrontFramePositions = true;
            BodyFrontFrameSwap.Add(60, 0);

            //Left Arm
            LeftHandPoints.AddFramePoint2x(17, 51, 26);
            LeftHandPoints.AddFramePoint2x(18, 68, 38);
            LeftHandPoints.AddFramePoint2x(19, 66, 54);
            LeftHandPoints.AddFramePoint2x(20, 61, 65);

            LeftHandPoints.AddFramePoint2x(28, 57, 69);
            LeftHandPoints.AddFramePoint2x(29, 57, 69);
            LeftHandPoints.AddFramePoint2x(30, 57, 69);
            LeftHandPoints.AddFramePoint2x(31, 57, 69);

            LeftHandPoints.AddFramePoint2x(37, 23, 37);
            LeftHandPoints.AddFramePoint2x(38, 51, 25);
            LeftHandPoints.AddFramePoint2x(39, 72, 69);
            LeftHandPoints.AddFramePoint2x(40, 71, 73);
            LeftHandPoints.AddFramePoint2x(41, 71, 73);
            LeftHandPoints.AddFramePoint2x(42, 71, 73);

            LeftHandPoints.AddFramePoint2x(43, 26, 51);

            //Right Arm
            RightHandPoints.AddFramePoint2x(17, 63, 28);
            RightHandPoints.AddFramePoint2x(18, 74, 40);
            RightHandPoints.AddFramePoint2x(19, 73, 54);
            RightHandPoints.AddFramePoint2x(20, 64, 64);

            RightHandPoints.AddFramePoint2x(28, 66, 66);
            RightHandPoints.AddFramePoint2x(29, 66, 66);
            RightHandPoints.AddFramePoint2x(30, 66, 66);
            RightHandPoints.AddFramePoint2x(31, 66, 66);

            RightHandPoints.AddFramePoint2x(43, 73, 51);

            //Shoulders
            MountShoulderPoints.DefaultCoordinate2x = new Point(42, 44);

            //Wings
            WingPosition.DefaultCoordinate2x = new Point(-1000, -1000);

            SubAttackSetup();
        }
Пример #3
0
        public MiguelBase()
        {
            Name                = "Miguel";
            Description         = "Your very own personal trainer, like it or not.";
            Size                = GuardianSize.Large;
            Width               = 22;
            Height              = 94;
            DuckingHeight       = 52;
            SpriteWidth         = 96;
            SpriteHeight        = 120;
            Scale               = 112 / 96;
            CompanionSlotWeight = 1.1f;
            DefaultTactic       = CombatTactic.Charge;
            Age = 21;
            SetBirthday(SEASON_SUMMER, 4);
            Male               = true;
            InitialMHP         = 225; //1200
            LifeCrystalHPBonus = 45;
            LifeFruitHPBonus   = 15;
            Accuracy           = 0.36f;
            Mass               = 0.45f;
            MaxSpeed           = 6.2f;
            Acceleration       = 0.26f;
            SlowDown           = 0.38f;
            MaxJumpHeight      = 12;
            JumpSpeed          = 7.08f;
            CanDuck            = true;
            ReverseMount       = false;
            DrinksBeverage     = true;
            SetTerraGuardian();
            CallUnlockLevel = 0;

            PopularityContestsWon = 0;
            ContestSecondPlace    = 0;
            ContestThirdPlace     = 0;

            AddInitialItem(Terraria.ID.ItemID.BladeofGrass, 1);
            AddInitialItem(Terraria.ID.ItemID.HealingPotion, 5);

            //Animation Frames
            StandingFrame             = 2;
            WalkingFrames             = new int[] { 3, 4, 5, 6, 7, 8, 9, 10 };
            PlayerMountedArmAnimation = JumpFrame = 11;
            HeavySwingFrames          = new int[] { 13, 14, 15 };
            ItemUseFrames             = new int[] { 12, 13, 14, 15 };
            DuckingFrame       = 18;
            DuckingSwingFrames = new int[] { 19, 20, 21 };
            SittingFrame       = 17;
            ChairSittingFrame  = 16;
            ThroneSittingFrame = 22;
            BedSleepingFrame   = 23;
            SleepingOffset.X   = 16;
            ReviveFrame        = 24; //Rework animation before enabling this.
            //ReviveFrame = 21;
            DownedFrame = 25;

            BackwardStanding = 1;
            BackwardRevive   = 26; //Needs animation rework, just like frame 24

            SpecificBodyFrontFramePositions = true;
            BodyFrontFrameSwap.Add(16, 0);
            BodyFrontFrameSwap.Add(17, 0);

            RightArmFrontFrameSwap.Add(24, 0);

            SittingPoint2x = new Microsoft.Xna.Framework.Point(22, 47);

            //Left Arm
            LeftHandPoints.AddFramePoint2x(12, 12, 12);
            LeftHandPoints.AddFramePoint2x(13, 31, 20);
            LeftHandPoints.AddFramePoint2x(14, 35, 28);
            LeftHandPoints.AddFramePoint2x(15, 30, 37);

            LeftHandPoints.AddFramePoint2x(17, 28, 35);
            LeftHandPoints.AddFramePoint2x(26, 28, 35);

            LeftHandPoints.AddFramePoint2x(19, 14, 13);
            LeftHandPoints.AddFramePoint2x(20, 33, 23);
            LeftHandPoints.AddFramePoint2x(21, 32, 42);

            LeftHandPoints.AddFramePoint2x(24, 32, 46);

            LeftHandPoints.AddFramePoint2x(26, 32, 46);

            //Right Arm
            RightHandPoints.AddFramePoint2x(12, 24, 12);
            RightHandPoints.AddFramePoint2x(13, 34, 20);
            RightHandPoints.AddFramePoint2x(14, 38, 28);
            RightHandPoints.AddFramePoint2x(15, 34, 37);

            RightHandPoints.AddFramePoint2x(19, 17, 13);
            RightHandPoints.AddFramePoint2x(20, 36, 23);
            RightHandPoints.AddFramePoint2x(21, 35, 42);

            RightHandPoints.AddFramePoint2x(24, 32, 46);

            RightHandPoints.AddFramePoint2x(26, 32, 46);

            //Mount Position
            MountShoulderPoints.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(17, 23);
            MountShoulderPoints.AddFramePoint2x(18, 17, 27);
            MountShoulderPoints.AddFramePoint2x(23, 18, 29);
            MountShoulderPoints.AddFramePoint2x(24, 17, 29);
            MountShoulderPoints.AddFramePoint2x(26, 17, 29);

            //Helmet Position
            HeadVanityPosition.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(25 - 2, 20 + 2);
            HeadVanityPosition.AddFramePoint2x(18, 25 - 2, 24 + 2);
            HeadVanityPosition.AddFramePoint2x(24, 25 - 2, 24 + 2);
            HeadVanityPosition.AddFramePoint2x(26, 25 - 2, 24 + 2);
        }
Пример #4
0
        //I'll need to think how I'll make the cloud form of them work, and toggle.
        public WrathBase()
            : base(AngerPigGuardianID)
        {
            Name = "Wrath";
            PossibleNames = new string[] { "Wrath", "Rage", "Fury", "Irk" };
            Description = "The angry emotional pig piece\nof a TerraGuardian. Very volatile.";
            Width = 10 * 2;
            Height = 27 * 2;
            SpriteWidth = 70;
            SpriteHeight = 68;
            FramesInRows = 28;
            //DuckingHeight = 54;
            //Each pig should definitelly have the same size, birthday age and time, so I moved those infos.
            DefaultTactic = CombatTactic.Charge;
            Genderless = true;
            InitialMHP = 110; //320
            LifeCrystalHPBonus = 15;
            LifeFruitHPBonus = 5;
            Accuracy = 0.67f;
            Mass = 0.40f;
            MaxSpeed = 3.62f;
            Acceleration = 0.12f;
            SlowDown = 0.35f;
            MaxJumpHeight = 12;
            JumpSpeed = 9.76f;
            CanDuck = false;
            ReverseMount = true;
            DontUseHeavyWeapons = true;
            DrinksBeverage = false;
            SetTerraGuardian();

            MountUnlockLevel = 255;

            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.RedPhaseblade, 1));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.LesserHealingPotion, 10));

            RightArmFrontFrameSwap.Add(0, 0);
            RightArmFrontFrameSwap.Add(1, 0);
            RightArmFrontFrameSwap.Add(2, 1);
            RightArmFrontFrameSwap.Add(3, 2);
            RightArmFrontFrameSwap.Add(4, 2);
            RightArmFrontFrameSwap.Add(5, 1);
            RightArmFrontFrameSwap.Add(6, 0);
            RightArmFrontFrameSwap.Add(7, 0);
            RightArmFrontFrameSwap.Add(8, 0);
            //RightArmFrontFrameSwap.Add(9, 0);
            //RightArmFrontFrameSwap.Add(10, 0);

            //Animation Frames

            //Left Arm
            LeftHandPoints.AddFramePoint2x(10, 11, 4);
            LeftHandPoints.AddFramePoint2x(11, 23, 11);
            LeftHandPoints.AddFramePoint2x(12, 24, 19);
            LeftHandPoints.AddFramePoint2x(13, 22, 24);

            LeftHandPoints.AddFramePoint2x(17, 25, 28);

            //Right Arm
            RightHandPoints.AddFramePoint2x(10, 15, 4);
            RightHandPoints.AddFramePoint2x(11, 25, 11);
            RightHandPoints.AddFramePoint2x(12, 27, 19);
            RightHandPoints.AddFramePoint2x(13, 23, 24);

            RightHandPoints.AddFramePoint2x(17, 27, 28);

            //Headgear
            HeadVanityPosition.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(16 + 2, 11);
            HeadVanityPosition.AddFramePoint2x(14, 16 + 2, 9);
            HeadVanityPosition.AddFramePoint2x(17, 23 + 2, 18);
            HeadVanityPosition.AddFramePoint2x(22, 16 + 2, 9);
            HeadVanityPosition.AddFramePoint2x(25, 23 + 2, 18);

            GetRequests();
            SkinsAndOutfits();
        }
Пример #5
0
        public FearBase() :
            base(FearPigGuardianID)
        {
            Name          = "Fear";
            PossibleNames = new string[] { "Frighty", "Dread", "Anxie", "Pani" };
            Description   = "One of the emotion pieces fragments\nof a TerraGuardian. Very scaredy.";
            Width         = 10 * 2;
            Height        = 27 * 2;
            SpriteWidth   = 64;
            SpriteHeight  = 64;
            FramesInRows  = 31;
            //DuckingHeight = 54;
            //Each pig should definitelly have the same size, birthday age and time, so I moved those infos.
            Genderless         = true;
            InitialMHP         = 110; //320
            LifeCrystalHPBonus = 15;
            LifeFruitHPBonus   = 5;
            Accuracy           = 0.67f;
            Mass                = 0.40f;
            MaxSpeed            = 3.62f;
            Acceleration        = 0.12f;
            SlowDown            = 0.35f;
            MaxJumpHeight       = 12;
            JumpSpeed           = 9.76f;
            CanDuck             = false;
            ReverseMount        = true;
            DontUseHeavyWeapons = true;
            DrinksBeverage      = false;
            SetTerraGuardian();

            MountUnlockLevel = 255;

            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.PurplePhaseblade, 1));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.Handgun, 1));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.MusketBall, 250));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.LesserHealingPotion, 10));

            RightArmFrontFrameSwap.Add(0, 0);
            RightArmFrontFrameSwap.Add(1, 0);
            RightArmFrontFrameSwap.Add(2, 0);
            RightArmFrontFrameSwap.Add(3, 1);
            RightArmFrontFrameSwap.Add(4, 1);
            RightArmFrontFrameSwap.Add(5, 0);
            RightArmFrontFrameSwap.Add(6, 0);
            RightArmFrontFrameSwap.Add(7, 1);
            RightArmFrontFrameSwap.Add(8, 1);

            RightArmFrontFrameSwap.Add(19, 0);

            //Animation Frames
            //Left Arm
            LeftHandPoints.AddFramePoint2x(10, 10, 2);
            LeftHandPoints.AddFramePoint2x(11, 22, 9);
            LeftHandPoints.AddFramePoint2x(12, 24, 17);
            LeftHandPoints.AddFramePoint2x(13, 20, 22);

            LeftHandPoints.AddFramePoint2x(17, 25, 27);

            //Right Arm
            RightHandPoints.AddFramePoint2x(10, 16, 2);
            RightHandPoints.AddFramePoint2x(11, 25, 9);
            RightHandPoints.AddFramePoint2x(12, 27, 17);
            RightHandPoints.AddFramePoint2x(13, 23, 22);

            RightHandPoints.AddFramePoint2x(17, 27, 27);

            //Headgear
            HeadVanityPosition.DefaultCoordinate2x = new Point(16 + 2, 11);
            HeadVanityPosition.AddFramePoint2x(14, 16 + 2, 9);
            HeadVanityPosition.AddFramePoint2x(17, 23 + 2, 18);
            HeadVanityPosition.AddFramePoint2x(22, 16 + 2, 9);
            HeadVanityPosition.AddFramePoint2x(25, 23 + 2, 18);
        }
Пример #6
0
        public DominoBase()
        {
            Name                = "Domino";
            Description         = "A sly smuggler from the Ether Realm.";
            Size                = GuardianSize.Large;
            Width               = 28;
            Height              = 84;
            CompanionSlotWeight = 1.4f;
            SpriteWidth         = 96;
            SpriteHeight        = 96;
            Scale               = 96f / 84;
            Age = 26;
            SetBirthday(SEASON_SPRING, 22);
            Male               = true;
            InitialMHP         = 200; //1000
            LifeCrystalHPBonus = 20;
            LifeFruitHPBonus   = 25;
            Accuracy           = 0.97f;
            Mass               = 0.5f;
            MaxSpeed           = 5.6f;
            Acceleration       = 0.22f;
            SlowDown           = 0.37f;
            MaxJumpHeight      = 15;
            JumpSpeed          = 6.45f;
            CanDuck            = true;
            ReverseMount       = false;
            DrinksBeverage     = true;
            IsNocturnal        = true;
            SetTerraGuardian();
            CallUnlockLevel  = 2;
            MountUnlockLevel = 6;

            PopularityContestsWon = 0;
            ContestSecondPlace    = 0;
            ContestThirdPlace     = 0;

            AddInitialItem(Terraria.ID.ItemID.Handgun, 1);
            AddInitialItem(Terraria.ID.ItemID.HealingPotion, 5);
            AddInitialItem(Terraria.ID.ItemID.MusketBall, 999);

            //Animation Frames
            StandingFrame             = 0;
            WalkingFrames             = new int[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            PlayerMountedArmAnimation = JumpFrame = 9;
            ItemUseFrames             = new int[] { 10, 11, 12, 13 };
            DuckingFrame       = 26;
            DuckingSwingFrames = new int[] { 14, 15, 16 };
            SittingFrame       = 17;
            ChairSittingFrame  = 18;
            DrawLeftArmInFrontOfHead.AddRange(new int[] { 9, 10, 11, 12 });
            ThroneSittingFrame = 19;
            BedSleepingFrame   = 20;
            SleepingOffset.X   = 16;
            ReviveFrame        = 21;
            DownedFrame        = 22;

            BackwardStanding = 24;
            BackwardRevive   = 25;

            BodyFrontFrameSwap.Add(17, 0);
            BodyFrontFrameSwap.Add(18, 1);
            BodyFrontFrameSwap.Add(23, 0);
            SpecificBodyFrontFramePositions = true;

            RightArmFrontFrameSwap.Add(26, 0);

            //Mounted Position
            MountShoulderPoints.DefaultCoordinate2x = new Point(18, 15);

            MountShoulderPoints.AddFramePoint2x(26, 23, 22);
            SittingPoint2x = new Point(25, 36 - 2);

            //Left Arm
            LeftHandPoints.AddFramePoint2x(10, 16, 5);
            LeftHandPoints.AddFramePoint2x(11, 32, 11);
            LeftHandPoints.AddFramePoint2x(12, 35, 20);
            LeftHandPoints.AddFramePoint2x(13, 31, 28);

            LeftHandPoints.AddFramePoint2x(14, 25, 13);
            LeftHandPoints.AddFramePoint2x(15, 38, 19);
            LeftHandPoints.AddFramePoint2x(16, 36, 32);

            LeftHandPoints.AddFramePoint2x(21, 44, 38);

            //Right Arm
            RightHandPoints.AddFramePoint2x(10, 19, 5);
            RightHandPoints.AddFramePoint2x(11, 36, 11);
            RightHandPoints.AddFramePoint2x(12, 40, 20);
            RightHandPoints.AddFramePoint2x(13, 36, 28);

            RightHandPoints.AddFramePoint2x(14, 30, 13);
            RightHandPoints.AddFramePoint2x(15, 42, 19);
            RightHandPoints.AddFramePoint2x(16, 39, 32);

            //Head Vanity Pos
            HeadVanityPosition.DefaultCoordinate2x = new Point(23, 10);
            HeadVanityPosition.AddFramePoint2x(27, 29, 20);

            HeadVanityPosition.AddFramePoint2x(21, 29, 20);
        }
Пример #7
0
        /// <summary>
        /// -Not very sociable.
        /// -Loves cooking.
        /// -Likes Vladimir.
        /// -Has flatulence problems.
        /// -Loves clear weather days.
        /// -Likes seeing people enjoy her food.
        /// -Is fat due to experimenting her own food, to see if It's good.
        /// </summary>
        public MinervaBase()
        {
            Name                = "Minerva";
            Description         = "She's not very sociable, but is\na good cook. If you're feeling\nhungry, go see her to get food.";
            Size                = GuardianSize.Large;
            Width               = 26;
            Height              = 90;
            DuckingHeight       = 52;
            SpriteWidth         = 96;
            SpriteHeight        = 112;
            CompanionSlotWeight = 1.4f;
            Scale               = 108f / 90f;
            Age = 19;
            SetBirthday(SEASON_WINTER, 9);
            Male               = false;
            InitialMHP         = 300; //1000
            LifeCrystalHPBonus = 40;
            LifeFruitHPBonus   = 20;
            Accuracy           = 0.47f;
            Mass               = 0.62f;
            MaxSpeed           = 4.8f;
            Acceleration       = 0.16f;
            SlowDown           = 0.52f;
            MaxJumpHeight      = 16;
            JumpSpeed          = 7.60f;
            CanDuck            = true;
            ReverseMount       = false;
            DrinksBeverage     = true;
            SetTerraGuardian();

            CallUnlockLevel = 2;
            MoveInLevel     = 3;

            PopularityContestsWon = 0;
            ContestSecondPlace    = 0;
            ContestThirdPlace     = 0;

            StandingFrame             = 0;
            WalkingFrames             = new int[] { 2, 3, 4, 5, 6, 7, 8, 9 };
            PlayerMountedArmAnimation = JumpFrame = 10;
            HeavySwingFrames          = new int[] { 21, 22, 23 };
            ItemUseFrames             = new int[] { 11, 12, 13, 14 };
            DuckingFrame       = 24;
            DuckingSwingFrames = new int[] { 25, 26, 27 };
            SittingFrame       = 16;
            ChairSittingFrame  = 15;
            ThroneSittingFrame = 18;
            BedSleepingFrame   = 17;
            SleepingOffset.X   = 16;
            ReviveFrame        = 20;
            DownedFrame        = 19;
            //PetrifiedFrame = 28;

            BackwardStanding = 28;
            BackwardRevive   = 29;

            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.PearlwoodSword, 1));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.AmethystStaff, 1));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.BottledHoney, 5));
            InitialItems.Add(new ItemPair(Terraria.ID.ItemID.BowlofSoup, 5));

            SpecificBodyFrontFramePositions = true;
            BodyFrontFrameSwap.Add(15, 0);
            BodyFrontFrameSwap.Add(16, 0);

            RightArmFrontFrameSwap.Add(0, 0);
            RightArmFrontFrameSwap.Add(15, 1);
            RightArmFrontFrameSwap.Add(16, 1);
            RightArmFrontFrameSwap.Add(20, 2);
            RightArmFrontFrameSwap.Add(21, 3);

            SittingPoint2x = new Point(22, 43);

            MountShoulderPoints.DefaultCoordinate2x = new Point(18, 21);
            MountShoulderPoints.AddFramePoint2x(20, 23, 33);
            MountShoulderPoints.AddFramePoint2x(24, 18, 35);
            MountShoulderPoints.AddFramePoint2x(25, 18, 35);
            MountShoulderPoints.AddFramePoint2x(26, 18, 35);
            MountShoulderPoints.AddFramePoint2x(27, 18, 35);

            //Left Arm
            LeftHandPoints.AddFramePoint2x(11, 14, 7);
            LeftHandPoints.AddFramePoint2x(12, 36, 14);
            LeftHandPoints.AddFramePoint2x(13, 41, 26);
            LeftHandPoints.AddFramePoint2x(14, 33, 36);

            LeftHandPoints.AddFramePoint2x(20, 30, 47);

            LeftHandPoints.AddFramePoint2x(21, 21, 15);
            LeftHandPoints.AddFramePoint2x(22, 38, 22);
            LeftHandPoints.AddFramePoint2x(23, 34, 43);

            LeftHandPoints.AddFramePoint2x(25, 24, 19);
            LeftHandPoints.AddFramePoint2x(26, 34, 30);
            LeftHandPoints.AddFramePoint2x(27, 35, 45);

            //Right Arm
            RightHandPoints.AddFramePoint2x(11, 17, 7);
            RightHandPoints.AddFramePoint2x(12, 38, 14);
            RightHandPoints.AddFramePoint2x(13, 43, 26);
            RightHandPoints.AddFramePoint2x(14, 35, 36);

            RightHandPoints.AddFramePoint2x(20, 34, 47);

            RightHandPoints.AddFramePoint2x(21, 24, 15);
            RightHandPoints.AddFramePoint2x(22, 41, 22);
            RightHandPoints.AddFramePoint2x(23, 36, 43);

            RightHandPoints.AddFramePoint2x(25, 26, 19);
            RightHandPoints.AddFramePoint2x(26, 37, 30);
            RightHandPoints.AddFramePoint2x(27, 37, 45);

            //Vanity Position
            HeadVanityPosition.DefaultCoordinate2x = new Point(24, 17);
            HeadVanityPosition.AddFramePoint2x(20, 28, 28);

            HeadVanityPosition.AddFramePoint2x(23, 28, 22);

            HeadVanityPosition.AddFramePoint2x(24, 24, 31);
            HeadVanityPosition.AddFramePoint2x(25, 24, 31);
            HeadVanityPosition.AddFramePoint2x(26, 24, 31);
            HeadVanityPosition.AddFramePoint2x(27, 24, 31);

            SetDialogues();
            SetRewards();
        }
Пример #8
0
        public LunaBase()
        {
            Name                = "Luna";
            Description         = "She can tell you about almost everything\nrelated to TerraGuardians.";
            Size                = GuardianSize.Large;
            Width               = 24;
            Height              = 84;
            DuckingHeight       = 70;
            SpriteWidth         = 96;
            SpriteHeight        = 96;
            Scale               = 101f / 84;
            CompanionSlotWeight = 1.05f;
            Age = 19;
            SetBirthday(SEASON_AUTUMN, 17);
            Male               = false;
            InitialMHP         = 200; //950
            LifeCrystalHPBonus = 30;
            LifeFruitHPBonus   = 15;
            Accuracy           = 0.63f;
            Mass               = 0.5f;
            MaxSpeed           = 5f;
            Acceleration       = 0.2f;
            SlowDown           = 0.53f;
            CanDuck            = true;
            ReverseMount       = false;
            SetTerraGuardian();
            CallUnlockLevel = 0;

            PopularityContestsWon = 0;
            ContestSecondPlace    = 0;
            ContestThirdPlace     = 1;

            AddInitialItem(Terraria.ID.ItemID.CopperBroadsword);
            AddInitialItem(Terraria.ID.ItemID.RichMahoganyBow);
            AddInitialItem(Terraria.ID.ItemID.Mushroom, 5);

            //Animation Frames
            StandingFrame             = 2;
            WalkingFrames             = new int[] { 3, 4, 5, 6, 7, 8, 9, 10 };
            PlayerMountedArmAnimation = JumpFrame = 11;
            HeavySwingFrames          = new int[] { 16, 17, 18 };
            ItemUseFrames             = new int[] { 12, 13, 14, 15 };
            DuckingFrame       = 19;
            DuckingSwingFrames = new int[] { 20, 21, 22 };
            SittingFrame       = 24;
            ChairSittingFrame  = 23;
            ThroneSittingFrame = 25;
            BedSleepingFrame   = 26;
            SleepingOffset.X   = 16;
            ReviveFrame        = 27;
            DownedFrame        = 28;

            BackwardStanding = 29;
            BackwardRevive   = 30;

            SittingPoint2x = new Microsoft.Xna.Framework.Point(20, 34);

            SpecificBodyFrontFramePositions = true;
            BodyFrontFrameSwap.Add(23, 0);
            BodyFrontFrameSwap.Add(24, 0);

            RightArmFrontFrameSwap.Add(0, 0);
            RightArmFrontFrameSwap.Add(1, 1);
            RightArmFrontFrameSwap.Add(23, 1);
            RightArmFrontFrameSwap.Add(24, 1);

            //Left Arm
            LeftHandPoints.AddFramePoint2x(12, 13, 3);
            LeftHandPoints.AddFramePoint2x(13, 33, 12);
            LeftHandPoints.AddFramePoint2x(14, 36, 22);
            LeftHandPoints.AddFramePoint2x(15, 30, 31);

            LeftHandPoints.AddFramePoint2x(16, 30, 4);
            LeftHandPoints.AddFramePoint2x(17, 40, 18);
            LeftHandPoints.AddFramePoint2x(18, 36, 42);

            LeftHandPoints.AddFramePoint2x(20, 11, 17);
            LeftHandPoints.AddFramePoint2x(21, 34, 18);
            LeftHandPoints.AddFramePoint2x(22, 30, 33);

            LeftHandPoints.AddFramePoint2x(24, 29, 28);

            LeftHandPoints.AddFramePoint2x(27, 33, 43);
            LeftHandPoints.AddFramePoint2x(30, 33, 43);

            //Right Arm
            RightHandPoints.AddFramePoint2x(12, 16, 3);
            RightHandPoints.AddFramePoint2x(13, 35, 12);
            RightHandPoints.AddFramePoint2x(14, 38, 22);
            RightHandPoints.AddFramePoint2x(15, 32, 31);

            RightHandPoints.AddFramePoint2x(16, 32, 4);
            RightHandPoints.AddFramePoint2x(17, 42, 18);
            RightHandPoints.AddFramePoint2x(18, 38, 42);

            RightHandPoints.AddFramePoint2x(20, 13, 17);
            RightHandPoints.AddFramePoint2x(21, 36, 18);
            RightHandPoints.AddFramePoint2x(22, 32, 33);

            RightHandPoints.AddFramePoint2x(27, 41, 43);
            RightHandPoints.AddFramePoint2x(30, 41, 43);

            //Mount Sit Position
            MountShoulderPoints.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(16, 16);
            MountShoulderPoints.AddFramePoint2x(17, 22, 20);
            MountShoulderPoints.AddFramePoint2x(18, 24, 25);

            MountShoulderPoints.AddFramePoint2x(19, 16, 23);
            MountShoulderPoints.AddFramePoint2x(20, 16, 23);
            MountShoulderPoints.AddFramePoint2x(21, 16, 23);
            MountShoulderPoints.AddFramePoint2x(22, 16, 23);

            MountShoulderPoints.AddFramePoint2x(25, 17, 19);

            MountShoulderPoints.AddFramePoint2x(27, 25, 27);
            MountShoulderPoints.AddFramePoint2x(30, 25, 27);

            //Headgear Position
            HeadVanityPosition.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(22, 12);

            HeadVanityPosition.AddFramePoint2x(17, 28, 18);
            HeadVanityPosition.AddFramePoint2x(18, 30, 24);

            HeadVanityPosition.AddFramePoint2x(19, 22, 19);
            HeadVanityPosition.AddFramePoint2x(20, 22, 19);
            HeadVanityPosition.AddFramePoint2x(21, 22, 19);
            HeadVanityPosition.AddFramePoint2x(22, 22, 19);

            HeadVanityPosition.AddFramePoint2x(27, 32, 27);
            HeadVanityPosition.AddFramePoint2x(30, 32, 27);
        }
Пример #9
0
        public GreenBase()
        {
            Name        = "Green"; //Jochen Green
            Description = "Treated many TerraGuardians in the Ether Realm,\nhis newest challenge now is on the Terra Realm.";
            Size        = GuardianSize.Large;
            Width       = 24;
            Height      = 86;
            //DuckingHeight = 52;
            SpriteWidth         = 96;
            SpriteHeight        = 96;
            Scale               = 89f / 86;
            CompanionSlotWeight = 1.15f;
            DefaultTactic       = CombatTactic.Snipe;
            Age = 31;
            SetBirthday(SEASON_SPRING, 4);
            Male               = true;
            InitialMHP         = 170; //895
            LifeCrystalHPBonus = 15;
            LifeFruitHPBonus   = 25;
            Accuracy           = 0.6f;
            Mass               = 0.36f;
            MaxSpeed           = 5.15f;
            Acceleration       = 0.21f;
            SlowDown           = 0.39f;
            //MaxJumpHeight = 15;
            //JumpSpeed = 7.08f;
            CanDuck             = false;
            ReverseMount        = false;
            DrinksBeverage      = true;
            DontUseHeavyWeapons = true;
            SetTerraGuardian();
            CallUnlockLevel  = 3;
            MountUnlockLevel = 6;

            PopularityContestsWon = 0;
            ContestSecondPlace    = 0;
            ContestThirdPlace     = 1;

            AddInitialItem(Terraria.ID.ItemID.FlintlockPistol, 1);
            AddInitialItem(Terraria.ID.ItemID.Mushroom, 3);
            AddInitialItem(Terraria.ID.ItemID.MeteorShot, 50);

            //Animation Frames
            StandingFrame             = 0;
            WalkingFrames             = new int[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            PlayerMountedArmAnimation = JumpFrame = 9;
            ItemUseFrames             = new int[] { 10, 11, 12, 13 };
            SittingFrame      = 15;
            ChairSittingFrame = 14;
            DrawLeftArmInFrontOfHead.AddRange(new int[] { 9, 10, 11, 16, 17, 21, 22 });
            ThroneSittingFrame = 17;
            BedSleepingFrame   = 16;
            SleepingOffset.X   = 16;
            ReviveFrame        = 18;
            DownedFrame        = 19;

            BackwardStanding = 20;
            BackwardRevive   = 21;

            SpecificBodyFrontFramePositions = true;
            BodyFrontFrameSwap.Add(14, 0);
            BodyFrontFrameSwap.Add(15, 0);

            RightArmFrontFrameSwap.Add(14, 0);
            RightArmFrontFrameSwap.Add(15, 1);

            SittingPoint2x = new Microsoft.Xna.Framework.Point(21, 40); //19

            //Mount
            MountShoulderPoints.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(18, 15);
            MountShoulderPoints.AddFramePoint2x(14, 17, 20);
            MountShoulderPoints.AddFramePoint2x(17, 17, 15);
            MountShoulderPoints.AddFramePoint2x(18, 29, 21);
            MountShoulderPoints.AddFramePoint2x(21, 29, 21);

            //Left Arm
            LeftHandPoints.AddFramePoint2x(10, 12, 3);
            LeftHandPoints.AddFramePoint2x(11, 33, 11);
            LeftHandPoints.AddFramePoint2x(12, 37, 21);
            LeftHandPoints.AddFramePoint2x(13, 30, 29);

            LeftHandPoints.AddFramePoint2x(15, 29, 31);

            LeftHandPoints.AddFramePoint2x(18, 37, 41);

            LeftHandPoints.AddFramePoint2x(18, 41, 41);

            //Right Arm
            RightHandPoints.AddFramePoint2x(10, 25, 3);
            RightHandPoints.AddFramePoint2x(11, 37, 11);
            RightHandPoints.AddFramePoint2x(12, 39, 21);
            RightHandPoints.AddFramePoint2x(13, 33, 29);

            RightHandPoints.AddFramePoint2x(18, 41, 41);

            RightHandPoints.AddFramePoint2x(18, 37, 41);

            //Head Vanity Position
            HeadVanityPosition.DefaultCoordinate2x = new Microsoft.Xna.Framework.Point(23, 12);
            HeadVanityPosition.AddFramePoint2x(14, 23, 17);
            HeadVanityPosition.AddFramePoint2x(15, 23, 17);
            HeadVanityPosition.AddFramePoint2x(18, 36, 30);
            HeadVanityPosition.AddFramePoint2x(21, 36, 30);
        }