21 lines
493 B
Plaintext
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
|
||
|
}
|
||
|
|
||
|
}
|