PC Merchants, Lore, and Appraise
#2
Here's the script. I'll let you all woprk on your scripting knowledge and figure out the answers yourselves... :D

Code:
//::///////////////////////////////////////////////
//:: Merchants of Borgo 1.4
//:: mob_sc_has_lore
//:: Copyright (c) 2007 CarfaxAbbey.net
//:://////////////////////////////////////////////
/*
    Starting Conditional that determines whether
    or not the owner of the store has enough
    Lore skill to modify identification.
*/
//:://////////////////////////////////////////////
//:: Revised By: Diavlen ([email protected])
//:: Created On: October 8, 2007
//:: Revised On: December 29, 2007
//:://////////////////////////////////////////////
#include "mob_lib"

int StartingConditional()
{
  object oPC = GetPCSpeaker();
  if (REQUIRE_LORE_4_ID)   {
    int nLore = GetSkillRank(SKILL_LORE, oPC, TRUE);
    if (nLore < MIN_LORE) return FALSE;
    else return TRUE;
  }
  else return TRUE;
}
Reply


Messages In This Thread
PC Merchants, Lore, and Appraise - by Miscr3ant - 12-02-2014, 10:24 PM
RE: PC Merchants, Lore, and Appraise - by Balanor - 12-02-2014, 10:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)