12 lines
293 B
Plaintext
12 lines
293 B
Plaintext
|
#include "header_sounds"
|
||
|
void main()
|
||
|
{
|
||
|
object oPC=GetEnteringObject();
|
||
|
if (GetLocalInt(oPC,"nIsVampire")==TRUE)
|
||
|
{ // vampire
|
||
|
SetLocalInt(oPC,"nSunSafe",TRUE);
|
||
|
SendMessageToPC(oPC,"You feel safe from the sun here.");
|
||
|
AssignCommand(oPC,fnSoundAlert());
|
||
|
} // vampire
|
||
|
}
|