Files
dsrc/sku.0/sys.server/compiled/game/script/event/ewok_festival/shaman.script
T

32 lines
735 B
Plaintext

/***** INCLUDES ********************************************************/
include library.utils;
/***** CONSTANTS *******************************************************/
trigger OnAttach()
{
messageTo(self, "handleChiefInitialize", null, 9, false);
return SCRIPT_CONTINUE;
}
messageHandler handleChiefInitialize()
{
location here = getLocation(self);
if ( !here.area.equals("naboo") )
{
setName(self, "an Ewok shaman");
}
if ( hasCondition(self, CONDITION_INTERESTING) )
{
clearCondition(self, CONDITION_INTERESTING);
}
if ( hasCondition(self, CONDITION_SPACE_INTERESTING) )
{
clearCondition(self, CONDITION_SPACE_INTERESTING);
}
setCondition(self, CONDITION_HOLIDAY_INTERESTING);
return SCRIPT_CONTINUE;
}