Aschbourne_PRC8/_module/_open_dyetub.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

19 lines
463 B
Plaintext

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);
}
}