Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2025-04-03 11:24:16 -04:00
parent 3ba3cf1b81
commit 5e558169a0
6086 changed files with 1502996 additions and 1 deletions

29
_module/nss/take_div.nss Normal file
View File

@@ -0,0 +1,29 @@
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this on action taken in the conversation editor
void main()
{
object oMod = GetModule();
object oPC = GetPCSpeaker();
int oMode = GetLocalInt(oMod, "gamemode");
object oItem, oItem2;
oItem = GetItemPossessedBy(oPC, "divine_note");
oItem2 = GetItemPossessedBy(oPC, "div_key");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
if (GetIsObjectValid(oItem2))
DestroyObject(oItem2);
if (oMode!=1)
CreateItemOnObject("divine_talisman", oPC);
else
CreateItemOnObject("dark_talisman", oPC);
}