Aantioch_Infernum/_module/nss/ohswhtkeygen.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

15 lines
350 B
Plaintext

void main()
{
if (GetTag(GetItemActivated()) == "ohswhtkeygen")
{
object oTarget = GetItemActivatedTarget();
if (!GetIsObjectValid(oTarget))
return;
// Apply effects
AssignCommand(oTarget, ClearAllActions());
CreateItemOnObject("ohstowerkey", oTarget);
CreateItemOnObject("whiteapprentice", oTarget);
}
}