mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-01 17:12:57 -04:00
21 lines
703 B
Plaintext
21 lines
703 B
Plaintext
include library.ai_lib;
|
|
|
|
trigger OnAttach()
|
|
{
|
|
|
|
ai_lib.setDefaultCalmBehavior( self, ai_lib.BEHAVIOR_SENTINEL );
|
|
obj_id pants = createObject ("object/tangible/wearables/pants/pants_s01.iff", self, "");
|
|
obj_id shoes = createObject ("object/tangible/wearables/shoes/shoes_s03.iff", self, "");
|
|
obj_id shirt = createObject ("object/tangible/wearables/shirt/shirt_s05.iff", self, "");
|
|
//obj_id apron = createObject ("object/tangible/wearables/apron/apron_porcellus.iff", self, "");
|
|
|
|
if (hasScript (self, "theme_park.tatooine.max_quest.porcellus"))
|
|
{
|
|
detachScript (self, "theme_park.tatooine.max_quest.porcellus_convo");
|
|
}
|
|
|
|
attachScript (self, "conversation.porcellus");
|
|
|
|
return SCRIPT_CONTINUE;
|
|
}
|