summaryrefslogtreecommitdiff
path: root/npc/003-2-1/demure.txt
blob: 56199ead30e2d3c78ad9b84659839e76058f5849 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// TMW2 Script
// Author:
//    Crazyfefe
//    Jesusalva

003-2-1,51,41,0	script	NotSoBot	NPC_FEMALE,{

    .@q=getq(General_EasterEggs);

    if (!(.@q & EE_DEMURE)) {
        setq General_EasterEggs, .@q|EE_DEMURE;
        dispbottom l("For finding an Easter Egg, you got Strange Coins!");
        getitem StrangeCoin, 5;
    }

    // Let's try without freeloop
    mesn any("NotSoBot", "Demure");
    if (rand(1,5) <= 2)
        mes "Blame Saulc";

    .@mx=rand(6,12);
	for (.@i = 0; .@i < .@mx; ++.@i) {
        mes "leave Complaints";
        if (rand(1,5) == 3)
            mes "";
        if (.@i == 10) {
            next;
            mesn any("NotSoBot", "Demure");
            mes any("leave Complaints", "Blame Saulc");
        }
	}
    if (rand(1,5) >= 4)
        mes "Blame Saulc";
    close;

OnHydra:
    areamonster "003-2-1", 20, 20, 65, 60, strmobinfo(1, GreenDragon), GreenDragon, any(1,1,2);
    end;

OnInit:
    .@npcId = getnpcid(.name$);
    setunitdata(.@npcId, UDT_HEADTOP, Cap);
    setunitdata(.@npcId, UDT_HEADMIDDLE, RedStockings);
    setunitdata(.@npcId, UDT_HEADBOTTOM, BunnyEars);
    setunitdata(.@npcId, UDT_WEAPON, GMRobe);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 14);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 18);

    .sex = G_FEMALE;
    .distance = 5;
    end;
}