Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
26
_module/nss/fr_cave_hidden.nss
Normal file
26
_module/nss/fr_cave_hidden.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "nw_i0_tool"
|
||||
|
||||
int StartingConditional();
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
object oPCX= OBJECT_SELF;
|
||||
|
||||
int iDC = 27;
|
||||
int iBonus = GetSkillRank(SKILL_SEARCH,oPC);
|
||||
|
||||
|
||||
if ((d20() + iBonus) >= iDC)
|
||||
{
|
||||
AssignCommand(GetObjectByTag("fr_invisible"), ActionStartConversation(oPC));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user