Alangara_PRC8/_module/nss/zep_use_chair.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

21 lines
552 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName: X0_O2_CHAIR_SIT
//:://////////////////////////////////////////////
/*
Sit on a placeable chair or on an invisible object
placed on a tileset chair.
*/
//:://////////////////////////////////////////////
//:: Created By: Naomi Novik
//:: Created On: /2002
//:://////////////////////////////////////////////
void main()
{
object oChair = OBJECT_SELF;
if (!GetIsObjectValid(GetSittingCreature(OBJECT_SELF))) {
AssignCommand(GetLastUsedBy(), ActionSit(oChair));
}
}