Shargast_PRC8/_module/Chapter 2/nss/gold_restrict.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

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);
} }