Rune_PRC8/_module/nss/zep_use_chair.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -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));
}
}