“Those things I allowed you when there was a shortage of food, the crops were meager, and it was hard to get by on alms, I prohibit from today onward.
You shouldn’t eat what’s been stored indoors in a monastery, what’s been cooked indoors in a monastery, what’s been cooked by yourselves, or what’s been received after picking it up. If you do, you commit an offense of wrong conduct.
If you have finished your meal and refused an invitation to eat more, you shouldn’t eat non-leftovers that have been brought out, that have been received before the meal, or that have come from the forest or a lotus pond. If you do, you should be dealt with according to the rule.” That is, bhikkhu-pācittiya 35.
At that time people from the country loaded much salt, oil, rice, and fresh food onto carts, brought them to outside the monastery gateway, and waited for their turn to cook a meal. Just then a storm was approaching. Those people went to Venerable Ānanda and told him what was happening, adding, “What should we do now?” Ānanda told the Buddha, who said, “Well then, Ānanda, the Sangha should designate a building at the edge of the monastery as a food-storage area and then store the food there—whether a dwelling, a stilt house, or a cave. “Stilt house” combines aḍḍhayoga, pāsāda, and hammiya in one word. See comment at Kd 1:77.1.13 for an explanation.And it should be done like this. A competent and capable monk should inform the Sangha:
‘Please, Venerables, I ask the Sangha to listen. If it seems appropriate to the Sangha, the Sangha should designate such-and-such a dwelling as a food-storage area. This is the motion.
Please, Venerables, I ask the Sangha to listen. The Sangha designates such-and-such a dwelling as a food-storage area. Any monk who approves of designating such-and-such a dwelling as a food-storage area should remain silent. Any monk who doesn’t approve should speak up.
The Sangha has designated such-and-such a dwelling as a food-storage area. The Sangha approves and is therefore silent. I will remember it thus.’”
Soon afterwards people used the designated food-storage area for various purposes: to cook rice porridge and rice, to prepare curries, to chop meat, and to split firewood. Getting up early in the morning, the Buddha heard loud noises, like the cawing of crows. He asked Venerable Ānanda what was going on, and Ānanda told him. Soon afterwards the Buddha gave a teaching and addressed the monks:
“You should not use a designated food-storage area. If you do, you commit an offense of wrong conduct. I allow three places as food-storage areas: a building made according to a proclamation, a place where cows rest, and a place given for the purpose by a householder.”
Soon afterwards Venerable Yasoja was sick. People brought him tonics and the monks stored them outside. Vermin ate them and thieves stole them.
“I allow you to use a designated food-storage area. I allow four places as food-storage areas: a building made according to a proclamation, a cow stall, a building given for the purpose by a householder, and a building designated by the Sangha.”
So
the Sangha should designate a building at the edge of the monastery as a food-storage area and then store the food there—whether a dwelling, a stilt house, or a cave.
Does this mean that it is allowable to store food inside the monastery " (at the edge of the monastery)?
But still not allowable to cook said food inside the monastery nor cook food yourself?