I have some question though? How does [GLAND] work if left on its own? Here it is only described when working in conjunction with [CONTAINER].
Good question, a [GLAND] BP without [CONTAINER] either does nothing or behaves as a infinite reservior for the purposes of interactions. Up to Toady.
With multiple stomach containers, you write that the destination of the swallowed item can be ”chosen”. Is this something done by the player/creature AI, or something too decided in the raws?
Chosen by the player/creature AI, the logic being that if a creature has multiple stomachs, it will most likely have the muscles needed to direct swallowed things to wherever they want, in some way.
AI will probably pick randomly, unless its swallowing a living creature and wants to keep it alive for whatever reason, then it'll pick randomly between [VENTILATED] [CONTAINER]s.
I also assume internal [CONTAINER] organs are accessed through putting [PATHWAY] tunnel from an external organ (such as the mouth). Creatures having one of these should be aware of it, and putting things there as needed. Similarly, the organ needed for consuming food should be recognized as not simply the mouth (with the old [MOUTH] token), but any external organ with a [PATHWAY] to a [STOMACH] organ. This both makes it easier to have multiple mouths on a creature (marginally, they need one token less), but also makes it possible for creatures to have a ”mouth” being used as both a feeding organ when hungry, and the opening chute to an internal container, such as a hamster’s cheeks.
Accessing an internal container through an external organ probably needs the external organ to have [APERTURE], [MOUTH] just makes it so that things have to be (e)aten to put things into the internal container, whereas in the case of an internal container connected to a BP without [MOUTH], things can be (p)ut into them and retrieved at will. To retrieve anything from a stomach via mouth, the creature will have to throw it up.(might have to give creatures the ability to induce vomiting at will, somehow) A non-stomach container can always have stuff retrieved from it, even if it only has a connection to a mouth.
In the case of a pathway to a NON-[APERTURE] external BP, stuff can't be put into to the container via that BP, but the pathway is valid for the purposes of interactions drawing materials from a gland.
For BP's without [MOUTH], they can not be used to put things into a stomach but may be used to retrieve them. Stuff can be moved from a [CONTAINER] into a stomach via pathway however, meaning that hampster cheeks will work as intended.
Also another thing i forgot to clarify: the [STOMACH] to [MOUTH] connection is implied by [STOMACH], I.E. All stomachs will automatically connect to any mouths without having to connect them manually via [PATHWAY], although there is potential merit in making the connection manual, as it would allow multiple separate digestive systems within 1 creature or inticrately complex digestive systems.
I think i also made a small mistake in regards to internal vs external container handling: I did not account for external but not directly accessible spaces, such as insect abdomens.
Im not sure how to resolve this.