UW2_PRC8/_module/nss/evilkey.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

13 lines
218 B
Plaintext

#include "nw_i0_tool"
void main()
{
object oPC = GetLastUsedBy();
int alg = GetAlignmentGoodEvil(oPC);
if ((alg == ALIGNMENT_EVIL) && (!HasItem(oPC, "ThievesKey"))){
CreateItemOnObject("thieveskey", oPC, 1);
}
}