Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
//::///////////////////////////////////////////////
//:: Tailoring - Dye Leather 2
//:: tlr_leather2.nss
//:: Copyright (c) 2003 Jake E. Fitch
//:://////////////////////////////////////////////
/*
Set the material to be died to Leather 1.
*/
//:://////////////////////////////////////////////
//:: Created By: Jake E. Fitch (Milambus Mandragon)
//:: Created On: March 8, 2004
//:://////////////////////////////////////////////
#include "tlr_include"
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetItemInSlot(INVENTORY_SLOT_CHEST, OBJECT_SELF);
int iMaterialToDye = ITEM_APPR_ARMOR_COLOR_LEATHER2;
SetLocalInt(OBJECT_SELF, "MaterialToDye", iMaterialToDye);
int iColor = GetItemAppearance(oItem, ITEM_APPR_TYPE_ARMOR_COLOR, iMaterialToDye);
SendMessageToPC(oPC, "Current Color: " + ClothColor(iColor));
}