Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
23
_module/nss/anph_tell_area.nss
Normal file
23
_module/nss/anph_tell_area.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "chr_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
int nPCID = chr_GetPCID(oPC);
|
||||
location lNew = sql_GetPCLocation(nPCID);
|
||||
object oArea = GetAreaFromLocation(lNew);
|
||||
string sName = GetName(oArea);
|
||||
|
||||
if (sName == "")
|
||||
{
|
||||
sName = "your usual starting location";
|
||||
}
|
||||
|
||||
if (sql_GetPCDead(nPCID))
|
||||
{
|
||||
sName = "Fugue, as you are dead";
|
||||
}
|
||||
|
||||
|
||||
SendMessageToPC(oPC, "You would awake in " + sName + ".");
|
||||
}
|
||||
Reference in New Issue
Block a user