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

32 lines
2.0 KiB
Plaintext

void main()
{
object oPlayer=GetPCSpeaker();
object oSpawn=GetObjectByTag("Default_Start"); //set default respawn point
string sDeity = GetDeity(oPlayer);
if (sDeity=="Bahamut") { oSpawn=GetObjectByTag("Bahamut_Start"); }
if (sDeity=="Boccob") { oSpawn=GetObjectByTag("Boccob_Start"); }
if (sDeity=="Corellon") { oSpawn=GetObjectByTag("Corellon_Start"); }
if (sDeity=="Ehlonna") { oSpawn=GetObjectByTag("Ehlonna_Start"); }
if (sDeity=="Erythnul") { oSpawn=GetObjectByTag("Erythnul_Start"); }
if (sDeity=="Fharlanghn") { oSpawn=GetObjectByTag("Fharlanghn_Start"); }
if (sDeity=="Garl Glittergold") { oSpawn=GetObjectByTag("Glittergold_Start"); }
if (sDeity=="Gruumsh") { oSpawn=GetObjectByTag("Gruumsh_Start"); }
if (sDeity=="Heironeous") { oSpawn=GetObjectByTag("Heironeous_Start"); }
if (sDeity=="Hextor") { oSpawn=GetObjectByTag("Hextor_Start"); }
if (sDeity=="Kord") { oSpawn=GetObjectByTag("Kord_Start"); }
if (sDeity=="Lloth") { oSpawn=GetObjectByTag("Lloth_Start"); }
if (sDeity=="Moradin") { oSpawn=GetObjectByTag("Moradin_Start"); }
if (sDeity=="Nerull") { oSpawn=GetObjectByTag("Nerull_Start"); }
if (sDeity=="Obad-Hai") { oSpawn=GetObjectByTag("ObadHai_Start"); }
if (sDeity=="Olidammara") { oSpawn=GetObjectByTag("Olidammara_Start"); }
if (sDeity=="Pelor") { oSpawn=GetObjectByTag("Pelor_Start"); }
if (sDeity=="St. Cuthbert") { oSpawn=GetObjectByTag("Cuthbert_Start"); }
if (sDeity=="Tiamat") { oSpawn=GetObjectByTag("Tiamat_Start"); }
if (sDeity=="Vecna") { oSpawn=GetObjectByTag("Vecna_Start"); }
if (sDeity=="Wee Jas") { oSpawn=GetObjectByTag("WeeJas_Start"); }
if (sDeity=="Yondalla") { oSpawn=GetObjectByTag("Yondalla_Start"); }
AssignCommand(oPlayer, DelayCommand(1.0, JumpToObject(oSpawn)));
}