public Tuple <bool, MessageCallback> CheckKingdom(Kingdom kingdom) { if (kingdom.GetResourcesCount(ItemName) >= Count) { return(new Tuple <bool, MessageCallback>(true, new MessageCallback())); } else { MessageCallback cb = new MessageCallback() { Text = Locale.Get("resources." + ItemName + ".miss", kingdom.Language), From = ECharacter.Knight }; return(new Tuple <bool, MessageCallback>(false, cb)); } }