Initial upload
Initial upload
This commit is contained in:
22
_module/nss/welltalks2pc.nss
Normal file
22
_module/nss/welltalks2pc.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
string sDeny;
|
||||
|
||||
//Put this script OnUsed
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetGold(oPC) < 100000)
|
||||
{
|
||||
sDeny="You need to have a lot of gold on you to use the well!";
|
||||
|
||||
SendMessageToPC(oPC, sDeny);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
ActionStartConversation(oPC, "wishingwellpoptk");
|
||||
|
||||
}
|
Reference in New Issue
Block a user