Example #1
0
        public static Entity BuildRentACopBatonCowardly(string designation)
        {
            List <ActionClause> clauses = new List <ActionClause>();

            clauses.Add(new ActionClause_Flee());

            var entity = EntityBuilder.BuildNakedMech("Rent-A-Cop " + designation, false, new Guidebook(clauses));

            EntityBuilder.MountOntoArm(entity, BodyPartLocation.RIGHT_ARM, EntityBuilder_Weapons.BuildBaton());
            EntityBuilder.MountOntoArm(entity, BodyPartLocation.LEFT_ARM, EntityBuilder.BuildPhoneScanner());

            return(entity);
        }
Example #2
0
        public static Entity BuildPolicemanBruiser(string designation)
        {
            List <ActionClause> clauses = new List <ActionClause>();

            clauses.Add(new ActionClause_Attack());
            clauses.Add(new ActionClause_Approach());

            var entity = EntityBuilder.BuildNakedMech("Policeman " + designation, false, new Guidebook(clauses));

            EntityBuilder.MountOntoArm(entity, BodyPartLocation.RIGHT_ARM, EntityBuilder_Weapons.BuildBaton());
            EntityBuilder.MountOntoArm(entity, BodyPartLocation.LEFT_ARM, EntityBuilder.BuildHandheldScanner());

            EntityBuilder.SlotAt(entity, BodyPartLocation.HEAD, EntityBuilder.BuildHelmet());
            EntityBuilder.SlotAt(entity, BodyPartLocation.TORSO, EntityBuilder.BuildArmorPart());
            EntityBuilder.SlotAt(entity, BodyPartLocation.TORSO, EntityBuilder.BuildArmorPart());

            return(entity);
        }
Example #3
0
        public static Entity BuildRentACopBaton(string designation)
        {
            List <ActionClause> clauses = new List <ActionClause>();

            clauses.Add(new ActionClause_Attack());
            clauses.Add(new ActionClause_Approach());

            var entity = EntityBuilder.BuildNakedMech("Rent-A-Cop " + designation, false, new Guidebook(clauses));

            EntityBuilder.MountOntoArm(entity, BodyPartLocation.RIGHT_ARM, EntityBuilder_Weapons.BuildBaton());
            EntityBuilder.MountOntoArm(entity, BodyPartLocation.LEFT_ARM, EntityBuilder.BuildPhoneScanner());

            var cse      = new StatusEffect_DamageResistance(-1, DamageType.SLASHING, Enums.ResistStrength.MAJOR);
            var buffable = entity.GetComponentOfType <Component_Buffable>();

            buffable.ForceAddActiveStatusEffect(cse);

            return(entity);
        }