Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
32
_module/nss/jw_coffin_onopen.nss
Normal file
32
_module/nss/jw_coffin_onopen.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
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.");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user