Initial Commit
Initial Commit [v1.01]
This commit is contained in:
13
_module/nss/di_at_ar.nss
Normal file
13
_module/nss/di_at_ar.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "di_dabloon");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
{
|
||||
DestroyObject(oItemToTake);
|
||||
CreateItemOnObject("di_blackpearl_ar", GetPCSpeaker(), 1);
|
||||
}
|
||||
ExecuteScript("di_dooropener", GetObjectByTag("di_doortoship"));
|
||||
DestroyObject(OBJECT_SELF, 5.0f);
|
||||
|
||||
}
|
Reference in New Issue
Block a user