Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

14
_module/nss/dm_throne.nss Normal file
View File

@@ -0,0 +1,14 @@
//Let's DM's and creatures possesed by a DM to sit in a DM's chair.
void main()
{
object oDM = GetLastUsedBy();
object oChair = OBJECT_SELF;
if (GetIsDM(oDM) || GetIsDM(GetMaster(oDM)))
{
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature(oChair)))
AssignCommand(oDM, ActionSit(oChair));
}
else
SpeakString("Only DM's are allowed to sit here.");
}