Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
22 lines
630 B
Plaintext
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);
|
|
}
|
|
}
|