Module commit

Module commit.
This commit is contained in:
Jaysyn904
2024-06-14 10:48:20 -04:00
parent 079830314c
commit f5ffe7d0b9
11110 changed files with 4747686 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// 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);
}
}