19 lines
704 B
Plaintext
19 lines
704 B
Plaintext
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
// Real Time Strategy - NWN - Dwarven Mithril Forge Use
|
||
|
//=============================================================================
|
||
|
// By Deva Bryson Winblood. 3/11/2003
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC=GetLastUsedBy();
|
||
|
string sID=GetLocalString(oPC,"sTeamID");
|
||
|
if (sID=="DWF")
|
||
|
{ // dwarf
|
||
|
AssignCommand(oPC,ClearAllActions());
|
||
|
AssignCommand(OBJECT_SELF,ActionStartConversation(oPC,"rts_forge",FALSE));
|
||
|
} // dwarf
|
||
|
else
|
||
|
SendMessageToPC(oPC,"Only those of the dwarven team may use this forge.");
|
||
|
}
|