forked from Jaysyn/PRC8
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:
16
nwn/trunk/racescripts/bdd_cave_ent.nss
Normal file
16
nwn/trunk/racescripts/bdd_cave_ent.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
// Cave entrance
|
||||
|
||||
#include "inc_dynconv"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
int nRanks = GetSkillRank(SKILL_SPOT, oPC);
|
||||
if (nRanks > 5) // Can actually succeed
|
||||
{
|
||||
if (GetIsSkillSuccessful(oPC, SKILL_SPOT, 26)) // Have to spot the cave opening
|
||||
{
|
||||
AssignCommand(oPC, ClearAllActions(TRUE));
|
||||
StartDynamicConversation("bdd_cave_conv", oPC, DYNCONV_EXIT_NOT_ALLOWED, FALSE, TRUE, oPC);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user