Finished PRC8 integration
Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
This commit is contained in:
@@ -5,27 +5,28 @@
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 26.12.2003 22:31:19
|
||||
//:://////////////////////////////////////////////
|
||||
#include "prc_inc_racial"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
//accept a dwarf
|
||||
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_DWARF)
|
||||
if(MyPRCGetRacialType(GetPCSpeaker()) == RACIAL_TYPE_DWARF)
|
||||
return TRUE;
|
||||
|
||||
//test lore for others
|
||||
else{
|
||||
else
|
||||
{
|
||||
//int iDice = d20(1);
|
||||
int iLore = GetSkillRank(SKILL_LORE, GetPCSpeaker());
|
||||
if(iLore >= 15)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
SpeakString("[You do not understand the dwarven language well enough to read complicated content the book.]");
|
||||
return FALSE;
|
||||
}
|
||||
{
|
||||
SpeakString("[You do not understand the dwarven language well enough to read the content of this book.]");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user