PoA_PRC8/_module/nss/p_kaleidoscope.nss

48 lines
3.5 KiB
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
#include "_inc_color_text_"
void main()
{
object oUser = GetLastUsedBy();
FloatingTextStringOnCreature(ChaoticText("Kaleidoscope")+" Activated.",oUser);
AssignCommand(oUser, ActionSpeakString(ChaoticText("It's full of stars...")));
string sTitle = JumbledText(TEXT_COLOR_RED,TEXT_COLOR_PURPLE,"Carcerian's")
+ChaoticText(" Simple Color Text Token ")+JumbledText(TEXT_COLOR_CYAN,TEXT_COLOR_GREEN,"Demonstration");
SendMessageToPC(oUser, " ");
SendMessageToPC(oUser, sTitle);
SendMessageToPC(oUser, " ");
SendMessageToPC(oUser, ColorText("violet", "violet ")+ColorText("purple", "purple ")+ColorText("pink", "pink ")+ColorText("lavender", "lavender "));
SendMessageToPC(oUser, ColorText("crimson", "crimson ")+ColorText("red", "red ")+ColorText("rose", "rose ")+ColorText("plum", "plum "));
SendMessageToPC(oUser, ColorText("tangerine", "tangerine ")+ColorText("orange", "orange ")+ColorText("peach", "peach "));
SendMessageToPC(oUser, ColorText("amber", "amber ")+ColorText("yellow", "yellow ")+ColorText("lemon", "lemon "));
SendMessageToPC(oUser, ColorText("emerald", "emerald ")+ColorText("green", "green ")+ColorText("lime", "lime "));
SendMessageToPC(oUser, ColorText("midnight", "midnight ")+ColorText("navy", "navy ")+ColorText("blue", "blue ")+ColorText("azure", "azure ")+ColorText("skyblue", "skyblue "));
SendMessageToPC(oUser, ColorText("jade", "jade ")+ColorText("turquoise", "turquoise ")+ColorText("aqua", "aqua ")+ColorText("cyan", "cyan ")+ColorText("cerulean", "cerulean "));
SendMessageToPC(oUser, ColorText("black", "black ")+ColorText("slate", "slate ")+ColorText("darkgrey", "darkgrey ")+ColorText("grey", "grey ")+ColorText("lightgrey", "lightgrey ")+ColorText("white", "white "));
SendMessageToPC(oUser, ColorText("wood", "wood ")+ColorText("brown", "brown ")+ColorText("tan", "tan ")+ColorText("flesh", "flesh ")+ColorText("ivory", "ivory ")+ColorText("gold", "gold ")+ColorText("silver", "silver "));
SendMessageToPC(oUser, " ");
SendMessageToPC(oUser, RGBColorText(TEXT_COLOR_PURPLE,"JumbledText() ")
+JumbledText(TEXT_COLOR_PURPLE, TEXT_COLOR_YELLOW, "returns text with a color between both ")
+RGBColorText(TEXT_COLOR_YELLOW,"colors."));
SendMessageToPC(oUser, RGBColorText(TEXT_COLOR_ORANGE,"Orange ")
+JumbledText(TEXT_COLOR_ORANGE, TEXT_COLOR_RED,
"text looks lavalike when blended into ")
+RGBColorText(TEXT_COLOR_RED,"red."));
SendMessageToPC(oUser, RGBColorText(TEXT_COLOR_CYAN,"Cyan ")
+JumbledText(TEXT_COLOR_CYAN, TEXT_COLOR_AZURE,
" can be quite frosty when merging into ")
+RGBColorText(TEXT_COLOR_AZURE,"azure."));
SendMessageToPC(oUser, RGBColorText(TEXT_COLOR_EMERALD,"Emerald ")
+JumbledText(TEXT_COLOR_EMERALD, TEXT_COLOR_GREEN, "gives a forested effect blending into ")
+RGBColorText(TEXT_COLOR_GREEN,"green."));
SendMessageToPC(oUser, RGBColorText(TEXT_COLOR_CRIMSON,"Crimson ")
+JumbledText(TEXT_COLOR_CRIMSON, TEXT_COLOR_RED, "looks like bloody murder when its mixed with ")
+RGBColorText(TEXT_COLOR_RED,"red."));
SendMessageToPC(oUser, " ");
}