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
60
61
62
63
64
65
66
67
68
|
// Evol scripts.
// Authors:
// 4144
// Reid
// Description:
// Allows to cut a Croconut in multiple parts.
//
// Possible choices for L_Weapon:
// rif(countitem(35xx, 1), l(getitemname("xx"))), l_Weak,
// rif(countitem(35yy, 1), l(getitemname("yy"))), l_Good,
000-2-1.gat,0,0,0 script Croconut 0,{
OnUse:
mesn "Narrator";
mes col(l("Do you want to cut this @@?", getitemlink(Croconut)), 9);
next;
menu
l("Yes."), L_Weapon,
l("No."), -;
getitem Croconut, 1, 1;
close;
L_Weapon:
mes "";
mesn "Narrator";
mes col(l("Which of your weapons do you want to use in order to cut this @@?", getitemlink(Croconut)), 9);
next;
menu
rif(countitem(Knife, 1), l(getitemname("Knife"))), L_Weak,
l("Bare Hands"), -;
L_TooWeak:
mes "";
mesn "Narrator";
set @q, rand(5);
if (@q == 0) goto L_TooWeakLost;
if ( (@q == 1) || (@q == 2) ) goto L_TooWeakFail;
if ( (@q == 3) || (@q == 4) || (@q == 5) ) goto L_Weak;
L_TooWeakLost:
mes col(l("You hit too hard with your fist, you lost your @@.", getitemlink(513)), 9);
close;
L_TooWeakFail:
mes col(l("Your hands are too weak, you didn't open the @@.", getitemlink(513)), 9);
getitem "Croconut", 1, 1;
close;
L_Weak:
mes col(l("You opened the @@, but only one side is edible.", getitemlink(513)), 9);
getitem "HalfCroconut", 1, 1;
close;
L_Good:
mes col(l("You perfectly cut your @@ in two edible parts.", getitemlink(513)), 9);
getitem "HalfCroconut", 2, 1;
close;
}
|