Changed folder name.
Changed folder name.
This commit is contained in:
15
_module/nss/dmthrone.nss
Normal file
15
_module/nss/dmthrone.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
//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));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user