Updated for updated PRC8 functions
Updated for updated PRC8 functions. Full compile. Updated spell & ability haks. Updated release archive.
This commit is contained in:
@@ -11,21 +11,21 @@ Event of the module properties event tab.
|
||||
These are colors defined by Genji's Color Token System..
|
||||
NOTE: This is the fastest way to use color in text messages..
|
||||
(Actual Examples)
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
|
||||
*/
|
||||
////////////////////////////////////////
|
||||
@@ -40,25 +40,25 @@ if(!GetIsPC(oPC)) return;
|
||||
|
||||
//This is an example of a colorful message sent to the PC..
|
||||
string sMessage;
|
||||
sMessage = GetRGB(1,7,7); //The color (See above)
|
||||
sMessage = PRCGetRGB(1,7,7); //The color (See above)
|
||||
sMessage += "Welcome "; //The text to be colorized by the above color.
|
||||
sMessage += GetRGB(15,15,1);//The next color.
|
||||
sMessage += PRCGetRGB(15,15,1);//The next color.
|
||||
sMessage += "To "; //The next text to be colorized by the above color.
|
||||
sMessage += GetRGB(15,1,1);//etc..
|
||||
sMessage += PRCGetRGB(15,1,1);//etc..
|
||||
sMessage += "This ";
|
||||
sMessage += GetRGB(7,7,15);
|
||||
sMessage += PRCGetRGB(7,7,15);
|
||||
sMessage += "Color ";
|
||||
sMessage += GetRGB(1,15,1);
|
||||
sMessage += PRCGetRGB(1,15,1);
|
||||
sMessage += "Resource ";
|
||||
sMessage += GetRGB(13,9,13);
|
||||
sMessage += PRCGetRGB(13,9,13);
|
||||
sMessage += "Module ";
|
||||
sMessage += GetRGB(12,10,7);
|
||||
sMessage += PRCGetRGB(12,10,7);
|
||||
sMessage += "Designed ";
|
||||
sMessage += GetRGB();
|
||||
sMessage += PRCGetRGB();
|
||||
sMessage += "By ";
|
||||
sMessage += GetRGB(15,5,1);
|
||||
sMessage += PRCGetRGB(15,5,1);
|
||||
sMessage += "Genisys / ";
|
||||
sMessage += GetRGB(12,10,7);
|
||||
sMessage += PRCGetRGB(12,10,7);
|
||||
sMessage += "Guile";
|
||||
|
||||
//This is how you would send the message in the combat logg..
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(1,15,15); //Cyan
|
||||
string sToken = PRCGetRGB(1,15,15); //Cyan
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(1,11,1); //Green
|
||||
string sToken = PRCGetRGB(1,11,1); //Green
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(1,15,1); //neon green
|
||||
string sToken = PRCGetRGB(1,15,1); //neon green
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(13,9,13); //Plum
|
||||
string sToken = PRCGetRGB(13,9,13); //Plum
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -92,7 +92,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(15,1,1); //Red
|
||||
string sToken = PRCGetRGB(15,1,1); //Red
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -92,7 +92,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(12,10,7); //tan
|
||||
string sToken = PRCGetRGB(12,10,7); //tan
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -90,7 +90,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(1,7,7); //Teal
|
||||
string sToken = PRCGetRGB(1,7,7); //Teal
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(); //nothing for white..
|
||||
string sToken = PRCGetRGB(); //nothing for white..
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -12,24 +12,24 @@ to the proper color that matches this script's
|
||||
name (ie coloritemwhite script goes on the line
|
||||
which changes the color to white!)
|
||||
|
||||
**These GetRGB(#,#,#) are the functions you use to get the proper
|
||||
**These PRCGetRGB(#,#,#) are the functions you use to get the proper
|
||||
color for the token you are setting on the item name.**
|
||||
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -37,7 +37,7 @@ color for the token you are setting on the item name.**
|
||||
|
||||
//This color system is by Genji, w/ special thanks to
|
||||
//ADAL-Miko & Rich Dersheimer for their help to Genji :)
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15);
|
||||
|
||||
|
||||
//Main Script//
|
||||
@@ -49,9 +49,9 @@ void main()
|
||||
object oPC = GetPCSpeaker();
|
||||
string sName = GetLocalString(oPC, "ONNC");
|
||||
|
||||
//string sToken = GetRGB(#,#,#);
|
||||
//string sToken = PRCGetRGB(#,#,#);
|
||||
//(This is the proper function you need to create below!)
|
||||
string sToken = GetRGB(15,15,1); //Yellow
|
||||
string sToken = PRCGetRGB(15,15,1); //Yellow
|
||||
|
||||
string sMod;
|
||||
|
||||
@@ -93,7 +93,7 @@ DelayCommand(2.2, DeleteLocalString(oPC, "ONNC"));
|
||||
}
|
||||
|
||||
//Prototype String Defined
|
||||
string GetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
string PRCGetRGB(int red = 15,int green = 15,int blue = 15)
|
||||
{
|
||||
object coloringBook = GetObjectByTag("ColoringBook");
|
||||
if (coloringBook == OBJECT_INVALID)
|
||||
|
@@ -5,19 +5,19 @@
|
||||
void main()
|
||||
{
|
||||
// examples sent to pc
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB() + "WHITE ");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(15,15,1) + "YELLOW");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(15,5,1) + "ORANGE");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(15,1,1) + "RED" );
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(7,7,15) + "BLUE" );
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(1,15,1) + "NEON GREEN" );
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(1,11,1) + "GREEN" );
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(9,6,1) + "BROWN" );
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(11,9,11) + "LIGHT PURPLE");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(12,10,7) + "TAN");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(8,1,8) + "PURPLE");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(13,9,13) + "PLUM");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(1,7,7) + "TEAL");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(1,15,15) + "CYAN");
|
||||
SendMessageToPC(GetLastUsedBy(),GetRGB(1,1,15) + "BRIGHT BLUE");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB() + "WHITE ");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(15,15,1) + "YELLOW");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(15,5,1) + "ORANGE");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(15,1,1) + "RED" );
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(7,7,15) + "BLUE" );
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,15,1) + "NEON GREEN" );
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,11,1) + "GREEN" );
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(9,6,1) + "BROWN" );
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(11,9,11) + "LIGHT PURPLE");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(12,10,7) + "TAN");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(8,1,8) + "PURPLE");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(13,9,13) + "PLUM");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,7,7) + "TEAL");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,15,15) + "CYAN");
|
||||
SendMessageToPC(GetLastUsedBy(),PRCGetRGB(1,1,15) + "BRIGHT BLUE");
|
||||
}
|
||||
|
@@ -9,24 +9,24 @@
|
||||
// simple function to use the name of a item holding escape sequences that, though they will not compile,
|
||||
// they can be interpreted at run time and produce rbg scales between 32 and 255 in increments.
|
||||
// -- allows 3375 colors to be made.
|
||||
// for example SendMessageToPC(pc,GetRGB(15,15,1)+ "Help, I'm on fire!") will produce yellow text.
|
||||
// for example SendMessageToPC(pc,PRCGetRGB(15,15,1)+ "Help, I'm on fire!") will produce yellow text.
|
||||
// more examples:
|
||||
/*
|
||||
GetRGB() := WHITE // no parameters, default is white
|
||||
GetRGB(15,15,1):= YELLOW
|
||||
GetRGB(15,5,1) := ORANGE
|
||||
GetRGB(15,1,1) := RED
|
||||
GetRGB(7,7,15) := BLUE
|
||||
GetRGB(1,15,1) := NEON GREEN
|
||||
GetRGB(1,11,1) := GREEN
|
||||
GetRGB(9,6,1) := BROWN
|
||||
GetRGB(11,9,11):= LIGHT PURPLE
|
||||
GetRGB(12,10,7):= TAN
|
||||
GetRGB(8,1,8) := PURPLE
|
||||
GetRGB(13,9,13):= PLUM
|
||||
GetRGB(1,7,7) := TEAL
|
||||
GetRGB(1,15,15):= CYAN
|
||||
GetRGB(1,1,15) := BRIGHT BLUE
|
||||
PRCGetRGB() := WHITE // no parameters, default is white
|
||||
PRCGetRGB(15,15,1):= YELLOW
|
||||
PRCGetRGB(15,5,1) := ORANGE
|
||||
PRCGetRGB(15,1,1) := RED
|
||||
PRCGetRGB(7,7,15) := BLUE
|
||||
PRCGetRGB(1,15,1) := NEON GREEN
|
||||
PRCGetRGB(1,11,1) := GREEN
|
||||
PRCGetRGB(9,6,1) := BROWN
|
||||
PRCGetRGB(11,9,11):= LIGHT PURPLE
|
||||
PRCGetRGB(12,10,7):= TAN
|
||||
PRCGetRGB(8,1,8) := PURPLE
|
||||
PRCGetRGB(13,9,13):= PLUM
|
||||
PRCGetRGB(1,7,7) := TEAL
|
||||
PRCGetRGB(1,15,15):= CYAN
|
||||
PRCGetRGB(1,1,15) := BRIGHT BLUE
|
||||
*/
|
||||
// issues? contact genji@thegenji.com
|
||||
// special thanks to ADAL-Miko and Rich Dersheimer in the bio forums.
|
||||
|
@@ -53,7 +53,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 18);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -73,7 +73,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 23);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -93,7 +93,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 25);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -113,7 +113,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 26);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -133,7 +133,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 27);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -153,7 +153,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 364);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -173,7 +173,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 67);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -193,7 +193,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 88);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -213,7 +213,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 78);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -233,7 +233,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 82);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -253,7 +253,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 157);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -273,7 +273,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 566);
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
|
||||
// Manually add to the array
|
||||
@@ -292,7 +292,7 @@ json json_AddEvolvedPowers(json jCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
{
|
||||
json jSpecAbility = JsonObject();
|
||||
jSpecAbility = GffAddWord(jSpecAbility, "Spell", 46); // Doom spell
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", max(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellCasterLevel", PRCMax(nCasterLevel, nBaseHD));
|
||||
jSpecAbility = GffAddByte(jSpecAbility, "SpellFlags", 1);
|
||||
jSpecAbilityList = JsonArrayInsert(jSpecAbilityList, jSpecAbility);
|
||||
}
|
||||
@@ -310,7 +310,7 @@ void ApplyEvolvedEffects(object oCreature, int nBaseHD, int nCasterLevel, int iE
|
||||
effect eVolved;
|
||||
|
||||
//:: Boost caster & SLA level
|
||||
SetLocalInt(oCreature, PRC_CASTERLEVEL_ADJUSTMENT, max(nCasterLevel, nBaseHD));
|
||||
SetLocalInt(oCreature, PRC_CASTERLEVEL_ADJUSTMENT, PRCMax(nCasterLevel, nBaseHD));
|
||||
|
||||
//:: AC Bonuses: +1 natural or +1 deflection if Incorporal
|
||||
if(bIncorporeal)
|
||||
|
@@ -126,30 +126,30 @@ void main()
|
||||
|
||||
//Colorful Server Message sent to all PCs when they enter the module..
|
||||
string sMessage;
|
||||
sMessage = GetRGB(1,7,7); //The color (See above)
|
||||
sMessage = PRCGetRGB(1,7,7); //The color (See above)
|
||||
sMessage += "Welcome to "; //The text to be colorized by the above color.
|
||||
sMessage += GetRGB(15,15,1);//The next color.
|
||||
sMessage += PRCGetRGB(15,15,1);//The next color.
|
||||
sMessage += "Server Genisys "; //The next text to be colorized by the above color.
|
||||
sMessage += GetRGB(15,1,1);//etc..
|
||||
sMessage += PRCGetRGB(15,1,1);//etc..
|
||||
sMessage += "a Revised ";
|
||||
sMessage += GetRGB(7,7,15);
|
||||
sMessage += PRCGetRGB(7,7,15);
|
||||
sMessage += "1.69 ";
|
||||
sMessage += GetRGB(1,15,1);
|
||||
sMessage += PRCGetRGB(1,15,1);
|
||||
sMessage += "Paths of Ascension ";
|
||||
sMessage += GetRGB(13,9,13);
|
||||
sMessage += PRCGetRGB(13,9,13);
|
||||
sMessage += "Classic Module ";
|
||||
sMessage += GetRGB(12,10,7);
|
||||
sMessage += PRCGetRGB(12,10,7);
|
||||
sMessage += "Revised & ";
|
||||
sMessage += GetRGB();
|
||||
sMessage += PRCGetRGB();
|
||||
sMessage += "Rescripted By ";
|
||||
sMessage += GetRGB(15,5,1);
|
||||
sMessage += PRCGetRGB(15,5,1);
|
||||
sMessage += "Genisys (Guile) ";
|
||||
sMessage += GetRGB(12,10,7);
|
||||
sMessage += PRCGetRGB(12,10,7);
|
||||
sMessage += "from 8/20/08 to 3/21/09.";
|
||||
string sNewb = GetRGB(1,15,1) + "This is PRC Presents Path of Ascension.";
|
||||
string sNewb2 = GetRGB(1,15,1) + "Contact Altpersona on Discord if you need assistance.";
|
||||
//string sNewb = GetRGB(1,15,1) + "Be sure to read your journal frequently (press J).";
|
||||
//string sNewb2 = GetRGB(1,15,1) + "Be sure to examine the Rest Menu carefully.";
|
||||
string sNewb = PRCGetRGB(1,15,1) + "This is PRC Presents Path of Ascension.";
|
||||
string sNewb2 = PRCGetRGB(1,15,1) + "Contact Altpersona on Discord if you need assistance.";
|
||||
//string sNewb = PRCGetRGB(1,15,1) + "Be sure to read your journal frequently (press J).";
|
||||
//string sNewb2 = PRCGetRGB(1,15,1) + "Be sure to examine the Rest Menu carefully.";
|
||||
|
||||
string sEnter = GetName(oPC) + " / " + GetPCPlayerName(oPC) + " / " + GetPCPublicCDKey(oPC) + " / " + GetPCIPAddress(oPC) + " Entered." ;
|
||||
SendMessageToAllDMs(sEnter);
|
||||
|
Reference in New Issue
Block a user