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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
### Spit with small meat (small meat + spit)
combi=start
id=b
req=200
req=11
gen=201
script=start
	play "mat_flesh4.wav";
	process "spitting",400;
script=end
combi=end
### Spit with large meat (large meat + spit)
combi=start
id=c
req=200
req=9
gen=202
script=start
	play "mat_flesh4.wav";
	process "spitting",400;
script=end
combi=end
### Spit with Fish (Fish + spit)
combi=start
id=d
req=200
req=89
gen=206
script=start
	play "mat_flesh4.wav";
	process "spitting",400;
script=end
combi=end
### Sharp Spit
id=200
name=Sharp Spit
group=mod
icon=gfx\Lion_Hearted\icon_Sharp Spit.bmp
model=gfx\Lion_Hearted\Sharp spit.3ds
scale=5.0
mat=wood
weight=150
info=A spit fashioned from a simple branch, you could surely cook some meat with it if you should find meat to place on it. You could probably also throw it as a spear, but I'm not sure it would do much damage.
behaviour=spear
damage=2
speed=16
drag=1.5
rate=1500
script=start
	on:impact {
		$tmp=impact_class();
		$tmp2=impact_id();
		//+49 Bonus Damage on Flesh
		if (compare_material($tmp,$tmp2,"flesh")==1){
			damage $tmp,$tmp2,14;
		}
		freevar $tmp;
		freevar $tmp2;
		if (impact_first()==1){
			if (skillvalue("hunt")>=0){
				if (random(3)==1){
				$tmp=create("item",200);
				setpos "item",$tmp,impact_x(),impact_y(),impact_z();
				setrot "item",$tmp,0,getyaw("unit",1),0;
}
}
	}
}
script=end
### Spit with small meat
id=201
name=Spit with small meat
group=mod
icon=gfx\Lion_Hearted\icon_spit small meat.bmp
model=gfx\Lion_Hearted\Spit small meat.3ds
scale=5.0
mat=flesh
weight=400
info=A juicy piece of raw meat on a spit! Finally I am able to cook this meat without getting burned!
script=start
	on:use {
		if ((count_inrange("state",5,50)+count_inrange("state",4,50))>0){
			process "frying",500;
			fry;
			alteritem 1,203;
		}else{
	process "unspitting",200;
		alteritem 0,11;
		alteritem 1,200;
		}
	}
script=end
### Spit with Large Meat
id=202
name=Spit with large meat
group=mod
icon=gfx\Lion_Hearted\icon_spit large meat.bmp
model=gfx\Lion_Hearted\Spit Large Meat.3ds
scale=5.0
mat=flesh
weight=650
info=A juicy piece of raw meat on a spit! Finally I am able to cook this meat without getting burned!
script=start
	on:use {
		if ((count_inrange("state",5,50)+count_inrange("state",4,50))>0){
			process "frying",500;
			fry;
			alteritem 1,204;
		}else{
	process "unspitting",200;
		alteritem 0,9;
		alteritem 1,200;
		}
	}
script=end
### Spit with small meat cooked
id=203
name=Spit with small meat (cooked)
group=mod
icon=gfx\Lion_Hearted\icon_spit small meat cooked.bmp
model=gfx\Lion_Hearted\Spit small meat cooked.3ds
scale=5.0
mat=flesh
weight=300
info=This smells wonderful, and no burnt fingers.
script=start
	on:use {
	process "unspitting",200;
		alteritem 1,12;
		if (random (2)==1) {
		alteritem 0,200;
		}else{
			msg "The spit was too burnt...",3;}
}
script=end
### Spit with large meat cooked
id=204
name=Spit with large meat (cooked)
group=mod
icon=gfx\Lion_Hearted\icon_spit large meat cooked.bmp
model=gfx\Lion_Hearted\Spit Large Meat cooked.3ds
scale=5.0
mat=flesh
weight=500
info=This smells wonderful, and no burnt fingers.
script=start
	on:use {
	process "unspitting",200;
		alteritem 1,10;
		if (random (2)==1) {
		alteritem 0,200;
		}else{
			msg "The spit was too burnt...",3;}
}
script=end
### Spit Fish
id=206
name=Spit with fish
group=mod
icon=gfx\Lion_Hearted\icon_spit fish.bmp
model=gfx\Lion_Hearted\Spit fish.3ds
scale=5.0
mat=flesh
weight=450
info=A juicy piece of raw fish on a spit! Finally I am able to cook this meat without getting burned!
script=start
	on:use {
		if ((count_inrange("state",5,50)+count_inrange("state",4,50))>0){
			process "frying",500;
			fry;
			alteritem 1,207;
		}else{
	process "unspitting",200;
		alteritem 0,89;
		alteritem 1,200;
		}
	}
script=end
### Spit Fish (cooked)
id=207
name=Spit with fish (cooked)
group=mod
icon=gfx\Lion_Hearted\icon_spit fish cooked.bmp
model=gfx\Lion_Hearted\Spit fish cooked.3ds
scale=5.0
mat=flesh
weight=300
info=A tasty fish, and I didn't burn myself!
script=start
	on:use {
	process "unspitting",200;
		alteritem 1,90;
		if (random (2)==1) {
		alteritem 0,200;
		}else{
			msg "The spit was too burnt...",3;}
}
script=end