generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
23
_module/nss/heavy_shop.nss
Normal file
23
_module/nss/heavy_shop.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.6
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this OnUsed
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
if (GetItemPossessedBy(oPC, "nordock_token")!=OBJECT_INVALID)
|
||||
oTarget = GetObjectByTag("n_heavy_shop");
|
||||
else
|
||||
oTarget = GetObjectByTag("heavy_shop");
|
||||
PlaySound("it_bladelarge");
|
||||
OpenStore(oTarget, oPC, 0, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user