mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-27 16:56:48 -04:00
34 lines
892 B
Plaintext
34 lines
892 B
Plaintext
include library.hue;
|
|
include library.colors;
|
|
include library.ai_lib;
|
|
include library.chat;
|
|
include library.factions;
|
|
include library.skill;
|
|
|
|
const string CONVO = "celebrity/mara_jade";
|
|
|
|
trigger OnInitialize()
|
|
{
|
|
string creatureName = getCreatureName(self);
|
|
if ( creatureName != null && creatureName.equals("itp_vader_mara_jade") )
|
|
{
|
|
attachScript (self, "conversation.itp_vader_mara_jade");
|
|
|
|
}
|
|
else
|
|
{
|
|
attachScript (self, "npc.converse.npc_converse_menu");
|
|
}
|
|
|
|
obj_id bsuit = createObject ("object/tangible/wearables/bodysuit/bodysuit_s15.iff", self, "");
|
|
obj_id boots = createObject ("object/tangible/wearables/boots/boots_s12.iff", self, "");
|
|
hue.setColor (bsuit, 1, colors.RED);
|
|
hue.setColor (bsuit, 2, 34);
|
|
hue.setColor (boots, 1, colors.BLACK);
|
|
setName (self, "Mara Jade");
|
|
ai_lib.setDefaultCalmBehavior( self, ai_lib.BEHAVIOR_SENTINEL );
|
|
return SCRIPT_CONTINUE;
|
|
|
|
|
|
}
|