public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 1: m_Type = (ClockworkType)reader.ReadInt(); break; } }
public int OnCraft(int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue) { switch (craftItem.NameNumber) { default: case 1113031: m_Type = ClockworkType.Wolf; break; case 1113032: m_Type = ClockworkType.Scorpion; break; case 1113033: m_Type = ClockworkType.Vollem; break; } return quality; }
public int OnCraft(int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue) { switch (craftItem.NameNumber) { default: case 1113031: this.m_Type = ClockworkType.Wolf; break; case 1113032: this.m_Type = ClockworkType.Scorpion; break; case 1113033: this.m_Type = ClockworkType.Vollem; break; } return(quality); }
public ModifiedClockworkAssembly(ClockworkType type) : base(0x1EA8) { this.m_Type = type; this.Weight = 5.0; }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch ( version) { case 1: this.m_Type = (ClockworkType)reader.ReadInt(); break; } }
public ModifiedClockworkAssembly(ClockworkType type) : base(0x1EA8) { this.m_Type = type; this.Weight = 5.0; }