24 lines
462 B
Plaintext
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 + ".");
|
|
}
|