17 lines
383 B
Plaintext
17 lines
383 B
Plaintext
|
|
||
|
#include "nw_i0_plot"
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
// Either open the store with that tag or let the user know that no store exists.
|
||
|
object oStore = GetNearestObjectByTag("st_Hospital");
|
||
|
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
|
||
|
{
|
||
|
gplotAppraiseOpenStore(oStore, GetPCSpeaker());
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
|
||
|
}
|
||
|
}
|