CODE |
public override string OnIdentify(Mobile from) { if(from == null || from.AccessLevel == AccessLevel.Player) return null; if(Expiration > TimeSpan.Zero) { return String.Format("{1} expires in {0} mins",Expiration.TotalMinutes, Name); } else { return String.Format("{1}: QuestOwner {0}",QuestOwner, Name); } } |
CODE |
if(from == null || from.AccessLevel == AccessLevel.Player) return null; |
QUOTE |
STEP 11: (recommended but not required) To allow attachment properties on weapons/armor to be automatically displayed in the properties list on mouseover/click, these changes must be made to BaseWeapon.cs (Scripts/Items/Weapons/BaseWeapon.cs), BaseArmor.cs (Scripts/Items/Armor/BaseArmor.cs) and BaseJewel.cs (Scripts/Items/Jewels/BaseJewel.cs) described below. (note, you dont have to make this mod if you dont want to, the spawner and other items will work just fine without it, players just wont automatically see attachment properties on items with attachments). |