Adds and Changes

Added missing crafting maps, removed unnecessary maps, changed a few miscellaneous things.
This commit is contained in:
2024-09-14 13:52:39 -04:00
parent 339f0f8b96
commit 7f75e229f9
2041 changed files with 184144 additions and 506679 deletions

View File

@@ -1,5 +1,4 @@
// onenter of trigger over the start location
#include "prc_inc_racial"
void main()
{
@@ -48,55 +47,42 @@ void main()
// If you prefer to not have Racial starting places and want only a single "Default" start then don't make any waypoint except the
// one with tag "Default_Start"
{
int iRace = MyPRCGetRacialType(oPC);
int iSubrace = GetRacialType(oPC);
if (iRace == RACIAL_TYPE_DWARF)
if (GetRacialType(oPC)==RACIAL_TYPE_DWARF)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Dwarf_Start"),FALSE)));
}
if ((iRace == RACIAL_TYPE_ELF) && (iSubrace != RACIAL_TYPE_DROW_MALE) && (iSubrace != RACIAL_TYPE_DROW_FEMALE))
if ((GetRacialType(oPC)==RACIAL_TYPE_ELF)&& ((GetSubRace(oPC)!="Drow")||(GetSubRace(oPC)!="drow")))
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Elf_Start"),FALSE)));
}
if ((iRace == RACIAL_TYPE_ELF) && (iSubrace == RACIAL_TYPE_DROW_MALE) || (iSubrace == RACIAL_TYPE_DROW_FEMALE))
if ((GetRacialType(oPC)==RACIAL_TYPE_ELF)&& ((GetSubRace(oPC)=="Drow")||(GetSubRace(oPC)=="drow")))
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Drow_Start"),FALSE)));
}
if (iRace == RACIAL_TYPE_GNOME)
if (GetRacialType(oPC)==RACIAL_TYPE_GNOME)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Gnome_Start"),FALSE)));
}
if ((iRace == RACIAL_TYPE_ELF) && (iSubrace != RACIAL_TYPE_HALFDROW))
if (GetRacialType(oPC)==RACIAL_TYPE_HALFELF)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halfelf_Start"),FALSE)));
}
if (iSubrace == RACIAL_TYPE_HALFDROW && GetAlignmentGoodEvil(oPC) != ALIGNMENT_EVIL)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halfelf_Start"),FALSE)));
}
else if (iSubrace == RACIAL_TYPE_HALFDROW && GetAlignmentGoodEvil(oPC) == ALIGNMENT_EVIL)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Drow_Start"),FALSE)));
}
if (iRace == RACIAL_TYPE_HALFLING)
if (GetRacialType(oPC)==RACIAL_TYPE_HALFLING)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halfling_Start"),FALSE)));
}
if (iRace == RACIAL_TYPE_HALFORC)
if (GetRacialType(oPC)==RACIAL_TYPE_HALFORC)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halforc_Start"),FALSE)));
}
if (iRace == RACIAL_TYPE_HUMAN)
if (GetRacialType(oPC)==RACIAL_TYPE_HUMAN)
{
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Human_Start"),FALSE)));