public stonebricksfourstepstairsRecipe() : base("stonebricksfourstepstairsrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("stonebricksfourstepstairs", 1));
 }
Exemplo n.º 2
0
 public clayblockbluefourstepstairsinsidecornerRecipe() : base("clayblockbluefourstepstairsinsidecornerrecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockbluefourstepstairsinsidecorner", 1));
 }
Exemplo n.º 3
0
 public ClayblockyellowcurveRecipe() : base("clayblockyellowcurverecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockyellowcurve", 1));
 }
 public clayblocklightblueupsidedownslopecorneredgeRecipe() : base("clayblocklightblueupsidedownslopecorneredgerecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblocklightblueupsidedownslopecorneredge", 1));
 }
Exemplo n.º 5
0
 public bricksslopecornerRecipe() : base("bricksslopecornerrecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("bricksslopecorner", 1));
 }
 public stonebrickstwostepstairsRecipe() : base("stonebrickstwostepstairsrecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("stonebrickstwostepstairs", 1));
 }
Exemplo n.º 7
0
 public PlankscurvecornerRecipe() : base("plankscurvecornerrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("planks", 1));
     Result.Add(new InventoryItem("plankscurvecorner", 1));
 }
Exemplo n.º 8
0
 public ironblockupsidedowncurvecornerRecipe() : base("ironblockupsidedowncurvecornerrecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("ironblockupsidedowncurvecorner", 1));
 }
Exemplo n.º 9
0
        public override void ReadDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            if (ele.TryPathTo("EditorID", false, out subEle))
            {
                if (EditorID == null)
                {
                    EditorID = new SimpleSubrecord <String>();
                }

                EditorID.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Name", false, out subEle))
            {
                if (Name == null)
                {
                    Name = new SimpleSubrecord <String>();
                }

                Name.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Description", false, out subEle))
            {
                if (Description == null)
                {
                    Description = new SimpleSubrecord <String>();
                }

                Description.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Icon/Large", false, out subEle))
            {
                if (LargeIcon == null)
                {
                    LargeIcon = new SimpleSubrecord <String>();
                }

                LargeIcon.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Icon/Small", false, out subEle))
            {
                if (SmallIcon == null)
                {
                    SmallIcon = new SimpleSubrecord <String>();
                }

                SmallIcon.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Requirements", false, out subEle))
            {
                if (Requirements == null)
                {
                    Requirements = new List <Condition>();
                }

                foreach (XElement e in subEle.Elements())
                {
                    Condition tempCTDA = new Condition();
                    tempCTDA.ReadXML(e, master);
                    Requirements.Add(tempCTDA);
                }
            }
            if (ele.TryPathTo("Data", false, out subEle))
            {
                if (Data == null)
                {
                    Data = new PerkData();
                }

                Data.ReadXML(subEle, master);
            }
            if (ele.TryPathTo("Effects", false, out subEle))
            {
                if (Effects == null)
                {
                    Effects = new List <PerkEffect>();
                }

                foreach (XElement e in subEle.Elements())
                {
                    PerkEffect tempPRKE = new PerkEffect();
                    tempPRKE.ReadXML(e, master);
                    Effects.Add(tempPRKE);
                }
            }
        }
Exemplo n.º 10
0
 public stonebrickscurverotatedRecipe() : base("stonebrickscurverotatedrecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("stonebrickscurverotated", 1));
 }
Exemplo n.º 11
0
 public redplanksupsidedownslopeRecipe() : base("redplanksupsidedownsloperecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("redplanks", 1));
     Result.Add(new InventoryItem("redplanksupsidedownslope", 1));
 }
Exemplo n.º 12
0
 public clayblockcyancurverotatedRecipe() : base("clayblockcyancurverotatedrecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockcyancurverotated", 1));
 }
Exemplo n.º 13
0
 public plasterblockspikeRecipe() : base("plasterblockspikerecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("plasterblock", 1));
     Result.Add(new InventoryItem("plasterblockspike", 1));
 }
Exemplo n.º 14
0
 public plankstwostepstairsRecipe() : base("plankstwostepstairsrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("planks", 1));
     Result.Add(new InventoryItem("plankstwostepstairs", 1));
 }
Exemplo n.º 15
0
 public plasterblockcurvecornerRecipe() : base("plasterblockcurvecornerrecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("plasterblockcurvecorner", 1));
 }
Exemplo n.º 16
0
        public override void ReadData(ESPReader reader, long dataEnd)
        {
            while (reader.BaseStream.Position < dataEnd)
            {
                string subTag = reader.PeekTag();

                switch (subTag)
                {
                case "EDID":
                    if (EditorID == null)
                    {
                        EditorID = new SimpleSubrecord <String>();
                    }

                    EditorID.ReadBinary(reader);
                    break;

                case "FULL":
                    if (Name == null)
                    {
                        Name = new SimpleSubrecord <String>();
                    }

                    Name.ReadBinary(reader);
                    break;

                case "DESC":
                    if (Description == null)
                    {
                        Description = new SimpleSubrecord <String>();
                    }

                    Description.ReadBinary(reader);
                    break;

                case "ICON":
                    if (LargeIcon == null)
                    {
                        LargeIcon = new SimpleSubrecord <String>();
                    }

                    LargeIcon.ReadBinary(reader);
                    break;

                case "MICO":
                    if (SmallIcon == null)
                    {
                        SmallIcon = new SimpleSubrecord <String>();
                    }

                    SmallIcon.ReadBinary(reader);
                    break;

                case "CTDA":
                    if (Requirements == null)
                    {
                        Requirements = new List <Condition>();
                    }

                    Condition tempCTDA = new Condition();
                    tempCTDA.ReadBinary(reader);
                    Requirements.Add(tempCTDA);
                    break;

                case "DATA":
                    if (Data == null)
                    {
                        Data = new PerkData();
                    }

                    Data.ReadBinary(reader);
                    break;

                case "PRKE":
                    if (Effects == null)
                    {
                        Effects = new List <PerkEffect>();
                    }

                    PerkEffect tempPRKE = new PerkEffect();
                    tempPRKE.ReadBinary(reader);
                    Effects.Add(tempPRKE);
                    break;

                default:
                    throw new Exception();
                }
            }
        }
Exemplo n.º 17
0
 public clayblocktwostepstairsRecipe() : base("clayblocktwostepstairsrecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblocktwostepstairs", 1));
 }
 public clayblocksilverupsidedowncurveRecipe() : base("clayblocksilverupsidedowncurverecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblocksilverupsidedowncurve", 1));
 }
Exemplo n.º 19
0
 public clayblockgreenslopeRecipe() : base("clayblockgreensloperecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockgreenslope", 1));
 }
Exemplo n.º 20
0
 public ClayBlockOrangeRecipe() : base("clayblockorangerecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockorange", 1));
 }
Exemplo n.º 21
0
 public stonebricksslopeinsidecornerRecipe() : base("stonebricksslopeinsidecornerrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("stonebricksslopeinsidecorner", 1));
 }
Exemplo n.º 22
0
 public clayblockblackcurvecornerRecipe() : base("clayblockblackcurvecornerrecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockblackcurvecorner", 1));
 }
Exemplo n.º 23
0
 public clayblockpinkupsidedownslopeinsidecornerRecipe() : base("clayblockpinkupsidedownslopeinsidecornerrecipe", "pipliz.stonemason", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("clay", 1));
     Result.Add(new InventoryItem("clayblockpinkupsidedownslopeinsidecorner", 1));
 }
 public bricksfourstepstairsinsidecornerRecipe() : base("bricksfourstepstairsinsidecornerrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("bricks", 1));
     Result.Add(new InventoryItem("bricksfourstepstairsinsidecorner", 1));
 }
Exemplo n.º 25
0
 public IronblockslopecornerRecipe() : base("ironblockslopecornerrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("ironblock", 1));
     Result.Add(new InventoryItem("ironblockslopecorner", 1));
 }
Exemplo n.º 26
0
 public plasterblockupsidedownslopeinsidecornerRecipe() : base("plasterblockupsidedownslopeinsidecornerrecipe", "phentrixgames.woodcarver", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("plasterblock", 1));
     Result.Add(new InventoryItem("plasterblockupsidedownslopeinsidecorner", 1));
 }
 /// <summary>
 /// Adds a <see cref="DenyAnonymousAuthorizationRequirement"/> to the current instance.
 /// </summary>
 /// <returns>A reference to this instance after the operation has completed.</returns>
 public AuthorizationPolicyBuilder RequireAuthenticatedUser()
 {
     Requirements.Add(new DenyAnonymousAuthorizationRequirement());
     return(this);
 }
 public planksfourstepstairscornerRecipe() : base("planksfourstepstairscornerrecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("planksfourstepstairscorner", 1));
 }
Exemplo n.º 29
0
 public RedWoolRecipe() : base("Test.Redwool", "pipliz.crafter", false, 10, 1)
 {
     Requirements.Add(new InventoryItem("flax", 1));
     Result.Add(new InventoryItem("RedWool", 1));
 }
Exemplo n.º 30
0
 public stonebricksupsidedowncurveRecipe() : base("stonebricksupsidedowncurverecipe")
 {
     Requirements.Add(new InventoryItem("stonebricks", 1));
     Result.Add(new InventoryItem("stonebricksupsidedowncurve", 1));
 }