public BaseScales(CraftResource resource, int amount) : base(0x26B4) { this.Stackable = true; this.Amount = amount; this.Hue = CraftResources.GetHue(resource); this.m_Resource = resource; }
public BaseHides(CraftResource resource, int amount) : base(0x1079) { Stackable = true; Weight = 5.0; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public BaseWoodBoard(CraftResource resource, int amount) : base(0x1BD7) { Stackable = true; Amount = amount; m_Resource = resource; Hue = CraftResources.GetHue(resource); }
public BaseIngot(CraftResource resource, int amount) : base(0x1BF2) { this.Stackable = true; this.Amount = amount; this.Hue = CraftResources.GetHue(resource); this.m_Resource = resource; }
public BaseOre(CraftResource resource, int amount) : base(0x19B9) { Stackable = true; Weight = 20.0; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public Log(CraftResource resource, int amount) : base(0x1BDD) { Stackable = true; Weight = 1.0; Amount = amount; m_Resource = resource; Hue = CraftResources.GetHue(resource); }
public Board(CraftResource resource, int amount) : base(0x1BD7) { this.Stackable = true; this.Amount = amount; this.m_Resource = resource; this.Hue = CraftResources.GetHue(resource); }
public BaseLeather(CraftResource resource, int amount) : base(0x1081) { Stackable = true; Weight = 1.0; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
//Modded from - public BaseGranite( CraftResource resource ) : base( 0x1779 ) - to what it is below public BaseGranite(CraftResource resource, int amount) : base(0x1779) { Stackable = true; //I ADDED Amount = amount; //I ADDED Hue = CraftResources.GetHue(resource); Stackable = Core.ML; m_Resource = resource; }
public BaseIngot(CraftResource resource, int amount) : base(0x1BF2) { Stackable = true; Weight = 0.1; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public BaseOre(CraftResource resource, int amount) : base(RandomSize()) { this.Stackable = true; this.Amount = amount; this.Hue = CraftResources.GetHue(resource); this.m_Resource = resource; }
public BaseScales(CraftResource resource, int amount) : base(0x26B4) { Stackable = true; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; ItemValue = ItemValue.Resource; }
public BaseOre(CraftResource resource, int amount) : base(RandomSize()) { Stackable = true; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public BaseScales(CraftResource resource, int amount) : base(0x26B4) { Stackable = true; Weight = 0.1; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public BaseCold(CraftResource resource, int amount) : base(0x09B5) { Stackable = true; Weight = 0.01; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public BaseGranite(CraftResource resource) : base(0x1779) { Weight = 1.0; Hue = CraftResources.GetHue(resource); m_Resource = resource; Stackable = true; }
public BaseFouet(int itemID) : base(itemID) { m_Quality = FouetQuality.Regular; m_Crafter = null; NextUse = DateTime.MinValue; Hue = CraftResources.GetHue(m_Resource); this.Layer = Layer.OneHanded; }
public BaseHides(CraftResource resource, int amount) : base(0x1079) { this.Stackable = true; this.Weight = 5.0; this.Amount = amount; this.Hue = CraftResources.GetHue(resource); this.m_Resource = resource; }
public BaseGlovesOfMining(int bonus, int itemID) : base(itemID) { this.m_Bonus = bonus; //this.Hue = CraftResources.GetHue((CraftResource)Utility.RandomMinMax((int)CraftResource.DullCopper, (int)CraftResource.Valorite)); //daat99 OWLTR start = ores hues this.Hue = CraftResources.GetHue((CraftResource)Utility.RandomMinMax((int)CraftResource.DullCopper, (int)CraftResource.Platinum)); //daat99 OWLTR end = ores hues }
public Log(CraftResource resource, int amount) : base(0x1BDD) { this.Stackable = true; this.Weight = 2.0; this.Amount = amount; this.m_Resource = resource; this.Hue = CraftResources.GetHue(resource); }
public BaseBoards(CraftResource resource, int amount) : base(0x1BD7) { Stackable = true; Weight = 1.0; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public BaseLeather(CraftResource resource, int amount) : base(0x1081) { this.Stackable = true; this.Weight = 1.0; this.Amount = amount; this.Hue = CraftResources.GetHue(resource); this.m_Resource = resource; }
public override void ResourceChange() { int resourceHue = CraftResources.GetHue(Resource); if (resourceHue != 0) { Hue = resourceHue; } DetermineUses(); }
public BaseFish(CraftResource resource, int amount) : base(0x09CC) //Utility.Random(0x09CC, 4) { Stackable = true; Weight = 1.0; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; //Name = "Poisson : " + resource.ToString(); }
public BaseLog(CraftResource resource, int amount) : base(0x1BDD) { Stackable = true; Weight = 0.3; Amount = amount; m_Resource = resource; Name = CraftResources.GetName(resource) + " log"; Hue = CraftResources.GetHue(resource); }
public override void GetProperties(ObjectPropertyList list) { int oldUses = m_UsesRemaining; CheckReplenishUses(false); base.GetProperties(list); if (m_Crafter != null) { list.Add(1050043, m_Crafter.RawName); // crafted by ~1_NAME~ } if (m_Quality == InstrumentQuality.Exceptional) { list.Add(1060636); // exceptional } list.Add(1060584, m_UsesRemaining.ToString()); // uses remaining: ~1_val~ if (m_ReplenishesCharges) { list.Add(1070928); // Replenish Charges } if (m_Slayer != SlayerName.None) { SlayerEntry entry = SlayerGroup.GetEntryByName(m_Slayer); if (entry != null) { list.Add(entry.GetTitle(EraAOS)); } } if (m_Slayer2 != SlayerName.None) { SlayerEntry entry = SlayerGroup.GetEntryByName(m_Slayer2); if (entry != null) { list.Add(entry.GetTitle(EraAOS)); } } if ((m_Resource >= CraftResource.OakWood && m_Resource <= CraftResource.Frostwood) && Hue == CraftResources.GetHue(m_Resource)) { list.Add(CraftResources.GetLocalizationNumber(m_Resource)); } if (m_UsesRemaining != oldUses) { Timer.DelayCall(TimeSpan.Zero, InvalidateProperties); } }
public TAVOre(CraftResource resource, int amount) : base(resource) { ItemID = 0x19B9; Stackable = true; Weight = 3.0; Amount = amount; Hue = CraftResources.GetHue(resource); m_Resource = resource; }
public Log(CraftResource resource, int amount) : base(0x1BDD) { Stackable = true; Weight = 2.0; Amount = amount; m_Resource = resource; Hue = CraftResources.GetHue(resource); ItemValue = ItemValue.Common; }
public BaseArmor(int itemID) : base(itemID) { m_Quality = ArmorQuality.Regular; m_Durability = ArmorDurabilityLevel.Regular; m_Crafter = null; m_Resource = DefaultResource; Hue = CraftResources.GetHue(m_Resource); m_HitPoints = m_MaxHitPoints = Utility.RandomMinMax(InitMinHits, InitMaxHits); this.Layer = (Layer)ItemData.Quality; }
public int OnCraft(int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, ITool tool, CraftItem craftItem, int resHue) { Type resourceType = typeRes; if (resourceType == null) { resourceType = craftItem.Resources.GetAt(0).ItemType; } Hue = CraftResources.GetHue(CraftResources.GetFromType(resourceType)); return(1); }