PoA_PRC8/_module/nss/dmthrone.nss

16 lines
319 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
//Created by Genisys / Guile 5/22/08
//Basically this prevents any PCs from sitting in the chair.
void main()
{
object oPC = GetLastUsedBy();
if(!GetIsDM(oPC)) return;
object oChair = OBJECT_SELF;
if(!GetIsObjectValid(GetSittingCreature(oChair)))
{
AssignCommand(GetLastUsedBy(), ActionSit(oChair));
}
}