Aschbourne_PRC8/_module/nss/_open_spinwhl.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -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
}
}