20 lines
340 B
Plaintext
20 lines
340 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.2
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
//Put this script OnUsed
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastUsedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetGold(oPC) >= 1000)
|
|
{
|
|
ActionOpenDoor(OBJECT_SELF);
|
|
|
|
} }
|