private static bool IsEffectActive() { // Check from the moment item is bought up to the end of the next day return(StoreApi.GetItemAmountBought(RubberStoreId) + StoreApi.GetShopItemEffect(RubberStoreId) > 0); }