Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
//:://////////////////////////////////////////////
//:: BODY TAILOR: mil tailor
//:: onconv bodytailor
//:://////////////////////////////////////////////
/*
this switches to the mil tailor conversation,
and creates the tailoring clothing/helmets
on the creature.
you MUST have the miltailor already installed.
(i recommend the helmet add-on, which is currently the latest)
*/
//:://////////////////////////////////////////////
//:: Created By: bloodsong
//:: based on the Mil_Tailor by Milambus Mandragon
//:://////////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
object oSelf = OBJECT_SELF;
object oClothing = GetItemPossessedBy(oSelf, "Clothing");
object oHelmet = GetItemPossessedBy(oSelf, "Tlr_Helmet");
if (oClothing == OBJECT_INVALID)
{
if(GetGender(oSelf) == GENDER_FEMALE)
{ oClothing = CreateItemOnObject("mil_clothing667"); }
else
{ oClothing = CreateItemOnObject("mil_clothing668"); }
}
if (oHelmet == OBJECT_INVALID)
{ oHelmet = CreateItemOnObject("mil_clothing669"); }
DelayCommand(0.6, ActionEquipItem(oClothing, INVENTORY_SLOT_CHEST));
ActionStartConversation(oPC, "mil_tailor", TRUE, FALSE);
}