Initial upload
Initial upload
This commit is contained in:
12
_module/nss/evilkey.nss
Normal file
12
_module/nss/evilkey.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
int alg = GetAlignmentGoodEvil(oPC);
|
||||
if ((alg == ALIGNMENT_EVIL) && (!HasItem(oPC, "ThievesKey"))){
|
||||
CreateItemOnObject("thieveskey", oPC, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user