Shargast_PRC8/_module/Chapter 1/nss/mm_dwarfguard.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

22 lines
515 B
Plaintext

//mm_dwarfguard
//OnPerception
#include "nw_i0_generic"
#include "prc_inc_racial"
void main()
{ object oPC = GetLastPerceived();
if( !GetIsPC(oPC)) return;
if( !GetLastPerceptionSeen()) return;
if( (MyPRCGetRacialType(oPC) == RACIAL_TYPE_DWARF) ||
(MyPRCGetRacialType(oPC) == RACIAL_TYPE_GNOME))
return;
ClearAllActions(); // its a good idea to clear out previous actions before giving him new ones to do in this case.
DetermineCombatRound( oPC);
SpeakString( "Die Interloper!");
}