Initial upload
Initial upload.
This commit is contained in:
31
_module/nss/pri_slpover5.nss
Normal file
31
_module/nss/pri_slpover5.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Summons a bed for the sleepover
|
||||
//:: pri_slpover5
|
||||
//:: Copyright (c) 2002 Shepherd Software Inc.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Russell S. Ahlstrom
|
||||
//:: Created On: August 7, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "pri_slpover_inc"
|
||||
#include "pri_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
SummonBed(5, oPC);
|
||||
GetInnArea(oPC);
|
||||
|
||||
string sButler = GetLocalString(oPC, "RSA_Butler");
|
||||
string sButSlpOver = GetLocalString(oPC, "RSA_ButSlpOver");
|
||||
|
||||
object oButler = GetObjectByTag(sButler);
|
||||
AssignCommand(oButler, ClearAllActions());
|
||||
AssignCommand(oButler, ActionSpeakString(sButSlpOver));
|
||||
SetLocalInt(oButler, "RSA_HadSleepOver", 1);
|
||||
}
|
||||
Reference in New Issue
Block a user