summaryrefslogtreecommitdiff
path: root/npc/003-2-1/demure.txt
blob: 357577db17e65ea60a4b61dc1d042e8c0bbf80bb (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
53
54
55
56
57
58
59
// TMW2 Script
// Author:
//    Crazyfefe
//    Jesusalva

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

    RegEasterEgg(EE_DEMURE, 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), "NotSoBot::OnHydra2";
    setq Q_DragonFarm, getq(Q_DragonFarm)+1;
    if (getq(Q_DragonFarm) > 100) goto L_Kick;
    end;

OnHydra2:
    setq Q_DragonFarm, getq(Q_DragonFarm)+1;
    if (getq(Q_DragonFarm) > 100) goto L_Kick;
    end;

L_Kick:
    .@t=900+min(2700, getq3(Q_DragonFarm)*60);
    setq Q_DragonFarm, 1, gettimetick(2)+.@t, getq3(Q_DragonFarm)+1;
    warp "003-2", 28, 41;
    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;
}