예제 #1
0
        public CarvedDecorRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <CarvedDecorItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <PrinterBoxItem>(typeof(PrintingProductionEfficiencySkill), 5, PrintingProductionEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(20, PrintingProductionSpeedSkill.MultiplicativeStrategy, typeof(PrintingProductionSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(CarvedDecorRecipe), Item.Get <CarvedDecorItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <CarvedDecorItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Carved Decor", typeof(CarvedDecorRecipe));
            CraftingComponent.AddRecipe(typeof(DPrinterObject), this);
        }
예제 #2
0
        public LargeHangingHewnLogSignRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <LargeHangingHewnLogSignItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <HewnLogItem>(typeof(WoodworkingEfficiencySkill), 25, WoodworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, WoodworkingSpeedSkill.MultiplicativeStrategy, typeof(WoodworkingSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(LargeHangingHewnLogSignRecipe), Item.Get <LargeHangingHewnLogSignItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <LargeHangingHewnLogSignItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Large Hanging Hewn Log Sign", typeof(LargeHangingHewnLogSignRecipe));
            CraftingComponent.AddRecipe(typeof(CarpentryTableObject), this);
        }
예제 #3
0
        public WaterwheelRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <WaterwheelItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <LogItem>(typeof(PrimitiveMechanicsEfficiencySkill), 20, PrimitiveMechanicsEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(30, PrimitiveMechanicsSpeedSkill.MultiplicativeStrategy, typeof(PrimitiveMechanicsSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(WaterwheelRecipe), Item.Get <WaterwheelItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <WaterwheelItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Waterwheel", typeof(WaterwheelRecipe));
            CraftingComponent.AddRecipe(typeof(CarpentryTableObject), this);
        }
        public RugSmallRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <RugSmallItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <ClothItem>(typeof(ClothProductionEfficiencySkill), 10, ClothProductionEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(15, ClothProductionSpeedSkill.MultiplicativeStrategy, typeof(ClothProductionSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(RugSmallRecipe), Item.Get <RugSmallItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <RugSmallItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Rug Small", typeof(RugSmallRecipe));
            CraftingComponent.AddRecipe(typeof(TailoringTableObject), this);
        }
예제 #5
0
        public SteelTableLampRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <SteelTableLampItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <SteelItem>(typeof(SteelworkingEfficiencySkill), 8, SteelworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, SteelworkingSpeedSkill.MultiplicativeStrategy, typeof(SteelworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(SteelTableLampRecipe), Item.Get <SteelTableLampItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <SteelTableLampItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Steel Table Lamp", typeof(SteelTableLampRecipe));
            CraftingComponent.AddRecipe(typeof(FactoryObject), this);
        }
        public FishTrapRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <FishTrapItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <LogItem>(typeof(FishingSkill), 20, FishingSkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, FishingSkill.MultiplicativeStrategy, typeof(FishingSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(FishTrapRecipe), Item.Get <FishTrapItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <FishTrapItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Fish Trap", typeof(FishTrapRecipe));
            CraftingComponent.AddRecipe(typeof(FisheryObject), this);
        }
예제 #7
0
        public WheatSeedRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <WheatSeedItem>(),
            };
            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <WheatItem>(typeof(SeedProductionEfficiencySkill), 2, SeedProductionEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(0.5f, SeedProductionSpeedSkill.MultiplicativeStrategy, typeof(SeedProductionSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(WheatSeedRecipe), Item.Get <WheatSeedItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <WheatSeedItem>().UILink(), value);
            this.CraftMinutes = value;

            this.Initialize("Wheat Seed", typeof(WheatSeedRecipe));
            CraftingComponent.AddRecipe(typeof(FarmersTableObject), this);
        }
        public ElectricLatheRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <ElectricLatheItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <IronWheelItem>(typeof(IndustrialEngineeringEfficiencySkill), 5, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <SteelPlateItem>(typeof(IndustrialEngineeringEfficiencySkill), 20, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(20, IndustrialEngineeringSpeedSkill.MultiplicativeStrategy, typeof(IndustrialEngineeringSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(ElectricLatheRecipe), Item.Get <ElectricLatheItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <ElectricLatheItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Electric Lathe", typeof(ElectricLatheRecipe));
            CraftingComponent.AddRecipe(typeof(ElectricMachinistTableObject), this);
        }
        public ElectricWallLampRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <ElectricWallLampItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <LightBulbItem>(1),
                new CraftingElement <SteelItem>(typeof(ElectronicEngineeringEfficiencySkill), 10, ElectronicEngineeringEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(1, ElectronicEngineeringSpeedSkill.MultiplicativeStrategy, typeof(ElectronicEngineeringSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(ElectricWallLampRecipe), Item.Get <ElectricWallLampItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <ElectricWallLampItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Electric Wall Lamp", typeof(ElectricWallLampRecipe));
            CraftingComponent.AddRecipe(typeof(ElectronicsAssemblyObject), this);
        }
        public CeilingCandleRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <CeilingCandleItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <IronIngotItem>(typeof(MetalworkingEfficiencySkill), 5, MetalworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <TallowItem>(typeof(MetalworkingEfficiencySkill), 2, MetalworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(1, MetalworkingSpeedSkill.MultiplicativeStrategy, typeof(MetalworkingSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(CeilingCandleRecipe), Item.Get <CeilingCandleItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <CeilingCandleItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize(Localizer.DoStr("Ceiling Candle"), typeof(CeilingCandleRecipe));
            CraftingComponent.AddRecipe(typeof(AnvilObject), this);
        }
예제 #11
0
        public TailoringTableRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <TailoringTableItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <BoardItem>(typeof(WoodworkingEfficiencySkill), 40, WoodworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <PlantFibersItem>(typeof(WoodworkingEfficiencySkill), 50, WoodworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(60, WoodworkingSpeedSkill.MultiplicativeStrategy, typeof(WoodworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(TailoringTableRecipe), Item.Get <TailoringTableItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <TailoringTableItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Tailoring Table", typeof(TailoringTableRecipe));
            CraftingComponent.AddRecipe(typeof(CarpentryTableObject), this);
        }
예제 #12
0
        public BakeryOvenRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <BakeryOvenItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <BrickItem>(typeof(StoneworkingEfficiencySkill), 30, StoneworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <IronIngotItem>(typeof(StoneworkingEfficiencySkill), 10, StoneworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(20, StoneworkingSpeedSkill.MultiplicativeStrategy, typeof(StoneworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(BakeryOvenRecipe), Item.Get <BakeryOvenItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <BakeryOvenItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Bakery Oven", typeof(BakeryOvenRecipe));
            CraftingComponent.AddRecipe(typeof(MasonryTableObject), this);
        }
예제 #13
0
        public BathMirrorRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <BathMirrorItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <LumberItem>(typeof(LumberWoodworkingEfficiencySkill), 10, LumberWoodworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <GlassItem>(typeof(LumberWoodworkingEfficiencySkill), 10, LumberWoodworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, LumberWoodworkingSpeedSkill.MultiplicativeStrategy, typeof(LumberWoodworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(BathMirrorRecipe), Item.Get <BathMirrorItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <BathMirrorItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Bathroom Mirror", typeof(BathMirrorRecipe));
            CraftingComponent.AddRecipe(typeof(SawmillObject), this);
        }
예제 #14
0
        public PlasmaChargerRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <PlasmaChargerItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <SteelItem>(typeof(ElectronicEngineeringEfficiencySkill), 40, ElectronicEngineeringEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <CircuitItem>(typeof(IndustrialEngineeringEfficiencySkill), 30, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(3600, ElectronicEngineeringSpeedSkill.MultiplicativeStrategy, typeof(ElectronicEngineeringSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(PlasmaChargerRecipe), Item.Get <PlasmaChargerItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <PlasmaChargerItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Plasma Charger", typeof(PlasmaChargerRecipe));
            CraftingComponent.AddRecipe(typeof(ElectronicsAssemblyObject), this);
        }
예제 #15
0
        public SaltBasketRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <SaltBasketItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <BoardItem>(typeof(FertilizerEfficiencySkill), 10, FertilizerEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <RopeItem>(typeof(FertilizerEfficiencySkill), 6, FertilizerEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(5, FertilizerSpeedSkill.MultiplicativeStrategy, typeof(FertilizerSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(SaltBasketRecipe), Item.Get <SaltBasketItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <SaltBasketItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Salt Basket", typeof(SaltBasketRecipe));
            CraftingComponent.AddRecipe(typeof(FarmersTableObject), this);
        }
예제 #16
0
파일: Mint.cs 프로젝트: Talindor2/eco_mod
        public MintRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <MintItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <BrickItem>(typeof(MetalworkingEfficiencySkill), 20, MetalworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <LumberItem>(typeof(MetalworkingEfficiencySkill), 20, MetalworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(60, MetalworkingSpeedSkill.MultiplicativeStrategy, typeof(MetalworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(MintRecipe), Item.Get <MintItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <MintItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Mint", typeof(MintRecipe));
            CraftingComponent.AddRecipe(typeof(AnvilObject), this);
        }
        public WashingMachineRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <WashingMachineItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <SteelItem>(typeof(IndustrialEngineeringEfficiencySkill), 20, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <CircuitItem>(typeof(IndustrialEngineeringEfficiencySkill), 5, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, IndustrialEngineeringSpeedSkill.MultiplicativeStrategy, typeof(IndustrialEngineeringSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(WashingMachineRecipe), Item.Get <WashingMachineItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <WashingMachineItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Washing Machine", typeof(WashingMachineRecipe));
            CraftingComponent.AddRecipe(typeof(FactoryObject), this);
        }
예제 #18
0
        public CardboardBoxRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <CardboardBoxItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <PaperItem>(typeof(PaperEfficiencySkill), 10, PaperEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <GlueItem>(typeof(PaperEfficiencySkill), 1, PaperEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(2, PaperSpeedSkill.MultiplicativeStrategy, typeof(PaperSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(CardboardBoxRecipe), Item.Get <CardboardBoxItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <CardboardBoxItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Cardboard Box", typeof(CardboardBoxRecipe));
            CraftingComponent.AddRecipe(typeof(WorkbenchObject), this);
        }
예제 #19
0
        public LaboratoryRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <LaboratoryItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <SteelItem>(typeof(IndustrialEngineeringEfficiencySkill), 30, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <GlassItem>(typeof(IndustrialEngineeringEfficiencySkill), 20, IndustrialEngineeringEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(120, IndustrialEngineeringSpeedSkill.MultiplicativeStrategy, typeof(IndustrialEngineeringSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(LaboratoryRecipe), Item.Get <LaboratoryItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <LaboratoryItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Laboratory", typeof(LaboratoryRecipe));
            CraftingComponent.AddRecipe(typeof(RoboticAssemblyLineObject), this);
        }
예제 #20
0
파일: Door.cs 프로젝트: Talindor2/eco_mod
        public DoorRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <DoorItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <LogItem>(typeof(WoodworkingEfficiencySkill), 6, WoodworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <RivetItem>(typeof(WoodworkingEfficiencySkill), 1, WoodworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(5, WoodworkingSpeedSkill.MultiplicativeStrategy, typeof(WoodworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(DoorRecipe), Item.Get <DoorItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <DoorItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Door", typeof(DoorRecipe));
            CraftingComponent.AddRecipe(typeof(CarpentryTableObject), this);
        }
예제 #21
0
        public PlanterPotSquareRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <PlanterPotSquareItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <StoneItem>(typeof(StoneworkingEfficiencySkill), 10, StoneworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <PulpFillerItem>(typeof(StoneworkingEfficiencySkill), 5, StoneworkingEfficiencySkill.MultiplicativeStrategy)
            };
            SkillModifiedValue value = new SkillModifiedValue(5, StoneworkingSpeedSkill.MultiplicativeStrategy, typeof(StoneworkingSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(PlanterPotSquareRecipe), Item.Get <PlanterPotSquareItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <PlanterPotSquareItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Planter Pot Square", typeof(PlanterPotSquareRecipe));
            CraftingComponent.AddRecipe(typeof(KilnObject), this);
        }
예제 #22
0
        public StuffedElkRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <StuffedElkItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <ElkCarcassItem>(typeof(ClothProductionEfficiencySkill), 4, ClothProductionEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <PlantFibersItem>(typeof(ClothProductionEfficiencySkill), 100, ClothProductionEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(40, ClothProductionSpeedSkill.MultiplicativeStrategy, typeof(ClothProductionSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(StuffedElkRecipe), Item.Get <StuffedElkItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <StuffedElkItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Stuffed Elk", typeof(StuffedElkRecipe));
            CraftingComponent.AddRecipe(typeof(TailoringTableObject), this);
        }
        public FarmersTableRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <FarmersTableItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <DirtItem>(typeof(BasicCraftingEfficiencySkill), 10, BasicCraftingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <LogItem>(typeof(BasicCraftingEfficiencySkill), 20, BasicCraftingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, BasicCraftingSpeedSkill.MultiplicativeStrategy, typeof(BasicCraftingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(FarmersTableRecipe), Item.Get <FarmersTableItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <FarmersTableItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Farmers Table", typeof(FarmersTableRecipe));
            CraftingComponent.AddRecipe(typeof(WorkbenchObject), this);
        }
예제 #24
0
        public IndoorPlant2Recipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <IndoorPlant2Item>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <ClayItem>(typeof(ClayProductionEfficiencySkill), 5, ClayProductionEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <PlantFibersItem>(typeof(ClayProductionEfficiencySkill), 5, ClayProductionEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, ClayProductionSpeedSkill.MultiplicativeStrategy, typeof(ClayProductionSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(IndoorPlant2Recipe), Item.Get <IndoorPlant2Item>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <IndoorPlant2Item>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Small Indoor Plant", typeof(IndoorPlant2Recipe));
            CraftingComponent.AddRecipe(typeof(KilnObject), this);
        }
예제 #25
0
        public LatheRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <LatheItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <IronWheelItem>(typeof(MechanicsAssemblyEfficiencySkill), 5, MechanicsAssemblyEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <IronPlateItem>(typeof(MechanicsAssemblyEfficiencySkill), 20, MechanicsAssemblyEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(10, MechanicsAssemblySpeedSkill.MultiplicativeStrategy, typeof(MechanicsAssemblySpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(LatheRecipe), Item.Get <LatheItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <LatheItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Lathe", typeof(LatheRecipe));
            CraftingComponent.AddRecipe(typeof(MachinistTableObject), this);
        }
예제 #26
0
        public BisonMountRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <BisonMountItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <BisonCarcassItem>(1),
                new CraftingElement <BoardItem>(typeof(ClothProductionEfficiencySkill), 5, ClothProductionEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(15, ClothProductionSpeedSkill.MultiplicativeStrategy, typeof(ClothProductionSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(BisonMountRecipe), Item.Get <BisonMountItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <BisonMountItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Bison Mount", typeof(BisonMountRecipe));
            CraftingComponent.AddRecipe(typeof(TailoringTableObject), this);
        }
예제 #27
0
        public SawmillRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <SawmillItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <IronIngotItem>(typeof(LumberWoodworkingEfficiencySkill), 20, LumberWoodworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <LogItem>(typeof(LumberWoodworkingEfficiencySkill), 30, LumberWoodworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(15, LumberWoodworkingSpeedSkill.MultiplicativeStrategy, typeof(LumberWoodworkingSpeedSkill), Localizer.Do("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(SawmillRecipe), Item.Get <SawmillItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <SawmillItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Sawmill", typeof(SawmillRecipe));
            CraftingComponent.AddRecipe(typeof(AnvilObject), this);
        }
예제 #28
0
        public JDBatteryChargerRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <JDBatteryChargerItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <SteelItem>(typeof(BasicEWorkingEfficiencySkill), 25, BasicEWorkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <IronIngotItem>(typeof(BasicEWorkingEfficiencySkill), 20, BasicEWorkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(360f, BasicEWorkingSpeedSkill.MultiplicativeStrategy, typeof(BasicEWorkingSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(JDBatteryChargerRecipe), Item.Get <JDBatteryChargerItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <JDBatteryChargerItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Battery Charger", typeof(JDBatteryChargerRecipe));
            CraftingComponent.AddRecipe(typeof(AssemblyLineObject), this);
        }
예제 #29
0
        public TallowLampRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <TallowLampItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <SandItem>(typeof(StoneworkingEfficiencySkill), 4, StoneworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <TallowItem>(typeof(StoneworkingEfficiencySkill), 2, StoneworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(2, StoneworkingSpeedSkill.MultiplicativeStrategy, typeof(StoneworkingSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(TallowLampRecipe), Item.Get <TallowLampItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <TallowLampItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize("Tallow Lamp", typeof(TallowLampRecipe));
            CraftingComponent.AddRecipe(typeof(KilnObject), this);
        }
        public WoodenFabricBedRecipe()
        {
            this.Products = new CraftingElement[]
            {
                new CraftingElement <WoodenFabricBedItem>(),
            };

            this.Ingredients = new CraftingElement[]
            {
                new CraftingElement <LumberItem>(typeof(LumberWoodworkingEfficiencySkill), 20, LumberWoodworkingEfficiencySkill.MultiplicativeStrategy),
                new CraftingElement <ClothItem>(typeof(LumberWoodworkingEfficiencySkill), 20, LumberWoodworkingEfficiencySkill.MultiplicativeStrategy),
            };
            SkillModifiedValue value = new SkillModifiedValue(5, LumberWoodworkingSpeedSkill.MultiplicativeStrategy, typeof(LumberWoodworkingSpeedSkill), Localizer.DoStr("craft time"));

            SkillModifiedValueManager.AddBenefitForObject(typeof(WoodenFabricBedRecipe), Item.Get <WoodenFabricBedItem>().UILink(), value);
            SkillModifiedValueManager.AddSkillBenefit(Item.Get <WoodenFabricBedItem>().UILink(), value);
            this.CraftMinutes = value;
            this.Initialize(Localizer.DoStr("Wooden Fabric Bed"), typeof(WoodenFabricBedRecipe));
            CraftingComponent.AddRecipe(typeof(SawmillObject), this);
        }