Area Changes and other fixes

added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
This commit is contained in:
2024-08-30 10:38:04 -04:00
parent d39928374d
commit 8622e5ce08
17234 changed files with 0 additions and 4253346 deletions

View File

@@ -1,27 +0,0 @@
#include "vamp_subrace"
void main()
{
object oPC = GetLastRespawnButtonPresser();
PrintString("vamp_respawn: " + GetName(oPC));
if (GetCampaignInt("Vampire", "NewVamp",oPC)==1)
{
PrintString("vamp_respawn: " + GetName(oPC) + " is a NewVamp.");
object oWaypoint = GetWaypointByTag("vamp_crypt");
if (GetIsObjectValid(oWaypoint) == TRUE)
{
PrintString("vamp_respawn: " + GetName(oPC) + "| vamp_crypt is a valid location to be respawned.");
location lLoc = GetLocation(oWaypoint);
AssignCommand(oPC, ActionJumpToLocation(lLoc));
DelayCommand(3.0f, SetSubRace(oPC, "Vampire"));
DelayCommand(3.0f, ExportSingleCharacter(oPC));
DelayCommand(3.0f, init_subrace(oPC));
SetCampaignInt("Vampire","NewVamp",0,oPC);
}
}
else
{
//Add here what happens to "non new vampires"
PrintString("vamp_respawn: " + GetName(oPC) + " is not a new vampire.");
}
}