Added more creature model overrides

Added more creature model overrides.  Added another "boss" creature to the Labyrinth.  Tweaked several other creatures.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-04-07 18:07:07 -04:00
parent bfbbd2f1ac
commit dc236b3073
146 changed files with 122012 additions and 76538 deletions

View File

@@ -0,0 +1,34 @@
//:: hunefer_warning.nss
void main()
{
// Get the creature who triggered this event.
object oPC = GetEnteringObject();
// Only fire for (real) PCs.
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
return;
// Only fire once per PC.
if ( GetLocalInt(OBJECT_SELF, "DO_ONCE__" + ObjectToString(oPC)) )
return;
SetLocalInt(OBJECT_SELF, "DO_ONCE__" + ObjectToString(oPC), TRUE);
// If the PC's total level is at most 50.
if ( GetHitDice(oPC) <= 50 )
{
//:: Send a message to the player's chat window.
SendMessageToPC(oPC, "As you draw near the portal, you are overcome by a powerful feeling of dread.");
SendMessageToPC(oPC, "You feel that entering the portal would be a very short-lived & terrible idea.");
//:: Have text appear over the PC's head.
FloatingTextStringOnCreature("As you draw near the portal, you are overcome by a powerful feeling of dread.", oPC, FALSE);
FloatingTextStringOnCreature("You feel that entering the portal would be a very short-lived & terrible idea.", oPC, FALSE);
//:: Have the PC say something.
PlayVoiceChat(VOICE_CHAT_BADIDEA, oPC);
}
}