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,40 +0,0 @@
/*--------------------------------------------------------
Script Name: port_to_leader
----------------------------------------------------------
Created By: Genisys(Guile)
Created On: 2/09/09
----------------------------------------------------------
The PC Teleports to the Party Leader from the conversation.
This script goes in the Action Taken event for that line.
----------------------------------------------------------*/
void main()
{
object oPC = GetPCSpeaker();
object oLeader = GetFactionLeader(oPC);
if(GetIsInCombat(oPC))
{
FloatingTextStringOnCreature("You cannot recall while in combat!", oPC, TRUE);
return;
}
else if(GetLocalInt(GetArea(oPC), "PVP")>=1)
{
FloatingTextStringOnCreature("You cannot recall from a PVP area!", oPC, TRUE);
return;
}
if (oLeader != oPC) {
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), oPC);
AssignCommand(oPC, JumpToObject(oLeader));
} else {
SendMessageToPC(oPC, "You are the party leader!");
}
}