Restaurant cars are available on New Zealand long-distance trains. You are allowed to carry your own food on a train.