Aschbourne_PRC8/_module/_open_spinwhl.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

21 lines
493 B
Plaintext

void main()
{
object oPC = GetLastOpenedBy();
object oSelf = OBJECT_SELF;
if (GetItemPossessedBy(oPC,"NoDrop_SkillLogBook")==OBJECT_INVALID)
{
CreateItemOnObject("skilllogbook",oPC,1);
}
if (GetLocalInt(oPC,"iSpinMode")==0)
{
CreateItemOnObject("flagswitch056",OBJECT_SELF,1); //Add token to switch to automatic spin mode
}
else
{
CreateItemOnObject("flagswitch057",OBJECT_SELF,1); //add token to switch to manual spin mode
}
}