Gitlab to Gitea Migration

This commit is contained in:
2022-07-02 13:02:05 +02:00
parent 3d070e36e6
commit 0fd1c1acf2
196 changed files with 14059 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 1)]
public partial class UpgradeIronAxeRecipe : Recipe
{
public UpgradeIronAxeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<SteelAxeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<IronAxeItem>(1),
new CraftingElement<SteelItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeIronAxeRecipe), Item.Get<SteelAxeItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Iron Axe", typeof(UpgradeIronAxeRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 4)]
public partial class UpgradeIronHammerRecipe : Recipe
{
public UpgradeIronHammerRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<SteelHammerItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<IronHammerItem>(1),
new CraftingElement<SteelItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeIronHammerRecipe), Item.Get<SteelHammerItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Iron Hammer", typeof(UpgradeIronHammerRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeIronHoeRecipe : Recipe
{
public UpgradeIronHoeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<SteelHoeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<IronHoeItem>(1),
new CraftingElement<SteelItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeIronHoeRecipe), Item.Get<SteelHoeItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Iron Hoe", typeof(UpgradeIronHoeRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 1)]
public partial class UpgradeIronPickaxeRecipe : Recipe
{
public UpgradeIronPickaxeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<SteelPickaxeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<IronPickaxeItem>(1),
new CraftingElement<SteelItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeIronPickaxeRecipe), Item.Get<SteelPickaxeItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Iron Pickaxe", typeof(UpgradeIronPickaxeRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeIronScytheRecipe : Recipe
{
public UpgradeIronScytheRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<SteelScytheItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<IronScytheItem>(1),
new CraftingElement<SteelItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeIronScytheRecipe), Item.Get<SteelScytheItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Iron Scythe", typeof(UpgradeIronScytheRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 2)]
public partial class UpgradeIronShovelRecipe : Recipe
{
public UpgradeIronShovelRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<SteelShovelItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<IronShovelItem>(1),
new CraftingElement<SteelItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeIronShovelRecipe), Item.Get<SteelShovelItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Iron Shovel", typeof(UpgradeIronShovelRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeSteelAxeRecipe : Recipe
{
public UpgradeSteelAxeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<ModernAxeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<SteelAxeItem>(1),
new CraftingElement<FiberglassItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeSteelAxeRecipe), Item.Get<ModernAxeItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Steel Axe", typeof(UpgradeSteelAxeRecipe));
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeSteelHammerRecipe : Recipe
{
public UpgradeSteelHammerRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<ModernHammerItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<SteelHammerItem>(1),
new CraftingElement<FiberglassItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeSteelHammerRecipe), Item.Get<ModernHammerItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Steel Hammer", typeof(UpgradeSteelHammerRecipe));
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeSteelHoeRecipe : Recipe
{
public UpgradeSteelHoeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<ModernHoeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<SteelHoeItem>(1),
new CraftingElement<FiberglassItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeSteelHoeRecipe), Item.Get<ModernHoeItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Steel Hoe", typeof(UpgradeSteelHoeRecipe));
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeSteelPickaxeRecipe : Recipe
{
public UpgradeSteelPickaxeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<ModernPickaxeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<SteelPickaxeItem>(1),
new CraftingElement<FiberglassItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeSteelPickaxeRecipe), Item.Get<ModernPickaxeItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Steel Pickaxe", typeof(UpgradeSteelPickaxeRecipe));
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeSteelScytheRecipe : Recipe
{
public UpgradeSteelScytheRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<ModernScytheItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<SteelScytheItem>(1),
new CraftingElement<FiberglassItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeSteelScytheRecipe), Item.Get<ModernScytheItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Steel Scythe", typeof(UpgradeSteelScytheRecipe));
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(SteelworkingSkill), 3)]
public partial class UpgradeSteelShovelRecipe : Recipe
{
public UpgradeSteelShovelRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<ModernShovelItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<SteelShovelItem>(1),
new CraftingElement<FiberglassItem>(typeof(SteelworkingEfficiencySkill), 20 ,SteelworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeSteelShovelRecipe), Item.Get<ModernShovelItem>().UILink(), .5f, typeof(SteelworkingSpeedSkill))
);
this.Initialize("Upgrade Steel Shovel", typeof(UpgradeSteelShovelRecipe));
CraftingComponent.AddRecipe(typeof(FactoryObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(MetalworkingSkill), 1)]
public partial class UpgradeStoneAxeRecipe : Recipe
{
public UpgradeStoneAxeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<IronAxeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<StoneAxeItem>(1),
new CraftingElement<IronIngotItem>(typeof(MetalworkingEfficiencySkill), 20 ,MetalworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeStoneAxeRecipe), Item.Get<IronAxeItem>().UILink(), .5f, typeof(MetalworkingSpeedSkill))
);
this.Initialize("Upgrade Stone Axe", typeof(UpgradeStoneAxeRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(MetalworkingSkill), 4)]
public partial class UpgradeStoneHammerRecipe : Recipe
{
public UpgradeStoneHammerRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<IronHammerItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<StoneHammerItem>(1),
new CraftingElement<IronIngotItem>(typeof(MetalworkingEfficiencySkill), 20 ,MetalworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeStoneHammerRecipe), Item.Get<IronHammerItem>().UILink(), .5f, typeof(MetalworkingSpeedSkill))
);
this.Initialize("Upgrade Stone Hammer", typeof(UpgradeStoneHammerRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(MetalworkingSkill), 1)]
public partial class UpgradeStonePickaxeRecipe : Recipe
{
public UpgradeStonePickaxeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<IronPickaxeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<StonePickaxeItem>(1),
new CraftingElement<IronIngotItem>(typeof(MetalworkingEfficiencySkill), 20 ,MetalworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeStonePickaxeRecipe), Item.Get<IronPickaxeItem>().UILink(), .5f, typeof(MetalworkingSpeedSkill))
);
this.Initialize("Upgrade Stone Pickaxe", typeof(UpgradeStonePickaxeRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(MetalworkingSkill), 3)]
public partial class UpgradeStoneScytheRecipe : Recipe
{
public UpgradeStoneScytheRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<IronScytheItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<StoneScytheItem>(1),
new CraftingElement<IronIngotItem>(typeof(MetalworkingEfficiencySkill), 20 ,MetalworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeStoneScytheRecipe), Item.Get<IronScytheItem>().UILink(), .5f, typeof(MetalworkingSpeedSkill))
);
this.Initialize("Upgrade Stone Scythe", typeof(UpgradeStoneScytheRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(MetalworkingSkill), 3)]
public partial class UpgradeWoodenHoeRecipe : Recipe
{
public UpgradeWoodenHoeRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<IronHoeItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<WoodenHoeItem>(1),
new CraftingElement<IronIngotItem>(typeof(MetalworkingEfficiencySkill), 20 ,MetalworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeWoodenHoeRecipe), Item.Get<IronHoeItem>().UILink(), .5f, typeof(MetalworkingSpeedSkill))
);
this.Initialize("Upgrade Wooden Hoe", typeof(UpgradeWoodenHoeRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}

View File

@@ -0,0 +1,42 @@
namespace Eco.Mods.TechTree
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Eco.Gameplay.Blocks;
using Eco.Gameplay.Components;
using Eco.Gameplay.DynamicValues;
using Eco.Gameplay.Items;
using Eco.Gameplay.Players;
using Eco.Gameplay.Skills;
using Eco.Gameplay.Systems.TextLinks;
using Eco.Shared.Serialization;
using Eco.Shared.Utils;
using Eco.World;
using Eco.World.Blocks;
using Eco.Gameplay.Pipes;
[RequiresSkill(typeof(MetalworkingSkill), 2)]
public partial class UpgradeWoodenShovelRecipe : Recipe
{
public UpgradeWoodenShovelRecipe()
{
this.Products = new CraftingElement[]
{
new CraftingElement<IronShovelItem>(),
};
this.Ingredients = new CraftingElement[]
{
new CraftingElement<WoodenShovelItem>(1),
new CraftingElement<IronIngotItem>(typeof(MetalworkingEfficiencySkill), 20 ,MetalworkingEfficiencySkill.MultiplicativeStrategy)
};
this.CraftMinutes = new MultiDynamicValue(MultiDynamicOps.Multiply
, CreateCraftTimeValue(typeof(UpgradeWoodenShovelRecipe), Item.Get<IronShovelItem>().UILink(), .5f, typeof(MetalworkingSpeedSkill))
);
this.Initialize("Upgrade Wooden Shovel", typeof(UpgradeWoodenShovelRecipe));
CraftingComponent.AddRecipe(typeof(AnvilObject), this);
}
}
}