PRC8_fork/nwn/trunk/scripts/prc_tp_mgmt_eval.nss
Jaysyn904 5914ed2ab5 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.
2023-08-22 10:00:21 -04:00

27 lines
808 B
Plaintext

//::///////////////////////////////////////////////
//:: Teleport management feat evaluation script
//:: prc_tp_mgmt_eval
//::///////////////////////////////////////////////
/** @file
This script checks for the presence of the
teleport management feat radial on OBJECT_SELF.
If it's missing, it is added via an itemproperty
on the hide.
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "prc_feat_const"
#include "prc_ipfeat_const"
#include "prc_alterations"
void main()
{
if(!GetHasFeat(FEAT_TELEPORT_MANAGEMENT_RADIAL, OBJECT_SELF))
{
object oSkin = GetPCSkin(OBJECT_SELF);
AddItemProperty(DURATION_TYPE_PERMANENT, PRCItemPropertyBonusFeat(IP_CONST_FEAT_TELEPORT_MANAGEMENT_RADIAL), oSkin);
}
}