Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
//Created by Guile 2/20/07
//This trigger is to detect a God Character and give them access to the planes.
//Put this script OnEnter of a tracks trigger
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "planekey")!= OBJECT_INVALID)
return;
if (GetAbilityScore(oPC, ABILITY_CHARISMA, TRUE)< 30)
return;
if (GetAbilityScore(oPC, ABILITY_WISDOM, TRUE)< 30)
return;
if (GetAbilityScore(oPC, ABILITY_INTELLIGENCE, TRUE)< 30)
return;
if (GetAbilityScore(oPC, ABILITY_CONSTITUTION, TRUE)< 30)
return;
CreateItemOnObject("godtoken", oPC);
DelayCommand(2.0, SendMessageToPC(oPC, "You have been granted favor to enter the planes, a secret place only for Gods."));
CreateItemOnObject("godrules2", oPC);
}