Files
Anphillia_PRC8/_module/nss/anph_tell_area.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

24 lines
462 B
Plaintext

#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 + ".");
}