1) When a room is set solitary, do NPCs count as occupants? Ie. can I have a PC and an NPC in a solitary room?
2) Is it possible to change the maximum speed of a mount so it never goes faster than walk/trot? Maybe by putting an intercept program triggered by 'speed' on the mount?
3) I'm not sure how to explain this and it's really a couple questions, so let me put some script down here to help clarify.
Code: Select all
{30}The small green ugli fruit is covered all around with tiny, spidery
runes that have been carved in its surface.{0f}
>intercept_prog throw~
if wear_loc($0)!=-1
if charinroom($n)==$1
mpechoaround $n When @N throws his ugli fruit at $1 it shatters and releases a minty cloud of smoke.
mpechoat $n When you throw your ugli fruit at $1 it shatters and releases a minty cloud of smoke.
mpaffect 'trollish vigor' $1
mpjunk $o $n
else
mpechoat $n You don't see anything like that here.
endif
else
mpechoat $n You should hold the ugli fruit before trying to throw it.
endif
Also, would mpaffect properly cast trollish vigor on the target? If so, would they see anything at all, or should I mpechoat them to give them an effect to go by?
4) This may sound silly, but if you'll bear with me, thanks! The string and string prefix lesson use, as an example, intercepting a cast and checking the proceding string for the spell and the target. Is there something here to stop the player from just typing 'cast friends witch', without actually being able to cast the spell, to fool the script? I only ask because I've basically copied the idea for one of my tests
5) Finally, last but not least! This is less of a question and more of a request. I need a couple of object vnums, if you please. Specifically..
'a dretch tooth' - This is a small blunt tooth coming from a dretch, a minor demon.
'a bebilith fang' - This dark brown fang comes from a bebilith, a demon. It is covered with a slimy greenish substance.
'a marilith scale' - This is a small glistening scale covered with a greenish slimy substance. It comes from a marilith, a major demon.
'a lump of chocolate' - Hmmm a large lump of chocolate. You could obviously eat it, or you could crush it into chocolate chips, with a rolling pin.
I'm planning on using the various demon bits in a quest to allow the player to learn the banishment spell, and the lump of chocolate vnum will be the last piece in my bakery quest line.
Anyways, I think this handles all of my questions pretty well. Things are coming together now, so this may be my last question barrage before my final draft is done. Let's hope! Thanks in advance for your time