Hello! So, I’ve finally got around to starting to work on this IF idea that’s been in my head for some years. I use I6, because I don’t really like the wordy I7 syntax, the games become slow, and anyway I’m the programmer kind of person who doesn’t mind dabbling I6. Well, more on that elsewhere.
Is this a good place to ask my maybe silly questions on I6? For example:
How do you handle body parts which are containers? Like, you want to hide a diamond in your mouth, put dough in your ear like in KQ3, stuff a pea up your nose?
I’m aware of two ways to do body parts:
-
Give them to the player as items. But then they show up in the inventory. “You are carrying: A mouth, a nose, an ear…” I could add invent[; rtrue;] to them, but then I see ugly blank lines in the inventory list!
Also, how do I achieve: “A pea (up your nose), some dough (in your ear), a diamond (hidden in your mouth)”? I assume writelist.h is my friend, right? -
The other solution I’ve seen is to put them in the player’s scope. Then they don’t show up in the inventory, but if I put things into them, these disappear from the inventory, too! And it’s hard to get them back. I’d like to just “give diamond to troll”, automatically “(taking the diamond out of your mouth first)”.
So, am I down the completely wrong road? Would it be easier to give the diamond an “in_mouth” flag? Or give all jewelry a “has inmouthputtable”?
Or is there some magic bodyparts.h somewhere which I could just use?