Initial upload
Initial upload
This commit is contained in:
29
_module/nss/startsocketconv.nss
Normal file
29
_module/nss/startsocketconv.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//Put this script OnEnter
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
if (d100()<=30)
|
||||
{
|
||||
ActionStartConversation(oPC, "socketitemconv");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
DelayCommand(10.0, RewardPartyXP(3000, oPC, FALSE));
|
||||
|
||||
DelayCommand(10.0, RewardPartyGP(50000, oPC, FALSE));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user