Updated Release Archive
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
This commit is contained in:
15
nwn/trunk/newspellbook/bnd_bndvestige.nss
Normal file
15
nwn/trunk/newspellbook/bnd_bndvestige.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "bnd_inc_bndfunc"
|
||||
#include "inc_dynconv"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oBinder = OBJECT_SELF;
|
||||
// If we have room to bind another vestige
|
||||
if (GetMaxVestigeCount(oBinder) > GetBindCount(oBinder))
|
||||
{
|
||||
AssignCommand(oBinder, ClearAllActions(TRUE));
|
||||
StartDynamicConversation("bnd_bindingcnv", oBinder, DYNCONV_EXIT_ALLOWED_SHOW_CHOICE, FALSE, TRUE, oBinder);
|
||||
}
|
||||
else
|
||||
FloatingTextStringOnCreature("You have bound the maximum number of vestiges allowed", oBinder, FALSE);
|
||||
}
|
||||
Reference in New Issue
Block a user