forked from Sphereserver/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sphere_template_loot.scp
4115 lines (3743 loc) · 110 KB
/
sphere_template_loot.scp
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//****************************************************************************
// SPHERE by : Menasoft ©1997-2007
// www.sphereserver.net
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Sunday, October 6, 2013
//
VERSION=0.56c
/////////////////////////
// Gold Pile Templates //
/////////////////////////
[TEMPLATE random_gold_pile]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Random Gold Pile
ITEM={ poor_gold_pile 16 meager_gold_pile 8 average_gold_pile 4 rich_gold_pile 2 loaded_gold_pile 1 }
[TEMPLATE poor_gold_pile]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Gold Pile
ITEM=i_gold,{10 20}
[TEMPLATE meager_gold_pile]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Gold Pile
ITEM=i_gold,{20 40}
[TEMPLATE average_gold_pile]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Gold Pile
ITEM=i_gold,{40 80}
[TEMPLATE rich_gold_pile]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Gold Pile
ITEM=i_gold,{80 160}
[TEMPLATE loaded_gold_pile]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Gold Pile
ITEM=i_gold,{160 320}
/////////////////////
// Pouch Templates //
/////////////////////
[TEMPLATE random_coin_purse]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Random Pouch
ITEM={ poor_pouch 16 meager_pouch 8 average_pouch 4 rich_pouch 2 loaded_pouch 1 }
[TEMPLATE poor_pouch]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Pouch
CONTAINER=i_bag
ITEM=poor_gold_pile
ITEM={ random_jewel 1 0 1 }
ITEM={ random_jewelry 1 0 5 }
[TEMPLATE meager_pouch]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Pouch
CONTAINER=i_bag
ITEM=meager_gold_pile
ITEM={ random_jewel 1 0 1 },{1 2}
ITEM={ random_jewelry 1 0 4 }
[TEMPLATE average_pouch]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Pouch
CONTAINER=i_bag
ITEM=average_gold_pile
ITEM={ random_jewel 1 0 1 },{2 3}
ITEM={ random_jewelry 1 0 3 }
[TEMPLATE rich_pouch]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Pouch
CONTAINER=i_bag
ITEM=rich_gold_pile
ITEM={ random_jewel 1 0 1 },{3 4}
ITEM={ random_jewelry 1 0 2 }
[TEMPLATE loaded_pouch]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Pouch
CONTAINER=i_bag
ITEM=loaded_gold_pile
ITEM={ random_jewel 1 0 1 },{4 5}
ITEM={ random_jewelry 1 0 1 }
//////////////////////
// Goodie Templates //
//////////////////////
[TEMPLATE random_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Random Goodie
ITEM={ poor_goodie 16 meager_goodie 8 average_goodie 4 rich_goodie 2 loaded_goodie 1 }
[TEMPLATE poor_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_food 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_jewelry 1 0 5 }
ITEM={ random_instrument 1 0 5 }
ITEM={ random_imbuing_item 1 0 50 }
[TEMPLATE meager_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_jewelry 1 0 4 }
ITEM={ random_instrument 1 0 4 }
ITEM={ random_imbuing_item 1 0 40 }
[TEMPLATE average_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_jewelry 1 0 3 }
ITEM={ random_instrument 1 0 3 }
ITEM={ random_imbuing_item 1 0 30 }
[TEMPLATE rich_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_jewelry 1 0 2 }
ITEM={ random_instrument 1 0 2 }
ITEM={ random_imbuing_item 1 0 20 }
[TEMPLATE loaded_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_drink 1 0 1 }
ITEM={ random_jewelry 1 0 1 }
ITEM={ random_instrument 1 0 1 }
ITEM={ random_imbuing_item 1 0 10 },{1 2}
////////////////////////////
// Magic Goodie Templates //
////////////////////////////
[TEMPLATE random_magic_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Random Magic Goodie
ITEM={ poor_magic_goodie 16 meager_magic_goodie 8 average_magic_goodie 4 rich_magic_goodie 2 loaded_magic_goodie 1 }
[TEMPLATE poor_magic_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Magic Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_scroll 1 0 5 }
ITEM={ random_potion 1 0 5 }
ITEM={ random_wand_magery 1 0 5 }
ITEM={ random_reagent 1 0 5 },{3 5}
[TEMPLATE meager_magic_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Magic Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_scroll 1 0 4 },{1 2}
ITEM={ random_potion 1 0 4 },{1 2}
ITEM={ random_wand_magery 1 0 4 }
ITEM={ random_reagent 1 0 4 },{4 7}
[TEMPLATE average_magic_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Magic Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_scroll 1 0 3 },{2 3}
ITEM={ random_potion 1 0 3 },{1 2}
ITEM={ random_wand_magery 1 0 3 }
ITEM={ random_reagent 1 0 3 },{5 9}
[TEMPLATE rich_magic_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Magic Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_scroll 1 0 2 },{3 4}
ITEM={ random_potion 1 0 2 },{2 3}
ITEM={ random_wand_magery 1 0 2 }
ITEM={ random_reagent 1 0 2 },{6 11}
[TEMPLATE loaded_magic_goodie]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Magic Goodie
CONTAINER=random_container
ITEM=random_clothing_all
COLOR=colors_all
ITEM={ random_scroll 1 0 1 },{4 5}
ITEM={ random_potion 1 0 1 },{2 3}
ITEM={ random_wand_magery 1 0 1 }
ITEM={ random_reagent 1 0 1 },{7 13}
////////////////////////
// Backpack Templates //
////////////////////////
[TEMPLATE poor_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Backpack
CONTAINER=i_backpack
ITEM=poor_gold_pile
ITEM=poor_pouch
ITEM={ poor_goodie 1 poor_magic_goodie 1 }
ITEM={ random_food 1 0 5 }
ITEM={ random_drink 1 0 5 }
[TEMPLATE meager_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Backpack
CONTAINER=i_backpack
ITEM=meager_gold_pile
ITEM=meager_pouch
ITEM={ meager_goodie 1 meager_magic_goodie 1 }
ITEM={ random_food 1 0 4 }
ITEM={ random_drink 1 0 4 }
[TEMPLATE average_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Backpack
CONTAINER=i_backpack
ITEM=average_gold_pile
ITEM=average_pouch
ITEM={ average_goodie 1 average_magic_goodie 1 }
ITEM={ random_food 1 0 3 }
ITEM={ random_drink 1 0 3 }
[TEMPLATE rich_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Backpack
CONTAINER=i_backpack
ITEM=rich_gold_pile
ITEM=rich_pouch
ITEM={ rich_goodie 1 rich_magic_goodie 1 }
ITEM={ random_food 1 0 2 }
ITEM={ random_drink 1 0 2 }
[TEMPLATE loaded_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Backpack
CONTAINER=i_backpack
ITEM=loaded_gold_pile
ITEM=loaded_pouch
ITEM={ loaded_goodie 1 loaded_magic_goodie 1 }
ITEM={ random_food 1 0 1 }
ITEM={ random_drink 1 0 1 }
////////////////
// Magic Loot //
////////////////
[TEMPLATE random_magic_loot]
CATEGORY=Item Templates
SUBSECTION=Random Magic Loot Templates
DESCRIPTION=Random Magic Loot
ITEM={ random_poor_magic_loot 16 random_meager_magic_loot 8 random_average_magic_loot 4 random_rich_magic_loot 2 random_loaded_magic_loot 1 }
[TEMPLATE random_poor_magic_loot]
CATEGORY=Item Templates
SUBSECTION=Random Magic Loot Templates
DESCRIPTION=Random Poor Magic Loot
ITEM={ random_potions_all 1 random_scroll 1 random_magic_custom_lesser 1 }
[TEMPLATE random_meager_magic_loot]
CATEGORY=Item Templates
SUBSECTION=Random Magic Loot Templates
DESCRIPTION=Random Meager Magic Loot
ITEM={ random_potions_all 1 random_scroll 1 random_magic_custom_lesser 1 }
[TEMPLATE random_average_magic_loot]
CATEGORY=Item Templates
SUBSECTION=Random Magic Loot Templates
DESCRIPTION=Random Average Magic Loot
ITEM={ random_potions_all 1 random_scroll 1 random_magic_custom_lesser 1 }
[TEMPLATE random_rich_magic_loot]
CATEGORY=Item Templates
SUBSECTION=Random Magic Loot Templates
DESCRIPTION=Random Rich Magic Loot
ITEM={ random_potions_all 1 random_scroll 1 random_magic_custom_greater 1 }
[TEMPLATE random_loaded_magic_loot]
CATEGORY=Item Templates
SUBSECTION=Random Magic Loot Templates
DESCRIPTION=Random Loaded Magic Loot
ITEM={ random_potions_all 1 random_scroll 1 random_magic_custom_greater 1 }
/////////////////////
// Monster Goodies //
/////////////////////
[TEMPLATE random_poor_monster_goodie]
CATEGORY=Item Templates
SUBSECTION=Random Loot Templates
DESCRIPTION=Random Poor Monster Goodie
CONTAINER=random_crate
ITEM={ poor_monster_goodie_1 1 poor_monster_goodie_2 1 poor_monster_goodie_3 1 poor_monster_goodie_4 1 }
[TEMPLATE poor_monster_goodie_1]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Monster Goodie 1
ITEM={ poor_gold_pile 1 poor_backpack 1 poor_pouch 1 }
ITEM={ random_jewelry 1 0 5 }
[TEMPLATE poor_monster_goodie_2]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Monster Goodie 2
ITEM={ poor_gold_pile 1 poor_backpack 1 poor_pouch 1 }
ITEM={ random_instrument 1 0 5 }
[TEMPLATE poor_monster_goodie_3]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Monster Goodie 3
ITEM={ poor_gold_pile 1 poor_backpack 1 poor_pouch 1 }
ITEM={ random_light 1 0 5 }
[TEMPLATE poor_monster_goodie_4]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Monster Goodie 4
ITEM={ poor_gold_pile 1 poor_backpack 1 poor_pouch 1 }
ITEM={ random_food 1 0 5 }
ITEM={ random_drink 1 0 5 }
[TEMPLATE random_meager_monster_goodie]
CATEGORY=Item Templates
SUBSECTION=Random Loot Templates
DESCRIPTION=Random Meager Monster Goodie
CONTAINER=random_crate
ITEM={ meager_monster_goodie_1 1 meager_monster_goodie_2 1 meager_monster_goodie_3 meager_monster_goodie_4 1 }
ITEM={ poor_monster_goodie_1 1 poor_monster_goodie_2 1 poor_monster_goodie_3 1 poor_monster_goodie_4 1 0 4}
[TEMPLATE meager_monster_goodie_1]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Monster Goodie 1
ITEM={ meager_gold_pile 1 meager_backpack 1 meager_pouch 1 }
ITEM={ random_armor_all 1 0 4 }
ITEM={ random_weapon_staff_normal 1 0 4 }
ITEM={ random_necklace 1 0 4 }
[TEMPLATE meager_monster_goodie_2]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Monster Goodie 2
ITEM={ meager_gold_pile 1 meager_backpack 1 meager_pouch 1 }
ITEM={ random_armor_all 1 0 4 }
ITEM={ random_weapon_archer_normal 1 0 4 }
ITEM={ i_arrow 1 i_xbolt 1 0 3 },{ 3 10 }
ITEM={ random_potion 1 0 4 }
[TEMPLATE meager_monster_goodie_3]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Monster Goodie 3
ITEM={ meager_gold_pile 1 meager_backpack 1 meager_pouch 1 }
ITEM={ random_armor_all 1 0 4 }
ITEM={ random_armor_all 1 0 4 }
ITEM={ random_weapon_mace_normal 1 0 4 }
ITEM={ random_weapon_sword_normal 1 0 4 }
[TEMPLATE meager_monster_goodie_4]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Monster Goodie 4
ITEM={ meager_gold_pile 1 meager_backpack 1 meager_pouch 1 }
ITEM={ random_armor_all 1 0 4 }
ITEM={ random_armor_all 1 0 4 }
ITEM={ random_weapon_axe_normal 1 0 4 }
ITEM={ random_weapon_sword_normal 1 0 4 }
ITEM={ random_jewel 1 0 4 }
ITEM={ random_reagent 1 0 4 },{ 1 5 }
[TEMPLATE random_average_monster_goodie]
CATEGORY=Item Templates
SUBSECTION=Random Loot Templates
DESCRIPTION=Random Average Monster Goodie
CONTAINER=random_container
ITEM={ average_monster_goodie_1 1 average_monster_goodie_2 1 average_monster_goodie_3 1 average_monster_goodie_4 1 }
ITEM={ poor_monster_goodie_1 1 poor_monster_goodie_2 1 poor_monster_goodie_3 1 poor_monster_goodie_4 1 0 4 }
[TEMPLATE average_monster_goodie_1]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Monster Goodie 1
ITEM={ average_gold_pile 1 average_backpack 1 average_pouch 1 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_weapon_staff_normal 1 0 2 }
ITEM={ random_necklace 1 0 2 }
ITEM={ random_poor_magic_loot 1 0 200 }
[TEMPLATE average_monster_goodie_2]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Monster Goodie 2
ITEM={ average_gold_pile 1 average_backpack 1 average_pouch 1 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_weapon_archer_normal 1 0 2 }
ITEM={ i_arrow 1 i_xbolt 1 0 4 },{ 5 20 }
ITEM={ random_potion 1 0 2 }
ITEM={ random_activators 1 0 4 }
ITEM={ random_poor_magic_loot 1 0 200 }
[TEMPLATE average_monster_goodie_3]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Monster Goodie 3
ITEM={ average_gold_pile 1 average_backpack 1 average_pouch 1 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_weapon_mace_normal 1 0 2 }
ITEM={ random_weapon_sword_normal 1 0 2 }
ITEM={ random_scroll 1 0 2 }
ITEM={ random_reagent 1 0 2 },{ 5 20 }
ITEM={ random_poor_magic_loot 1 0 200 }
[TEMPLATE average_monster_goodie_4]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Monster Goodie 4
ITEM={ average_gold_pile 1 average_backpack 1 average_pouch 1 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_weapon_axe_normal 1 0 2 }
ITEM={ random_weapon_sword_normal 1 0 2 }
ITEM={ random_jewel 1 0 2 }
ITEM={ random_potion 1 0 4 }
ITEM={ random_poor_magic_loot 1 0 200 }
[TEMPLATE random_rich_monster_goodie]
CATEGORY=Item Templates
SUBSECTION=Random Loot Templates
DESCRIPTION=Random Rich Monster Goodie
CONTAINER=random_chest
ITEM={ rich_monster_goodie_1 1 rich_monster_goodie_2 1 rich_monster_goodie_3 1 rich_monster_goodie_4 1 }
ITEM={ poor_monster_goodie_1 1 poor_monster_goodie_2 1 poor_monster_goodie_3 1 poor_monster_goodie_4 1 0 4 }
[TEMPLATE rich_monster_goodie_1]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Monster Goodie 1
ITEM={ rich_gold_pile 1 rich_backpack 1 rich_pouch 1 }
ITEM={ random_armor_all 1 0 1 }
ITEM={ random_weapon_staff_normal 1 0 1 }
ITEM={ random_necklace 1 0 1 }
ITEM={ random_scroll 1 0 1 }
ITEM={ random_activators 1 0 3 }
ITEM={ random_poor_magic_loot 2 random_meager_magic_loot 1 0 450 }
[TEMPLATE rich_monster_goodie_2]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Monster Goodie 2
ITEM={ rich_gold_pile 1 rich_backpack 1 rich_pouch 1 }
ITEM={ random_armor_all 1 0 1 }
ITEM={ random_weapon_archer_normal 1 0 1 }
ITEM={ i_arrow 1 i_xbolt 1 0 2 },{ 10 30 }
ITEM={ random_potion 1 0 1 }
ITEM={ random_poor_magic_loot 2 random_meager_magic_loot 1 0 450 }
[TEMPLATE rich_monster_goodie_3]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Monster Goodie 3
ITEM={ rich_gold_pile 1 rich_backpack 1 rich_pouch 1 }
ITEM={ random_armor_all 1 0 1 }
ITEM={ random_armor_all 1 0 1 }
ITEM={ random_weapon_mace_normal 1 0 1 }
ITEM={ random_weapon_sword_normal 1 0 1 }
ITEM={ random_potion 1 0 3 }
ITEM={ random_poor_magic_loot 2 random_meager_magic_loot 1 0 450 }
[TEMPLATE rich_monster_goodie_4]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Monster Goodie 4
ITEM={ rich_gold_pile 1 rich_backpack 1 rich_pouch 1 }
ITEM={ random_armor_all 1 0 1 }
ITEM={ random_armor_all 1 0 1 }
ITEM={ random_weapon_axe_normal 1 0 1 }
ITEM={ random_weapon_sword_normal 1 0 1 }
ITEM={ random_jewel 1 0 1 },{ 1 2 }
ITEM={ random_masks 1 0 4 }
ITEM={ random_poor_magic_loot 2 random_meager_magic_loot 1 0 450 }
[TEMPLATE random_loaded_monster_goodie]
CATEGORY=Item Templates
SUBSECTION=Random Loot Templates
DESCRIPTION=Random Loaded Monster Goodie
CONTAINER=random_chest
ITEM={ loaded_monster_goodie_1 1 loaded_monster_goodie_2 1 loaded_monster_goodie_3 1 loaded_monster_goodie_4 1 }
ITEM={ poor_monster_goodie_1 1 poor_monster_goodie_2 1 poor_monster_goodie_3 1 poor_monster_goodie_4 1 0 4 }
[TEMPLATE loaded_monster_goodie_1]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Monster Goodie 1
ITEM={ loaded_gold_pile 1 loaded_backpack 1 loaded_pouch 1 }
ITEM={ random_armor_all 2 0 1 }
ITEM={ random_weapon_staff_normal 2 0 1 }
ITEM={ random_necklace 2 0 1 }
ITEM={ random_jewel 2 0 1 },{ 1 2 }
ITEM={ random_average_magic_loot 1 random_meager_magic_loot 2 0 300 }
[TEMPLATE loaded_MONSTER_GOODIE_2]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Monster Goodie 2
ITEM={ loaded_gold_pile 1 loaded_backpack 1 loaded_pouch 1 }
ITEM={ random_armor_all 1 0 2 }
ITEM={ random_weapon_archer_normal 2 0 1 }
ITEM={ i_arrow 2 i_xbolt 2 0 2 },{ 25 70 }
ITEM={ random_potion 2 0 1 },{ 1 2 }
ITEM={ random_average_magic_loot 1 random_meager_magic_loot 2 0 300 }
[TEMPLATE loaded_MONSTER_GOODIE_3]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Monster Goodie 3
ITEM={ loaded_gold_pile 1 loaded_backpack 1 loaded_pouch 1 }
ITEM={ random_armor_all 2 0 1 }
ITEM={ random_armor_all 2 0 1 }
ITEM={ random_weapon_mace_normal 2 0 1 }
ITEM={ random_weapon_sword_normal 2 0 1 }
ITEM={ random_scroll 1 0 1 }
ITEM={ random_jewel 2 0 1 },{ 1 2 }
ITEM={ random_average_magic_loot 1 random_meager_magic_loot 2 0 300 }
ITEM={ random_average_magic_loot 1 random_meager_magic_loot 2 0 300 }
[TEMPLATE loaded_MONSTER_GOODIE_4]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Monster Goodie 4
ITEM={ loaded_gold_pile 1 loaded_backpack 1 loaded_pouch 1 }
ITEM={ random_armor_all 2 0 1 }
//MAgic=25 30 105
ITEM={ random_armor_all 2 0 1 }
//MAgic=25 30 105
ITEM={ random_weapon_axe_normal 2 0 1 }
//MAgic=25 30 105
ITEM={ random_weapon_sword_normal 2 0 1 }
//MAgic=25 30 105
ITEM={ random_jewel 2 0 1 },{ 1 4 }
ITEM={ random_average_magic_loot 1 random_meager_magic_loot 2 0 300 }
////////////////////////////////
// Monster Backpack Templates //
////////////////////////////////
// Monster loot templates are broken into the following categories:
// -Undead
// -Elemental
// -Drake, Dragon, and Wyrm
// -Gargoyle, Devil, and Demon
// -Lizardman and Ratman
// -Wild animal
// -Ogre, Ettin, and Giant
// -Evil NPC
// -Orc, Goblin, and Troll
// -Ophidian
// -Terathan
// -Misc
[TEMPLATE loot_ai_hard]
CATEGORY=Item Templates
SUBSECTION=AI Templates
DESCRIPTION=Monster AI Hard
ITEMNEWBIE=i_potion_heal,{6 9}
ITEMNEWBIE=i_potion_cure,{6 9}
ITEM=i_bandage,{25 40}
ITEMNEWBIE=random_weapon_archer_normal
ITEMNEWBIE=random_weapon_all_normal
ITEMNEWBIE=random_armor_shield_european
ITEM=i_arrow,{25 35}
ITEM=i_xbolt,{25 35}
[TEMPLATE loot_ai_healer]
CATEGORY=Item Templates
SUBSECTION=AI Templates
DESCRIPTION=Monster AI Healer
ITEMNEWBIE=i_potion_heal,{6 9}
ITEMNEWBIE=i_potion_cure,{6 9}
ITEM=i_bandage,{25 35}
[TEMPLATE loot_ai_archer]
CATEGORY=Item Templates
SUBSECTION=AI Templates
DESCRIPTION=Monster AI Archer
ITEMNEWBIE=random_weapon_archer_normal
ITEMNEWBIE=random_weapon_all_normal
ITEM=i_arrow,{25 35}
ITEM=i_xbolt,{25 35}
//////////////////////
// Undead backpacks //
//////////////////////
[TEMPLATE poor_undead_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Poor Undead Backpack
CONTAINER=i_backpack
ITEM=poor_gold_pile
ITEM=random_jewel,1,R10
ITEM=random_body_parts_1,1,R10
ITEM=random_body_parts_2,1,R10
ITEM=random_poor_magic_loot,1,R100
[TEMPLATE meager_undead_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Meager Undead Backpack
CONTAINER=i_backpack
ITEM=meager_gold_pile
ITEM=random_jewel,1,R8
ITEM=random_body_parts_1,1,R8
ITEM=random_body_parts_2,1,R8
ITEM=random_meager_magic_loot,1,R80
[TEMPLATE average_undead_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Average Undead Backpack
CONTAINER=i_backpack
ITEM=average_gold_pile
ITEM=random_jewel,{1 2},R6
ITEM=random_body_parts_1,1,R6
ITEM=random_body_parts_2,1,R6
ITEM=random_meager_magic_loot,1,R60
[TEMPLATE rich_undead_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Rich Undead Backpack
CONTAINER=i_backpack
ITEM=rich_gold_pile
ITEM=random_jewel,{1 3},R4
ITEM=random_scroll,1,R4
ITEM=random_scroll,1,R4
ITEM=random_reagent,{3 10},R4
ITEM=random_reagent,{3 10},R4
ITEM=random_body_parts_1,1,R4
ITEM=random_body_parts_2,1,R4
ITEM=random_rich_magic_loot,1,40
[TEMPLATE loaded_undead_backpack]
CATEGORY=Item Templates
SUBSECTION=Loot Templates
DESCRIPTION=Loaded Undead Backpack
CONTAINER=i_backpack
ITEM=loaded_gold_pile
ITEM=random_jewel,{2 5},R2
ITEM=random_jewel,{2 5},R2
ITEM=random_scroll,{1 3},R2
ITEM=random_scroll,{1 3},R2
ITEM=random_reagent,{5 20},R2
ITEM=random_reagent,{5 20},R2
ITEM=random_wand_magery,1,R2
ITEM=random_body_parts_1,1,R2
ITEM=random_body_parts_2,1,R2
ITEM=random_loaded_magic_loot,1,R20
[TEMPLATE loot_ghoul]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Ghoul
ITEM=i_gold,{50 150}
ITEM=random_jewel
ITEM=random_jewel,R5
ITEM=random_armor_bone
[TEMPLATE loot_bogle]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Bogle
ITEM=i_gold,{10 50}
ITEM=random_jewel,R3
ITEM=random_armor_all,1,R12
[TEMPLATE loot_lich]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Lich
ITEM=i_gold,{125 200}
ITEM=random_jewel,{1 3}
ITEM=random_scroll,{1 3}
ITEM=random_reagent,{4 6}
ITEM=random_weapon_staff_normal
ITEM={ random_magic_loot 1 0 50 }
ITEM=monster_regbag_necromancy
CONTAINER=i_bag
ITEM=i_gold,{100 125}
ITEM=random_jewel,{1 3},R2
ITEM=random_reagent,{4 6},R3
ITEM=random_wand_magery,1,R5
//ITEM=i_map_treasure,1,R80
[TEMPLATE loot_lich_ancient]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Lich (ancient)
ITEM=i_gold,{1000 1100}
ITEM=random_jewel,{3 4}
ITEM=random_scroll,{2 3}
ITEM=random_reagent,{6 9}
//ITEM=i_map_treasure,1,R20
ITEM={ random_weapon_staff_normal 99 i_staff_lich 1 }
ITEM={ random_magic_loot 1 0 20 }
ITEM=monster_regbag_necromancy
ITEM=random_weapon_all_normal
ITEM=random_armor_all
CONTAINER=i_bag
ITEM=i_gold,{500 600}
ITEM=random_jewel,{2 3}
ITEM=random_reagent,{5 8}
ITEM=random_wand_magery
ITEM={ random_item_misc_rare 1 0 200 }
[TEMPLATE loot_lich_lord]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Lich Lord
ITEM=i_gold,{250 300}
ITEM=random_jewel,{2 3}
ITEM=random_scroll,{2 3}
ITEM=random_reagent,{4 6}
//ITEM=i_map_treasure,1,R40
ITEM={ random_weapon_staff_normal 199 i_staff_lich 1 }
ITEM={ random_magic_loot 1 0 30 }
ITEM=monster_regbag_necromancy
ITEM=random_weapon_all_normal
ITEM=random_armor_all
CONTAINER=i_bag
ITEM=i_gold,{200 300}
ITEM=random_jewel,{1 3},R2
ITEM=random_reagent,{4 6},R3
ITEM=random_wand_magery,1
ITEM={ random_item_misc_rare 1 0 300 }
[TEMPLATE loot_lich_primeval]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Lich (primeval)
ITEM=i_gold,{1000 1100}
ITEM=random_jewel,{3 4}
ITEM=random_scroll,{2 3}
ITEM=random_reagent,{6 9}
ITEM={ random_weapon_staff_normal 99 i_staff_lich 1 }
ITEM=random_magic_loot,1,R20
ITEM=monster_regbag_necromancy
ITEM=random_weapon_all_normal
ITEM=random_armor_all
//ITEM=i_map_treasure,1,R20
ITEM=i_lich_dust,{2 3},R5
ITEM=random_artifact,1,R10
CONTAINER=i_bag
ITEM=i_gold,{500 600}
ITEM=random_jewel,{2 3}
ITEM=random_reagent,{5 8}
ITEM=random_wand_magery
ITEM=random_item_misc_rare,1,R20
[TEMPLATE loot_dark_guardian]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Dark Guardian
ITEM=i_gold,{200 250}
ITEM=random_jewel,{1 3}
ITEM=random_scroll,{1 3}
ITEM=random_reagent,{4 6}
ITEM=random_weapon_staff_normal
ITEM=random_weapon_all
ITEM=random_armor_all
ITEM=monster_regbag_necromancy
ITEM=i_reag_daemon_bone,{15 20}
CONTAINER=i_bag
ITEM=i_gold,{200 250}
ITEM=i_reag_daemon_bone,{10 15},R2
ITEM=random_jewel,{1 3},R2
ITEM=random_reagent,{4 6},R3
ITEM=random_wand_magery,1,R5
//ITEM=i_map_treasure,1,R30
[TEMPLATE loot_shade]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Shade
ITEM=i_gold,{100 150}
ITEM=random_scroll,{2 3}
ITEM=random_armor_bone,1,R3
[TEMPLATE loot_skeleton]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Skeleton
ITEM=i_gold,{25 50}
ITEM=random_armor_bone,1,R3
[TEMPLATE loot_skeleton_axe]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Skeleton (axe)
ITEM=i_gold,{25 50}
ITEM=random_armor_bone,1,R3
ITEM={ random_weapon_axe_normal 499 i_axe_skeleton 1 }
[TEMPLATE loot_skeleton_sword]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Skeleton (sword)
ITEM=i_gold,{25 50}
ITEM=random_armor_bone,1,R3
ITEM=random_shield
ITEM={ random_weapon_sword_normal 499 i_scimitar_skeleton 1 }
[TEMPLATE loot_skeletal_knight]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Skeletal Knight
ITEM=i_gold,{175 225}
ITEM=random_jewel,{1 2}
ITEM={ random_armor_bone 10 random_armor_all 1 0 10 }
ITEM=random_armor_shield_european
ITEM={ i_scimitar 299 i_scimitar_skeleton 1 }
[TEMPLATE loot_skeletal_mage]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Skeletal Mage
ITEM=i_gold,{125 150}
ITEM=random_scroll,{1 2}
ITEM=random_reagent,{4 6}
ITEM=random_reagent_necro,{4 6}
ITEM=random_wand_magery,R10
ITEM=random_weapon_staff_normal,R5
ITEM=random_potion,R5
[TEMPLATE loot_spectre]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Spectre
ITEM=i_gold,{50 100}
ITEM={ random_first_circle 1 random_second_circle 1 random_third_circle 1 random_fourth_circle 1 }
ITEM=random_reagent,{4 6}
ITEM=random_reagent,{4 6},R2
ITEM={ random_armor_bone 1 0 25 }
[TEMPLATE loot_wraith]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Wraith
ITEM={ random_first_circle 1 random_second_circle 1 random_third_circle 1 }
ITEM={ random_first_circle 1 random_second_circle 1 random_third_circle 1 }
ITEM={ random_fifth_circle 1 random_sixth_circle 1 random_seventh_circle 1 random_eighth_circle 1 0 70 }
ITEM=random_reagent,{4 6}
ITEM=random_reagent,{4 6}
ITEM=random_jewel
ITEM=i_gold,{120 180}
[TEMPLATE loot_zombie]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Zombie
ITEM=i_gold,{50 100}
ITEM={ random_armor_bone 1 random_item_bone 1 0 5 }
ITEM={ random_body_parts_1 1 random_body_parts_2 1 0 5 }
[TEMPLATE loot_mummy]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Mummy
ITEM=random_jewel
ITEM=random_potion
ITEM=random_potion
ITEM=random_scroll
ITEM=random_scroll
ITEM=i_gold,{120 180}
ITEM=i_bandage,{12 24}
[TEMPLATE loot_rotting_corpse]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Rotting Corpse
ITEM=i_gold,{500 625}
ITEM=random_jewel,{1 4}
ITEM=random_weapon_all
ITEM=random_armor_all
//ITEM=i_map_treasure,R40
CONTAINER=i_bag
ITEM=i_gold,{500 625}
ITEM=random_potion,R2
ITEM=random_wand_magery,R5
[TEMPLATE loot_patchwork_skeleton]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Patchwork Skeleton
ITEM=i_gold,{50 100}
ITEM=random_jewel,{1 2},R3
[TEMPLATE loot_wailing_banshee]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Wailing Banshee
ITEM=i_gold,{50 100}
ITEM=random_jewel,{1 2},R3