Thanks zarf, that makes sense. I was erroneously trying "this"/"that", not "this/that". Examples really help clarify things for me. As for the pocket issue, here's what I have:
Code:
[no naked]Instead of taking off clothes, say "...[no line break][one of]so you now want to make like a nudist and walk around campus naked? Gee, that sounds like a swell idea! I have a better one: how about we [italic type]not[roman type] get arrested this time?[or]haven't we already been through this?[or][line break][stopping]"
[pockets]
Everything is either PS [abr. pocket-sized] or not-PS. A thing is usually not-PS.
A pocket is a kind of container. The carrying capacity of a pocket is usually 2.
Instead of inserting a not-PS object into a pocket:
say "Why are you trying to shove that into your pocket!? Obviously it does not fit. Sometimes I wonder if you're from another planet." [note: in future, might need add a "some condition," for "put some dirt in pocket," etc. Might need to put in a "liquid condition," if player tries to pour a liquid in the pocket."]
Understand "pockets" as every pocket. [understand "check pockets" command? How do you get it to stop asking "which pocket?" <---"which one" under activities section (I think)]
[clothes] clothes are a backdrop. clothes are wearable. The player wears clothes.
pants are a part of clothes. A pocket called the left pocket is part of pants. A pocket called the right pocket is a part of pants.
A jacket is a kind of thing. A jacket is always wearable. [A pocket called the jacket pocket is part of a jacket. [note: should say "every jacket," if other jackets come into play. if we're only dealing with one jacket, this should not be a problem]]The player wears a jacket called your jacket. A pocket called the jacket pocket is part of your jacket.
I'm familiar with the holdall. To begin with, it won't let me make the pocket a holdall (I believe) because it only lets specific objects be a holdall (understandably). So I cannot say something like "a pocket is the player's holdall," because that would make very pocket object the player's holdall. When I try to make a specific pocket, like the left pocket, the player's holdall, it gives me this: "You wrote 'The left pocket is the player's holdall', but that seems to contradict 'A pocket called the left pocket is part of pants', as a player's holdall and a pocket are incompatible. (If a player's holdall were a kind of a pocket or vice versa there'd be no problem, but they aren't.)" I think it doesn't like component parts to be the player's holdall.
Secondly, the holdall issue does not fix either the problem of inventory, or taking items out. The character wears a backpack as his holdall. If I put a camera in the backpack and say "take inventory" it will reply: you are carrying nothing. This is easy to fix, I just need to say something along the lines of, "[list of backpack contents]" <--not exactly that, I know, but I'm sure I can eventually figure that one out if I keep messing around with it. But what I'm having more difficulty with is if I want to say "take out camera" and not "take camera out of backpack," how do I get it to search all containers the player is wearing
and all the component parts of all the items the player is wearing??? How should I supply the second-noun for the modified "remove it from"?