A problem with pants

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: A problem with pants
Warrior
Member # 4987
Profile Homepage #0
Does anyone know if there is a way to make it so NPC's will react differently depending on what a person is wearing? For example, a person wearing pants could talk to people, a person without pants would be told to put on some pants. Any ideas?
Posts: 60 | Registered: Sunday, September 19 2004 07:00
Warrior
Member # 3082
Profile #1
Squirrel, this is possible, but I suggest you find a different use for it.
You would have to give the item a special class in the scenario script and then check for it with char_has_item_of_class_equip call. Check the item calls in the editor documentation appendix. However, this wouldn't work for items brought in from outside the scenario.
I reiterate my request that you find a different use for this. :rolleyes:
Posts: 54 | Registered: Saturday, June 7 2003 07:00
Shake Before Using
Member # 75
Profile #2
Amusingly enough, one of Drizzt's BoE scenarios actually did this.
Posts: 3234 | Registered: Thursday, October 4 2001 07:00
Babelicious
Member # 3149
Profile Homepage #3
IMAGE(http://djur.desperance.net/img/jerkcity/pants-crying.png)

Well, it's common RPG fodder. I know in NWN OC, people freak out if you wander around naked. "You must have the PLAGUE!!! HUAUGUAUGUAUGUAUBUAUHALBHGL"

It's cute.

--------------------
I've got a pyg in a poke.
Posts: 999 | Registered: Friday, June 27 2003 07:00
Lifecrafter
Member # 4682
Profile #4
quote:
I reiterate my request that you find a different use for this.
To iterate is to repeat, to reiterate is to repeat again. Please use this word correctly.

--------------------
Do not underestimate the power of the mechanical pencil.

Join the Dark side. We have cookies.

Played in:
Fiddler on the Roof
Bye Bye Birdie

"Hey, Patrick, feel this random pipe. It's squishy"-Nils
Posts: 834 | Registered: Thursday, July 8 2004 07:00
...b10010b...
Member # 869
Profile Homepage #5
quote:

reiterate verb say something again or a number of times, typically for emphasis or clarity
Do not mess with the Oxford English Dictionary, Nic.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Guardian
Member # 2238
Profile Homepage #6
We need a laughing graemlin on here.

Morrowind tends to be quite hilarious (well not really) when you run around naked.

--------------------
DEMON PLAY,
DEMON OUT!
Posts: 1582 | Registered: Wednesday, November 13 2002 08:00
BANNED
Member # 4
Profile Homepage #7
Just tell the party that they must wear pants from your scenario in your scenario. If you're feeling particularly generous, allow them to store their "artifact" pants somewhere.

--------------------
*
Posts: 6936 | Registered: Tuesday, September 18 2001 07:00
Guardian
Member # 2238
Profile Homepage #8
For the iterate/reiterate problem, dictionary.com proves them to be total synonyms.

The former (iterate), appears the older version.

Therefore reiterate is the prefered choice.

--------------------
DEMON PLAY,
DEMON OUT!
Posts: 1582 | Registered: Wednesday, November 13 2002 08:00
Shock Trooper
Member # 3368
Profile #9
Sometimes I have problems with pants. :(

--------------------
"Like most of life's problems, this one can be solved with bending"
Posts: 287 | Registered: Tuesday, August 19 2003 07:00
Shaper
Member # 3442
Profile Homepage #10
Jeez, you lot read dictionaries?

Anyway, by setting pants to have a item_class of, say 3, you can script to check whether or not they have them equiped. You'lll have to check each person independantly though...

[ Tuesday, September 21, 2004 23:44: Message edited by: SupaNik ]

--------------------
And when you want to Live
How do you start?
Where do you go?
Who do you need to know?

Posts: 2864 | Registered: Monday, September 8 2003 07:00
Lifecrafter
Member # 4682
Profile #11
quote:
Originally written by Thuryl:

quote:

reiterate verb say something again or a number of times, typically for emphasis or clarity
Do not mess with the Oxford English Dictionary, Nic.

I just said it the way my sister taught me. I haven't looked it up in a dictionary.

--------------------
Do not underestimate the power of the mechanical pencil.

Join the Dark side. We have cookies.

Played in:
Fiddler on the Roof
Bye Bye Birdie

"Hey, Patrick, feel this random pipe. It's squishy"-Nils
Posts: 834 | Registered: Thursday, July 8 2004 07:00
Off With Their Heads
Member # 4045
Profile Homepage #12
Well, yeah, but the point is that you nitpicked and were wrong.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Apprentice
Member # 4774
Profile #13
Actually, iteration and reiteration are related, but different words. Iterations are used in statistics and have a specific technical meaning. It does not have to be a repeating of something, as the first iteration of a series is not a repeating of a procedure. The iterations which follow are repetitions of the same process, but give different results. It is also used as a noun. William Gibson uses the word and concept in The Difference Engine as a fundamental part of the story structure.

Reiteration is strictly a verb and does see common usage outside of the statistical world, where it does mean to repeat.

And yes, I am being pedantic.

If you decide to go for the no pants thing, remember that a cloak would cover things well, so you may need to build that in. While the idea may already occur in Morrowwind, do not let that stop you if you have a good way of linking it to your scenario.
Posts: 6 | Registered: Sunday, July 25 2004 07:00
Warrior
Member # 1016
Profile #14
if item_type_in_slot(char, 11) = -1 then
print_str("Cover thine shame, heathen!");

Hopefully this will do what you want.
Posts: 141 | Registered: Saturday, April 20 2002 07:00
Lifecrafter
Member # 4682
Profile #15
I here give my apologies for changing the subject in this thread. :o

--------------------
Do not underestimate the power of the mechanical pencil.

Join the Dark side. We have cookies.

Played in:
Fiddler on the Roof
Bye Bye Birdie

"Hey, Patrick, feel this random pipe. It's squishy"-Nils
Posts: 834 | Registered: Thursday, July 8 2004 07:00
Agent
Member # 4506
Profile Homepage #16
quote:
Originally written by Nicothodes:

I here give my apologies for changing the subject in this thread. :o
Nicothodes, don't apologise. They're all like that anyway. It's to do with those hideous deformities in their skulls, called brains!

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Apprentice
Member # 5046
Profile #17
wait. does the mage have to wear pants too? even if the mage is wearing a robe?
Posts: 8 | Registered: Sunday, October 3 2004 07:00
Off With Their Heads
Member # 4045
Profile Homepage #18
It is possible to do so, since robes go in the chest armor slot and pants go in the, er, pants slot.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Apprentice
Member # 5046
Profile #19
i meant in nothing's scenario.
Posts: 8 | Registered: Sunday, October 3 2004 07:00
Warrior
Member # 4987
Profile Homepage #20
Hadn't thought about it, but a good idea, I might implement it if I don't get too sidetracked with my Vahnatai scenario to complete my Empirical one.
Posts: 60 | Registered: Sunday, September 19 2004 07:00