Aschbourne_PRC8/_module/nss/_open_spinwhl.nss

21 lines
493 B
Plaintext
Raw Permalink Normal View History

2024-06-14 10:48:20 -04:00
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
}
}