Aschbourne_PRC8/_module/nss/tb_restcampfire.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

12 lines
327 B
Plaintext

void main()
{
object oPC=GetLastUsedBy();
SetLocalInt(oPC, "PlayerWantsToRest", TRUE);
if(GetLocalInt(oPC,"restcycle")==0)
{
SetLocalInt(oPC,"restcycle",1);
}
AssignCommand(oPC,ActionPlayAnimation(ANIMATION_LOOPING_SIT_CROSS,1.0,240.0));
DelayCommand(2.5,AssignCommand(oPC,ActionRest()));
}