Module commit

Module commit.
This commit is contained in:
Jaysyn904
2024-06-14 10:48:20 -04:00
parent 079830314c
commit f5ffe7d0b9
11110 changed files with 4747686 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
void main()
{
object oPC = GetLastOpenedBy();
object oSelf = OBJECT_SELF;
int iUseCloth = GetLocalInt(oPC,"iUseThisCloth");
if (iUseCloth != 0) CreateItemOnObject("flagswitch045",oSelf,1);
if (iUseCloth != 1) CreateItemOnObject("flagswitch046",oSelf,1);
if (iUseCloth != 2) CreateItemOnObject("flagswitch047",oSelf,1);
if (GetItemPossessedBy(oPC,"NoDrop_SkillLogBook")==OBJECT_INVALID)
{
CreateItemOnObject("skilllogbook",oPC,1);
}
}