33 lines
544 B
Plaintext
33 lines
544 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
if (!GetIsOpen(OBJECT_SELF))
|
||
|
{
|
||
|
ActionPlayAnimation (ANIMATION_PLACEABLE_OPEN);
|
||
|
|
||
|
//DoPlaceableObjectAction(OBJECT_SELF,ANIMATION_PLACEABLE_OPEN);
|
||
|
|
||
|
if (GetLocalInt(OBJECT_SELF,"vampin")==2)
|
||
|
|
||
|
{
|
||
|
PlaySound("sff_gasevil");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
if (GetLocalInt(OBJECT_SELF,"vampin")==2)
|
||
|
|
||
|
{
|
||
|
SpeakString("You see inside this coffin the calm form of a sleeping vampire. It seems quite impervious to harm.");
|
||
|
}
|
||
|
|
||
|
else
|
||
|
|
||
|
{
|
||
|
SpeakString("This coffin is quite empty.");
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|