13 lines
218 B
Plaintext
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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|