Aschbourne_PRC8/_module/nss/_rest_wild.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

22 lines
630 B
Plaintext

// this script should be placed in the OnEnter event of any exterior
// areas (rural or forest) you want the pc to be able to sleep in.
//
// it will cause the pc to see a specific message when he
// tries to sleep.
#include "vamp_friends"
#include "vamp_sunsystem"
void main()
{
if(GetIsPC(GetEnteringObject()))
{
SetLocalInt(GetEnteringObject(),"restcycle",0);
}
object oPC = GetEnteringObject();
vamp_friends(oPC);
if(GetSubRace(oPC)=="Vampire" && GetIsPC(oPC))
{
//Init sunsystem for entering vampire. If area is underground you dont need this.
vamp_sunsystem(oPC);
}
}