private static void ItemWearWaist(ObjectInstance obj, CharacterInstance ch, bool replace) { if (CheckFunctions.CheckIfTrue(ch, !ch.CanWearLayer(obj, WearLocations.Waist), "It won't fit overtop of what you're already wearing.")) { return; } if (!MudProgHandler.ExecuteObjectProg(MudProgTypes.Use, ch, obj, null, null)) { comm.act(ATTypes.AT_ACTION, "$n wears $p about $s waist.", ch, obj, null, ToTypes.Room); comm.act(ATTypes.AT_ACTION, "You wear $p about your waist.", ch, obj, null, ToTypes.Character); } ch.Equip(obj, WearLocations.Waist); MudProgHandler.ExecuteObjectProg(MudProgTypes.Wear, ch, obj); }