summaryrefslogblamecommitdiff
path: root/npc/001-1/manhole.txt
blob: f2bae5f094ce50c8121857c337b035bde1f672bf (plain) (tree)























































                                                                                  
// Evol scripts.
// Author:
//    Reid
// Description:
//    A manhole near Mona's house.
// Variable:
//    ArtisQuests_MonaDad
// Quest states:
//    0  - Quest not started
//    1  - Mona explained that her dad was missing

001-1,152,52,0	script	#manhole1-001-1	NPC_NO_SPRITE,{

    if (getq(ArtisQuests_MonaDad) < 1) {
        end;
    }

    narrator(S_LAST_BLANK_LINE | S_LAST_NEXT,
        l("You hear some creeping and crawling sounds from the murkiness below."),
        l("..."),
        l("Do you want to enter in sewer?"));

    if (askyesno() == 1) {
        cwarp("001-3-0", 152, 56);
    }

    bye;

OnInit:
    .sex = G_OTHER;
    .distance = 1;
    end;
}

001-1,196,35,0	script	#manhole2-001-1	NPC_NO_SPRITE,{

    if (getq(ArtisQuests_MonaDad) < 1) {
        end;
    }

    narrator(S_LAST_BLANK_LINE | S_LAST_NEXT,
        l("You hear some creeping and crawling sounds from the murkiness below."),
        l("..."),
        l("Do you want to enter in sewer?"));

    if (askyesno() == 1) {
        cwarp("001-3-0", 196, 36);
    }

    bye;

OnInit:
    .sex = G_OTHER;
    .distance = 1;
    end;
}