public bool HasItems(Game_Pawn aPawn, Content_Inventory aItems) { if (aPawn.itemManager != null && !aItems.Empty()) { if (aItems.HasItemsInInventory(aPawn)) { return(true); } } return(false); }
public bool RemoveItems(Game_Pawn aPawn, Content_Inventory aItems) { if (aPawn.itemManager != null && aItems != null && !aItems.Empty()) { return(aItems.RemoveFromInventory(aPawn)); } else { return(false); } }