Changed folder name.
Changed folder name.
This commit is contained in:
17
_module/nss/lowkicheck.nss
Normal file
17
_module/nss/lowkicheck.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
object oItem = GetItemPossessedBy(oPC, "lowki");
|
||||
if(oItem == OBJECT_INVALID)
|
||||
{
|
||||
CreateItemOnObject("lowki", oPC, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
object oWay = GetWaypointByTag("home");
|
||||
string sMsg = "You have already defeated this area, you are not permitted to enter again.";
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
AssignCommand(oPC, ActionJumpToObject(oWay));
|
||||
|
||||
DelayCommand(7.0, FloatingTextStringOnCreature(sMsg, oPC, FALSE));
|
||||
}
|
Reference in New Issue
Block a user