//:://///////////////////////////////////////////// //:: FileName fr_if_dwarf //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 26.12.2003 22:31:19 //::////////////////////////////////////////////// #include "prc_inc_racial" int StartingConditional() { //accept a dwarf if(MyPRCGetRacialType(GetPCSpeaker()) == RACIAL_TYPE_DWARF) return TRUE; //test lore for others else { //int iDice = d20(1); int iLore = GetSkillRank(SKILL_LORE, GetPCSpeaker()); if(iLore >= 15) { return TRUE; } else { SpeakString("[You do not understand the dwarven language well enough to read the content of this book.]"); return FALSE; } } }