ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/artifacts
Revision: 1.1
Committed: Fri Feb 3 07:13:01 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Branch point for: UPSTREAM
Log Message:
Initial revision

File Contents

# User Rev Content
1 root 1.1 # List of artifact modifiers
2     #
3     # Note:
4     # Attributes (str, dex, etc) are modifiers to the previous
5     # value - positive will increase it by that much, negative
6     # will decrease it.
7     #
8     # cursed and damned flags will make the object cursed/damned.
9     # no way to remove cursed/damnedness right now. If the
10     # object is cursed, the present magic value will become
11     # negative (ie, a +1 sword will become -1 cursed.)
12     #
13     # immune, protected, vulnerable, path_attuned, path_denied,
14     # path_repelled values are OR'd to existing values.
15     #
16     # luck,exp, wc and ac increase the value by that amount (which means
17     # a negative value will decrease the value)
18     #
19     # lifesave, reflect_spell, reflect_missile, stealth, xrays,
20     # and make_invisible invisible sets the appropriate value
21     # in the new artifact. No way to remove these abilities.
22     #
23     # if stand_still is set, the object will not be animated
24     # (useful if giving an artifact a new image when the object
25     # it is being created from is animated.
26     #
27     # nrof is the number of object to be created. A range
28     # of 1-nrof of objects will be created. If 0, then the
29     # default number will be used instead.
30     #
31     # hp, maxhp, sp, maxsp, food, level have this: If the value is
32     # positive, it is increased by that amount. If negative, the
33     # artifact is created with that value absolute (ie, hp -5
34     # will create and artifact with hp value of 5)
35     #
36     # dam: If negative, absolute value is used (as in
37     # hp, maxhp, etc above). If positive, it acts as a percentage
38     # in increments of 10 (a value of 10 has the normal value, 5
39     # would be half normal, 20 twice, etc.
40     #
41     # weight, last_sp, gen_sp_armour is in percent (200% would
42     # be twice normal, 50% half of normal). Negative values
43     # work the same as armour and dam.
44     #
45     # 'value' is a multiplier to the previous value (value 10
46     # means the object is worth 10 times normal)
47     #
48     # the 'material', 'attacktype', 'slaying', and 'msg' elements will
49     # replace exiting values.
50     #
51     # magic is the mininum magic for an item to become that artifact.
52     #
53     # item_power is the additional number of enchantments to count for
54     # this item. This can be negative. Note that this information is
55     # only relevant for equipment that is applied for long periods of time.
56     # I've made a quick pass through this file and put in item_power
57     # values, but these almost certainly need to be refined.
58     #
59     # If the value is not described above, changing it probably is
60     # not supported.
61     #
62     # This file has been changed around in 0.91.1 to allow better
63     # control of probability and creation conditions.
64     #
65     # Allowed is followed with a comma seperated list of items that
66     # that artifact is allowed for. a ! can precede the object name,
67     # to mean that the object is allowed for all objects except those with
68     # that name. The name will be matched to either the normal item
69     # name, or the name of the archetype.
70     #
71     # After the 'Allowed <whatever>' field, a 'chance <value>' field
72     # follows. This is how likely the item is to be created. It is relative
73     # to other objects of the same type. What happens is that all of the
74     # artifacts with the same type are put on 1 list, and their chance
75     # field is summed together. Then, when an artifact is created,
76     # a roll is made based on that sum, and the appropriate artifact
77     # is chosen. If the item being transformed can not turn into that
78     # artifact (magic bonus, difficulty (see below), or just not 'Allowed'),
79     # it will be re-rolled, attempting to make an artifact again. The number
80     # of re-rolls attempted is determined in the treasure.c file. IT is,
81     # by default, 1.
82     #
83     # 'difficulty <value>' can also be included before the 'Object <name>'
84     # field. If set, the difficulty must be greater or equal to that
85     # value in order to the object to be created. This can make it so that
86     # some items are never created on easy maps.
87     #
88     # Note that the above mentioned fields (chance, difficulty) must be set
89     # before the Object command - if they are placed between the Object and
90     # End commands, they will have no affect.
91     #
92     # Because of these changes, general artifact types are no longer allowed.
93     # This is for a few reasons: 1) With no type, it would not be possible
94     # to know what lists to put it on. If it put it on all lists
95     # presently existing, then the order of this file would become relevant,
96     # 2) Since chance is now a a field, and different items types have
97     # different total chances, using a generic chance value could have
98     # unexpected results.
99     #
100     # Various notes:
101     # chance is meaningless if there is only 1 artifact of a certain
102     # type. It will always be generated, no matter what the chance
103     # is set to. As such, if adding an artifact for a new type,
104     # make sure there are at least two, unless you always want
105     # that specific one to be generated.
106     #
107     # running crossfire with -m3 creates a nice list of this
108     # table. Good for debugging if you seem to have problems with
109     # some entry.
110     #
111     # Try to keep common types of items together. For example, keep
112     # all helmets types together, all weapon types, etc. From there,
113     # try to group by subtype (plate mails, leathers, chains, crowns,
114     # etc.) This just makes it easier to find stuff. From their, it
115     # might be nice to keep them in chance order, but most aren't in
116     # that right now.
117     #
118     # Monsters
119     # Note: Only generated monsters are affected (just like items) - monsters
120     # already on the map are not affected. Also, many of the values (exp, hp,
121     # maxhp) are fixed addition values, so if creating generic types (like the
122     # Leader and Chief types), you what to keep the Allowed monsters at roughly
123     # the same power.
124     # As of now, 1:10 monsters can become artifact monsters. This is set in
125     # time.c
126     Allowed orc
127     chance 10
128     Object Leader
129     type 0
130     wc 1
131     ac 1
132     hp 12
133     maxhp 12
134     exp 20
135     level 1
136     resist_physical 20
137     dam 13
138     face orc_leader.111
139     stand_still 1
140     end
141     #
142     Allowed goblin
143     chance 10
144     Object Leader
145     type 0
146     wc 1
147     ac 1
148     hp 10
149     maxhp 10
150     exp 20
151     level 1
152     resist_physical 20
153     dam 13
154     face goblin_leader.111
155     stand_still 1
156     end
157     #
158     Allowed gnoll
159     chance 10
160     Object Leader
161     type 0
162     wc 1
163     ac 1
164     hp 13
165     maxhp 13
166     exp 20
167     level 1
168     resist_physical 20
169     dam 13
170     face gnoll_leader.111
171     stand_still 1
172     end
173     #
174     Allowed ogre
175     chance 10
176     Object Leader
177     type 0
178     wc 1
179     ac 1
180     hp 15
181     maxhp 15
182     exp 20
183     level 1
184     resist_physical 20
185     dam 13
186     face ogre_leader.111
187     stand_still 1
188     end
189     #
190     Allowed skeleton
191     chance 5
192     Object Leader
193     type 0
194     hp 15
195     maxhp 15
196     exp 40
197     level 2
198     resist_physical 20
199     dam 1
200     face skeleton_leader.111
201     stand_still 1
202     end
203     #
204     Allowed beholder
205     chance 5
206     Object Leader
207     type 0
208     wc 5
209     ac 2
210     hp 15
211     maxhp 5
212     exp 500
213     level 2
214     resist_physical 40
215     dam 15
216     face beholder_leader.111
217     stand_still 1
218     end
219     #
220     Allowed orc
221     chance 2
222     Object Chief
223     type 0
224     wc 2
225     ac 2
226     hp 20
227     maxhp 20
228     exp 80
229     level 2
230     resist_physical 30
231     dam 14
232     face orc_chief.111
233     stand_still 1
234     end
235     #
236     Allowed goblin
237     chance 2
238     Object Chief
239     type 0
240     wc 2
241     ac 2
242     hp 20
243     maxhp 20
244     exp 100
245     level 2
246     resist_physical 30
247     dam 13
248     face goblin_chief.111
249     stand_still 1
250     end
251     #
252     Allowed gnoll
253     chance 2
254     Object Chief
255     type 0
256     wc 2
257     ac 2
258     hp 20
259     maxhp 20
260     exp 100
261     level 2
262     resist_physical 30
263     dam 14
264     face gnoll_chief.111
265     stand_still 1
266     end
267     #
268     Allowed ogre
269     chance 2
270     Object Chief
271     type 0
272     wc 2
273     ac 2
274     hp 22
275     maxhp 22
276     exp 150
277     level 2
278     resist_physical 30
279     dam 19
280     face ogre_chief.111
281     stand_still 1
282     end
283     #
284     Allowed skeleton
285     chance 2
286     Object Chief
287     type 0
288     wc 1
289     hp 10
290     maxhp 15
291     exp 50
292     level 2
293     resist_physical 40
294     dam 1
295     face skeleton_chief.111
296     stand_still 1
297     end
298     #
299     # Just to fix probability some.
300     Allowed orc,goblin,ogre,gnoll,beholder
301     chance 20
302     Object NONE
303     end
304     #
305     # Weapons:
306     #
307     Allowed all
308     chance 10
309     Object Ilrya
310     type 15
311     value 10
312     weight 80
313     end
314     #
315     Allowed all
316     chance 5
317     Object Lythander
318     type 15
319     value 20
320     luck 1
321     weight 90
322     item_power 1
323     end
324     #
325     Allowed all
326     chance 5
327     Object Fear
328     type 15
329     value 30
330     attacktype 16385
331     resist_fear 100
332     weight 90
333     item_power 2
334     end
335     #
336     Allowed all
337     chance 20
338     Object Woe
339     type 15
340     cursed 1
341     Str -1
342     Con -1
343     Dex -1
344     Wis -1
345     Int -1
346     Pow -1
347     Cha -1
348     luck -1
349     value 5
350     end
351     #
352     Allowed all
353     chance 20
354     Object Mass
355     type 15
356     value 5
357     cursed 1
358     weight 300
359     dam 15
360     wc -3
361     end
362     #
363     Allowed all
364     chance 10
365     Object Gnarg
366     type 15
367     value 10
368     dam 12
369     resist_poison 30
370     Cha -1
371     item_power 1
372     end
373     #
374     Allowed all
375     chance 6
376     Object Zormola
377     type 15
378     value 15
379     weight 80
380     wc 2
381     item_power 2
382     end
383     #
384     Allowed all
385     chance 5
386     Object Ixalovh
387     type 15
388     value 10
389     sp 1
390     grace 1
391     magic 1
392     item_power 1
393     end
394     #
395     Allowed axe,axe_2,axe_3,axe_4,axe_5,battle_axe,stoneaxe,poleaxe,morningstar,large_morningstar,nunchacu_1,nunchacu_2,hammer,mace,mace_2,lspear,spear,club,quarterstaff,big_club,stonehammer,stake,bonecrusher,mjoellnir,skullcleaver
396     chance 20
397     Object Gaea
398     type 15
399     value 50
400     hp 1
401     dam 11
402     magic 2
403     item_power 1
404     end
405     #
406     Allowed all
407     chance 20
408     Object Kragi
409     type 15
410     value 50
411     magic 3
412     Con 1
413     dam 11
414     item_power 1
415     end
416     #
417     Allowed all
418     chance 6
419     Object Morgul
420     type 15
421     value 15
422     magic 3
423     dam 20
424     wc -3
425     Str -2
426     Dex -2
427     Con -2
428     damned 1
429     end
430     #
431     Allowed all
432     chance 5
433     Object Slay Ogre
434     type 15
435     slaying ogre
436     value 20
437     magic 1
438     item_power 2
439     end
440     #
441     Allowed all
442     chance 15
443     Object Valriel
444     type 15
445     slaying demon
446     last_sp 120
447     value 30
448     magic 2
449     msg
450     This weapon faintly glows with a
451     warm radiance that casts no shadows.
452     Just holding it gives you the
453     courage to send the most evil monsters
454     back to whatever Hell they came from.
455     endmsg
456     item_power 2
457     end
458     #
459     Allowed all
460     chance 15
461     Object Gorokh
462     type 15
463     slaying angel
464     last_sp 120
465     value 30
466     magic 2
467     msg
468     This weapon faintly glows with a
469     dark radiance that makes shadows
470     seem deeper and darker than they
471     should be. You have a strong
472     feeling that even the mightiest
473     champions of light must fall to
474     such powerful darkness.
475     endmsg
476     item_power 2
477     end
478     #
479     Allowed all
480     chance 8
481     Object the Devourers
482     type 15
483     value 30
484     attacktype 65553
485     magic 1
486     msg
487     This weapon radiates a bone-chilling
488     aura of otherworldly cold.
489     endmsg
490     item_power 2
491     end
492     #
493     Allowed all
494     chance 3
495     Object Doom
496     type 15
497     damned 1
498     Str -5
499     Con -5
500     Dex -5
501     Wis -5
502     Int -5
503     Pow -5
504     Cha -5
505     value 30
506     magic 1
507     end
508     #
509     Allowed all
510     chance 20
511     Object Crolmi
512     type 15
513     value 40
514     magic 3
515     Str 1
516     weight 110
517     item_power 1
518     end
519     #
520     Allowed all
521     chance 2
522     Object Great Mass
523     type 15
524     value 50
525     damned 1
526     weight 600
527     dam 25
528     wc -5
529     end
530     #
531     Allowed all
532     chance 2
533     Object Slay Troll
534     type 15
535     slaying troll
536     value 50
537     magic 2
538     item_power 2
539     end
540     #
541     Allowed all
542     chance 2
543     Object Slay Undead
544     type 15
545     slaying undead
546     value 50
547     magic 2
548     msg
549     This vicious weapon is designed
550     specifically for destroying any
551     abominations that have risen from
552     their graves and making sure they
553     stay dead this time.
554     endmsg
555     item_power 2
556     end
557     #
558     Allowed all
559     chance 1
560     Object Slay Dragon
561     type 15
562     slaying dragon
563     value 100
564     magic 3
565     item_power 2
566     end
567     #
568     Allowed all
569     chance 1
570     Object Slay Beholder
571     type 15
572     slaying beholder
573     value 150
574     resist_magic 20
575     magic 3
576     item_power 3
577     end
578     #
579     Allowed all
580     chance 10
581     Object Rhyz
582     type 15
583     value 80
584     magic 4
585     Str 1
586     Dex 1
587     weight 90
588     item_power 2
589     end
590     #
591     Allowed all
592     chance 10
593     Object Glamdri
594     type 15
595     value 150
596     magic 4
597     resist_magic 30
598     Int 1
599     Pow 1
600     weight 90
601     item_power 5
602     end
603     #
604     Allowed all
605     chance 5
606     Object Berserkergang
607     type 15
608     value 15
609     magic 4
610     dam 30
611     wc 7
612     Str 7
613     Dex 7
614     Con 7
615     Int -10
616     Wis -10
617     Cha -15
618     resist_magic 20
619     material 256
620     weight 50
621     exp 3
622     hp 2
623     msg
624     This weapon burns with a supernatural rage:
625     its anger invests the wielder and empowers
626     him. However, it also clouds his thoughts,
627     and drool is very unattractive.
628     endmsg
629     attacktype 16385
630     damned 1
631     end
632     #
633     # This item is attack type weaponmagic. It only happens in weapons that
634     # are already pretty magical (+3 or better). Thus, while the chance
635     # may look high, since there are not that many +3 or better weapons
636     # created, it will not be created that often.
637     #
638     Allowed all
639     chance 10
640     Object Magic Hitting
641     type 15
642     magic 3
643     value 20
644     attacktype 256
645     item_power 1
646     end
647     #
648     Allowed axe,axe_2,axe_3,axe_4,axe_5,battle_axe,hammer,skullcleaver,mjoellnir,bonecrusher,frost_hammer
649     chance 10
650     Object Mostrai
651     type 15
652     magic 1
653     value 12
654     dam 14
655     weight 115
656     end
657     #
658     Allowed sword,sabre,rapier,scimitar,light_sword,katana_1,falchion
659     chance 90
660     Object Occidental Mages
661     type 15
662     magic 2
663     value 20
664     msg
665     The Ancient School of Occidental Mages created that weapon during
666     the Empire Wars, charging it with their Chaotic Powers.
667     endmsg
668     event_attack_plugin Python
669     event_attack /python/items/weapon_occidental_mages.py
670     end
671     #
672     #
673     # Swords (subtype of weapons)
674     #
675     Allowed sword,sabre,rapier,scimitar,light_sword,katana_1,falchion
676     chance 10
677     Object Poisoning
678     type 15
679     value 20
680     weight 80
681     attacktype 1025
682     item_power 1
683     end
684     #
685     #
686     # Metal Weapons
687     #
688     Allowed dagger,light_sword,shortsword,shortsword_2,taifu_1,trident,axe,axe_2,axe_3,axe_4,axe_5,battle_axe,poleaxe,morningstar,large_morningstar,hammer,mace,mace_2,lspear,spear,sword,sword_2,sword_3,sabre,rapier,rapier,scimitar,katana_1,falchion,broadsword,broadsword_2
689     chance 5
690     Object Sorig
691     type 15
692     magic 1
693     value 15
694     weight 95
695     attacktype 9
696     last_sp 125
697     item_power 1
698     end
699     #
700     Allowed trident
701     chance 5
702     Object Ixalovh
703     type 15
704     magic 2
705     value 20
706     weight 20
707     attacktype 17
708     resist_fire -10
709     Dex 2
710     Cha -1
711     Con -1
712     item_power 2
713     end
714     #
715     Allowed dagger,axe,axe_2,axe_3,axe_4,axe_5,battle_axe,sword,sword_2,sword_3,sabre,rapier,scimitar,light_sword,katana_1,falchion,broadsword,broadsword_2,shortsword,shortsword_2,morningstar,large_morningstar,hammer,mace,mace_2,lspear,spear,poleaxe,taifu_1,trident
716     chance 5
717     Object Ruggilli
718     type 15
719     magic 1
720     value 15
721     weight 85
722     attacktype 5
723     item_power 1
724     last_sp 110
725     end
726     #
727     # Daggers (subtype of weapons)
728     #
729     Allowed dagger
730     chance 10
731     Object Poisoning
732     type 15
733     value 20
734     weight 80
735     attacktype 1025
736     item_power 1
737     end
738     #
739     Allowed dagger
740     chance 10
741     Object Paralysis
742     type 15
743     value 30
744     weight 80
745     attacktype 4097
746     item_power 1
747     end
748     #
749     Allowed dagger
750     chance 10
751     Object Madness
752     type 15
753     value 10
754     weight 80
755     attacktype 33
756     item_power 1
757     end
758     #
759     #
760     # Helmets
761     #
762     Allowed helmet, crown
763     chance 6
764     Object Xebinon
765     type 34
766     value 35
767     gen_sp_armour -2
768     path_attuned 1024
769     sp 1
770     magic 2
771     item_power 1
772     end
773     #
774     Allowed all
775     chance 1
776     Object Blindness
777     type 34
778     is_blind 1
779     magic 1
780     cursed 1
781     end
782     #
783     Allowed full helmet,helmet
784     chance 1
785     Object Dark Vision
786     type 34
787     can_see_in_dark 1
788     value 10
789     item_power 1
790     end
791     #
792     Allowed full helmet,helmet
793     chance 1
794     Object Might
795     type 34
796     value 500
797     magic 2
798     Str 1
799     Con 1
800     Dex 1
801     item_power 3
802     end
803     #
804     Allowed full helmet
805     chance 20
806     Object Valriel
807     type 34
808     value 50
809     magic 2
810     Wis 1
811     Cha 1
812     item_power 2
813     end
814     #
815     Allowed full helmet
816     chance 4
817     Object Argoth
818     type 34
819     value 25
820     magic 1
821     ac 1
822     Cha 1
823     resist_fire 30
824     resist_physical 8
825     msg
826     Argoth was an ancient dwarven city
827     in a mountain which was infested with
828     dragons. The dwarves specialized in
829     equipment which helped them survive their
830     environment.
831     endmsg
832     item_power 3
833     end
834     #
835     Allowed !crown
836     chance 10
837     Object Ilrya
838     type 34
839     value 10
840     weight 80
841     end
842     #
843     Allowed !crown
844     chance 5
845     Object Lythander
846     type 34
847     value 20
848     luck 1
849     weight 90
850     item_power 1
851     end
852     #
853     Allowed !crown
854     chance 20
855     Object Mass
856     type 34
857     value 5
858     cursed 1
859     weight 400
860     end
861     #
862     Allowed !crown
863     chance 2
864     Object Great Mass
865     type 34
866     value 50
867     damned 1
868     weight 1000
869     end
870     #
871     Allowed all
872     chance 6
873     Object Stupidity
874     type 34
875     value 15
876     magic 1
877     Int -10
878     damned 1
879     end
880     #
881     Allowed all
882     chance 5
883     Object Sorig
884     type 34
885     value 20
886     ac 1
887     magic 1
888     resist_physical 8
889     resist_electricity 40
890     item_power 3
891     end
892     #
893     Allowed all
894     chance 3
895     Object Doom
896     type 34
897     damned 1
898     Str -5
899     Con -5
900     Dex -5
901     Wis -5
902     Int -5
903     Pow -5
904     Cha -5
905     value 30
906     magic 1
907     end
908     #
909     Allowed all
910     chance 20
911     Object Woe
912     type 34
913     cursed 1
914     Str -1
915     Con -1
916     Dex -1
917     Wis -1
918     Int -1
919     Pow -1
920     Cha -1
921     luck -1
922     value 5
923     end
924     #
925     # Crowns start here (subset of helmets )
926     #
927     Allowed crown
928     chance 1
929     Object the Magi
930     type 34
931     value 500
932     sp 2
933     Int 2
934     Pow 2
935     item_power 6
936     end
937     #
938     Allowed crown
939     chance 1
940     Object Fire
941     type 34
942     value 100
943     resist_fire 30
944     path_attuned 2
945     path_repelled 4
946     item_power 2
947     end
948     #
949     Allowed crown
950     chance 10
951     Object Lordliness
952     magic 2
953     type 34
954     value 10
955     Cha 2
956     item_power 2
957     end
958     #
959     Allowed crown
960     chance 6
961     Object Rulership
962     type 34
963     value 15
964     magic 3
965     Cha 1
966     Wis 1
967     item_power 2
968     end
969     #
970     Allowed crown
971     chance 4
972     Object Might
973     type 34
974     value 25
975     magic 3
976     Con 1
977     Str 1
978     item_power 2
979     end
980     #
981     # Shields
982     #
983     Allowed all
984     chance 10
985     Object Ilrya
986     type 33
987     value 10
988     weight 80
989     end
990     #
991     Allowed all
992     chance 20
993     Object Mass
994     type 33
995     value 5
996     cursed 1
997     weight 400
998     end
999     #
1000     Allowed all
1001     chance 2
1002     Object Great Mass
1003     type 33
1004     value 50
1005     damned 1
1006     weight 1000
1007     end
1008     #
1009     Allowed all
1010     chance 2
1011     Object Deflection
1012     type 33
1013     value 50
1014     magic 2
1015     ac 3
1016     weight 110
1017     msg
1018     This highly enchanted shield is
1019     craftfully made to give more
1020     protection than usual.
1021     endmsg
1022     item_power 2
1023     end
1024     #
1025     Allowed all
1026     chance 8
1027     Object Mostrai
1028     type 33
1029     value 24
1030     magic 1
1031     resist_fire 20
1032     item_power 1
1033     end
1034     #
1035     Allowed all
1036     chance 8
1037     Object Gnarg
1038     type 33
1039     magic 1
1040     value 12
1041     Cha -1
1042     ac 1
1043     resist_physical 10
1044     end
1045     # This one is amazingly rare, I would be surprised if I ever saw one!
1046     Allowed high_shield
1047     chance 1
1048     difficulty 10
1049     Object holy light
1050     type 33
1051     magic 3
1052     value 1200
1053     weight 90
1054     Cha 5
1055     ac 4
1056     reflect_spell 1
1057     resist_physical 50
1058     resist_drain 100
1059     resist_ghosthit 60
1060     resist_fire 25
1061     resist_cold 25
1062     glow_radius 1
1063     face holyshield.111
1064     msg
1065     Passed down from one of the elder
1066     this shield is amazing. Its soft glow
1067     hides a deep power which you feel
1068     you can almost taste. It soon dawns
1069     on you that this must be one of the
1070     most prized shields of all the lands.
1071     endmsg
1072     item_power 25
1073     end
1074     #
1075     Allowed all
1076     chance 3
1077     Object Doom
1078     type 33
1079     damned 1
1080     Str -5
1081     Con -5
1082     Dex -5
1083     Wis -5
1084     Int -5
1085     Pow -5
1086     Cha -5
1087     value 30
1088     magic 1
1089     end
1090     #
1091     Allowed all
1092     chance 20
1093     Object Woe
1094     type 33
1095     cursed 1
1096     Str -1
1097     Con -1
1098     Dex -1
1099     Wis -1
1100     Int -1
1101     Pow -1
1102     Cha -1
1103     luck -1
1104     value 5
1105     end
1106     #
1107     Allowed all
1108     chance 8
1109     Object Gnarg
1110     type 33
1111     magic 1
1112     value 12
1113     Cha -1
1114     ac 1
1115     resist_physical 10
1116     end
1117     #
1118    
1119     #
1120     #
1121     # Gauntlets / Gloves
1122     #
1123     Allowed gauntlets
1124     chance 5
1125     Object Sorig
1126     type 100
1127     resist_physical 8
1128     resist_electricity 35
1129     attacktype 8
1130     weight 125
1131     value 175
1132     item_power 3
1133     end
1134     #
1135     Allowed gloves
1136     chance 10
1137     Object Havok
1138     type 100
1139     dam 4
1140     wc 2
1141     resist_physical 8
1142     weight 125
1143     value 175
1144     item_power 2
1145     end
1146     #
1147     Allowed gloves
1148     chance 10
1149     Object Sorig
1150     type 100
1151     resist_physical 5
1152     resist_electricity 30
1153     weight 125
1154     value 10
1155     item_power 2
1156     end
1157     #
1158     Allowed all
1159     chance 20
1160     Object bladed steel
1161     type 100
1162     resist_physical 10
1163     dam 2
1164     material 8194
1165     materialname steel
1166     weight 125
1167     value 40
1168     end
1169     #
1170     Allowed gauntlets
1171     chance 20
1172     Object the Titans
1173     type 100
1174     resist_physical 10
1175     dam 8
1176     weight 2500
1177     value 40
1178     end
1179     #
1180     Allowed gloves
1181     chance 20
1182     Object marksmanship
1183     type 100
1184     resist_physical 2
1185     wc 4
1186     weight 95
1187     value 40
1188     item_power 4
1189     end
1190     #
1191     Allowed gloves
1192     chance 20
1193     Object oiled leather
1194     material 8200
1195     materialname leather
1196     type 100
1197     resist_acid 25
1198     cha -4
1199     dex -2
1200     weight 115
1201     value 40
1202     end
1203    
1204     #
1205     # Armour
1206     #
1207     Allowed all
1208     chance 10
1209     Object Ilrya
1210     type 16
1211     value 10
1212     weight 80
1213     msg
1214     This armour is made of lighter and more expensive material.
1215     endmsg
1216     end
1217     #
1218     Allowed all
1219     chance 20
1220     Object Mass
1221     type 16
1222     value 5
1223     cursed 1
1224     weight 300
1225     end
1226     #
1227     Allowed all
1228     chance 2
1229     Object Great Mass
1230     type 16
1231     value 50
1232     damned 1
1233     weight 1000
1234     end
1235     #
1236     Allowed all
1237     chance 6
1238     Object Clumsiness
1239     type 16
1240     value 15
1241     Dex -1
1242     cursed 1
1243     end
1244     #
1245     Allowed plate_mail,scale_mail
1246     chance 6
1247     Object Valriel
1248     type 16
1249     value 20
1250     resist_physical 5
1251     resist_blind 40
1252     weight 110
1253     magic 1
1254     item_power 2
1255     end
1256     #
1257     Allowed plate_mail,scale_mail
1258     chance 6
1259     Object Gorokh
1260     type 16
1261     value 15
1262     ac 2
1263     resist_magic 15
1264     resist_fear 30
1265     resist_physical 15
1266     weight 105
1267     magic 1
1268     item_power 3
1269     end
1270     #
1271     Allowed plate_mail,scale_mail
1272     chance 6
1273     Object Gnarg
1274     type 16
1275     value 15
1276     ac 1
1277     resist_poison +45
1278     resist_magic -10
1279     weight 105
1280     magic 1
1281     item_power 2
1282     end
1283     #
1284     Allowed plate_mail,scale_mail,dragon_mail
1285     chance 6
1286     Object Ruggilli
1287     type 16
1288     value 55
1289     ac 1
1290     resist_physical 15
1291     resist_fire 35
1292     weight 90
1293     magic 2
1294     item_power 3
1295     end
1296     #
1297     Allowed all
1298     chance 10
1299     Object Gaea
1300     type 16
1301     value 25
1302     ac 1
1303     hp 1
1304     resist_drain 30
1305     resist_deplete 30
1306     resist_death 30
1307     resist_physical 10
1308     magic 2
1309     item_power 5
1310     end
1311     #
1312     Allowed all
1313     chance 6
1314     Object Protection
1315     type 16
1316     value 15
1317     ac 2
1318     resist_physical 20
1319     magic 3
1320     msg
1321     The quality of this superb armour
1322     is extreme; it gives much more
1323     protection than any made today.
1324     It is very old, probably from some
1325     lost civilization who had much
1326     better skills, but it doesn't look
1327     worn at all. It is obviously highly
1328     enchanted.
1329     endmsg
1330     item_power 3
1331     end
1332     #
1333     Allowed all
1334     chance 6
1335     Object Berwean
1336     type 16
1337     value 15
1338     ac -1
1339     resist_physical 8
1340     last_sp 150
1341     exp 1
1342     weight 70
1343     msg
1344     This armour is made of very light and
1345     expensive material. As a result you
1346     can move much faster in it, but it gives
1347     a bit worse protection than normal armour.
1348     endmsg
1349     end
1350     #
1351     Allowed all
1352     chance 3
1353     Object Doom
1354     type 16
1355     damned 1
1356     Str -5
1357     Con -5
1358     Dex -5
1359     Wis -5
1360     Int -5
1361     Pow -5
1362     Cha -5
1363     value 30
1364     magic 1
1365     end
1366     #
1367     Allowed all
1368     chance 20
1369     Object Woe
1370     type 16
1371     cursed 1
1372     Str -1
1373     Con -1
1374     Dex -1
1375     Wis -1
1376     Int -1
1377     Pow -1
1378     Cha -1
1379     luck -1
1380     value 5
1381     end
1382     #
1383     Allowed plate_mail
1384     chance 1
1385     Object Power
1386     type 16
1387     value 150
1388     magic 4
1389     Str 1
1390     resist_fire 30
1391     weight 200
1392     last_sp 5
1393     resist_physical 20
1394     ac 1
1395     msg
1396     This extremely unique platemail was made
1397     for the line of dwarven kings in one of the
1398     vanished northern kingdoms of old.
1399     Due to its magic, it will fit creatures of any size.
1400     It is highly enchanted, increasing the strength of the
1401     wearer and protecting against fire.
1402     Unfortunately it is also very heavy, limiting speed somewhat.
1403     endmsg
1404     item_power 4
1405     end
1406     #
1407     Allowed plate_mail
1408     chance 5
1409     Object Prowess
1410     type 16
1411     resist_physical 30
1412     weight 250
1413     ac 1
1414     Str 2
1415     Dex 2
1416     Int -5
1417     Pow -5
1418     value 100
1419     msg
1420     This very heavy armour gives protection
1421     greater than normal mail. It is created
1422     for fighters - the high weight and the fact
1423     that it clouds the mind makes it unsuitable for
1424     mages. It increases the wearer's strength and
1425     dexterity, making him even more fearsome in
1426     battle.
1427     endmsg
1428     end
1429     #
1430     Allowed leather_armour,mithril_chainmail
1431     chance 10
1432     Object Irial
1433     type 16
1434     value 10
1435     Cha 1
1436     msg
1437     This armour, which is of elven origin,
1438     is beautifully decorated with ancient emblems.
1439     endmsg
1440     item_power 1
1441     end
1442     #
1443     # Robes (subtype of armor)
1444     #
1445     Allowed robe
1446     chance 10
1447     Object Displacement
1448     type 16
1449     value 100
1450     ac 3
1451     msg
1452     This robe blurs the vision of those trying
1453     to attack, making the wearer more difficult to hit.
1454     endmsg
1455     item_power 3
1456     end
1457     #
1458     Allowed robe
1459     chance 10
1460     Object metal weave
1461     face metalrobe.111
1462     material 2
1463     type 16
1464     value 100
1465     weight 150
1466     resist_physical 15
1467     ac 3
1468     msg
1469     This magical robe is somehow woven of
1470     metal fibers.
1471     endmsg
1472     item_power 3
1473     end
1474     #
1475     # Rings
1476     #
1477     # Ring of Thieves
1478     #
1479     Allowed all
1480     chance 20
1481     Object Thieves
1482     value 80
1483     type 70
1484     face ring.117
1485     exp 5
1486     Dex 3
1487     stealth 1
1488     can_see_in_dark 1
1489     item_power 10
1490     end
1491     #
1492     #Ring of Fighting
1493     #
1494     Allowed all
1495     chance 32
1496     Object Fighting
1497     face ring.117
1498     type 70
1499     value 30
1500     Str 1
1501     Con 1
1502     exp 2
1503     wc 2
1504     dam 2
1505     hp 1
1506     item_power 9
1507     end
1508     #
1509     #Ring of Combat
1510     #
1511     Allowed all
1512     chance 8
1513     Object Combat
1514     type 70
1515     face ring.117
1516     value 130
1517     Str 1
1518     Con 1
1519     Dex 1
1520     wc 2
1521     exp 3
1522     magic -1
1523     resist_physical 10
1524     resist_magic -5
1525     dam 2
1526     hp 1
1527     item_power 8
1528     end
1529     #
1530     #
1531     #Ring of Strife
1532     #
1533     Allowed all
1534     chance 4
1535     Object Strife
1536     type 70
1537     face ring.117
1538     value 230
1539     exp 4
1540     Str 2
1541     Con 2
1542     Dex 2
1543     Wis -1
1544     Int -1
1545     wc 2
1546     magic -1
1547     resist_physical 20
1548     resist_magic -15
1549     ac 1
1550     dam 3
1551     hp 2
1552     item_power 6
1553     end
1554     #
1555     #Ring of War
1556     #
1557     Allowed all
1558     chance 1
1559     Object War
1560     face ring.117
1561     type 70
1562     value 350
1563     Str 3
1564     Con 3
1565     Dex 3
1566     Int -1
1567     Wis -1
1568     Pow -1
1569     magic -5
1570     exp 5
1571     resist_physical 30
1572     resist_magic -20
1573     hp 3
1574     dam 5
1575     ac 2
1576     wc 3
1577     item_power 7
1578     end
1579     #
1580     #Ring of Ice
1581     #
1582     Allowed all
1583     chance 33
1584     Object Ice
1585     face ring.117
1586     #color_fg light_blue
1587     type 70
1588     value 30
1589     resist_cold 30
1590     path_attuned 4
1591     msg
1592     This elemental ring is one of those made at
1593     the Guild of Magicks by the powerful wizards
1594     who survived the ancient war of the elementals.
1595     The wielder is surrounded by a thin, almost
1596     invisible, globe of warmth; which protects
1597     against cold. It also grants its holder
1598     greater control of cold spells.
1599     endmsg
1600     item_power 3
1601     end
1602     #
1603     Allowed all
1604     chance 28
1605     Object Fire
1606     face ring.117
1607     #color_fg red
1608     type 70
1609     value 35
1610     resist_fire 30
1611     path_attuned 2
1612     msg
1613     This elemental ring is one of those
1614     made at the Guild of Magicks by the
1615     powerful wizards who survived the
1616     ancient war of the elementals.
1617     The wielder is surrounded by a thin,
1618     almost invisible, globe of coolness;
1619     which protects against heat. It also
1620     grants the holder greater facility
1621     with fire spells.
1622     endmsg
1623     item_power 3
1624     end
1625     #
1626     Allowed all
1627     chance 40
1628     Object Storm
1629     face ring.117
1630     type 70
1631     value 25
1632     resist_electricity 30
1633     path_attuned 8
1634     msg
1635     This elemental ring is one of those made
1636     at the Guild of Magicks by the powerful
1637     wizards who survived the ancient war
1638     of the elementals. The wielder is
1639     surrounded by a thin, almost invisible,
1640     grid of force; which protects against
1641     electricity. It also gives facility
1642     with electricity spells.
1643     endmsg
1644     item_power 3
1645     end
1646     #
1647     Allowed all
1648     chance 13
1649     Object Magic
1650     face ring.117
1651     type 70
1652     value 80
1653     sp 1
1654     Pow 1
1655     resist_magic 20
1656     msg
1657     Most highlevel wizards receive one of
1658     these from their guild when they become
1659     its leader.
1660     endmsg
1661     item_power 3
1662     end
1663     #
1664     Allowed all
1665     chance 7
1666     Object Ancient Magic
1667     face ring.117
1668     type 70
1669     value 150
1670     sp 2
1671     Int 1
1672     Pow 1
1673     resist_magic 25
1674     item_power 5
1675     end
1676     #
1677     Allowed all
1678     chance 4
1679     Object High Magic
1680     face ring.117
1681     type 70
1682     value 250
1683     sp 2
1684     material 256
1685     Int 2
1686     Pow 2
1687     resist_magic 30
1688     item_power 7
1689     end
1690     #
1691     # Slaying balrog--aint no such thing as a balrog yet, but.. when there is...
1692     # Mithrandir's magic ring--gives power according to the ability of the user
1693     #
1694     Allowed all
1695     chance 1
1696     Object Mithrandir
1697     slaying Balrog
1698     face ring.117
1699     type 70
1700     value 450
1701     sp 2
1702     Int 2
1703     material 256
1704     Pow 2
1705     resist_magic 30
1706     resist_fire 20
1707     path_attuned 2
1708     item_power 9
1709     end
1710     #
1711     # Galadriel's magic ring. She used it for the protection and healing
1712     # of her land in Lord of the Rings
1713     #
1714     Allowed all
1715     chance 1
1716     Object Adamant
1717     face ring.117
1718     type 70
1719     value 450
1720     sp 3
1721     material 256
1722     Int 3
1723     Pow 2
1724     resist_magic 30
1725     resist_drain 100
1726     path_attuned 257
1727     item_power 15
1728     end
1729     #
1730     # Elrond's magic ring. It was the greatest of the three rings.
1731     #
1732     Allowed all
1733     chance 1
1734     Object Elrond
1735     face ring.117
1736     type 70
1737     value 550
1738     sp 3
1739     material 256
1740     Int 3
1741     Pow 3
1742     resist_magic 30
1743     resist_drain 100
1744     resist_deplete 100
1745     path_attuned 259
1746     item_power 25
1747     end
1748     #
1749     # The One Ring to rule them all
1750     #
1751     Allowed all
1752     chance 1
1753     difficulty 6
1754     Object Ruling
1755     face ring.117
1756     type 70
1757     value 1750
1758     sp 5
1759     Int 3
1760     Pow 3
1761     Wis 2
1762     Con -2
1763     Cha -2
1764     msg
1765     One Ring to rule them all,
1766     One Ring to find them,
1767     One Ring to bring them all
1768     and in the darkness bind them.
1769     endmsg
1770     food 2
1771     stealth 1
1772     ac 6
1773     material 256
1774     resist_magic 40
1775     resist_ghosthit -100
1776     path_attuned 606
1777     path_repelled 257
1778     item_power 15
1779     end
1780     #
1781     # Beguilement
1782     #
1783     Allowed all
1784     chance 13
1785     Object Beguilement
1786     face ring.117
1787     type 70
1788     value 50
1789     Cha 3
1790     item_power 3
1791     end
1792     #
1793     # Ring of the Dark Priest
1794     #
1795     Allowed all
1796     chance 4
1797     Object the Dark Priest
1798     face ring.117
1799     type 70
1800     value 50
1801     Cha -1
1802     material 256
1803     path_attuned 131072
1804     path_repelled 256
1805     Wis 1
1806     Pow 1
1807     can_see_in_dark 1
1808     grace 1
1809     item_power 3
1810     end
1811     #
1812     # Ring of the Healer
1813     #
1814     Allowed all
1815     chance 4
1816     Object the Healer
1817     face ring.117
1818     type 70
1819     value 50
1820     Cha 1
1821     material 256
1822     path_attuned 256
1823     path_repelled 131072
1824     Wis 1
1825     Pow 1
1826     grace 1
1827     item_power 4
1828     end
1829     #
1830     # Ring of the Paladin
1831     #
1832     Allowed all
1833     chance 4
1834     Object the Paladin
1835     face ring.117
1836     type 70
1837     value 50
1838     Cha 1
1839     path_attuned 65536
1840     path_repelled 64
1841     Wis 1
1842     material 256
1843     Pow 1
1844     grace 1
1845     item_power 4
1846     end
1847     #
1848     # Ring of the Prelate
1849     #
1850     Allowed all
1851     chance 7
1852     Object the Prelate
1853     face ring.117
1854     type 70
1855     value 250
1856     Cha 1
1857     path_attuned 65664
1858     Wis 2
1859     material 256
1860     Pow 1
1861     grace 2
1862     item_power 7
1863     end
1864     #
1865     # Ring of the Demon Priest
1866     #
1867     Allowed all
1868     chance 2
1869     difficulty 6
1870     Object the Demon Priest
1871     face ring.117
1872     type 70
1873     material 256
1874     value 250
1875     Cha -2
1876     path_attuned 131136
1877     path_repelled 256
1878     resist_fire 30
1879     Wis 2
1880     Pow 2
1881     grace 2
1882     can_see_in_dark 1
1883     item_power 6
1884     end
1885     #
1886     # Ring of Benevolence
1887     #
1888     Allowed all
1889     chance 2
1890     difficulty 6
1891     Object Benevolence
1892     face ring.117
1893     type 70
1894     material 256
1895     value 250
1896     Cha 2
1897     path_attuned 257
1898     path_repelled 131072
1899     Wis 2
1900     Pow 2
1901     grace 2
1902     resist_magic 30
1903     item_power 7
1904     msg
1905     This ring is blessed by the gods who do good,
1906     and protects a little against the power of those who
1907     twist natural forces to do harm.
1908     endmsg
1909     end
1910     #
1911     # Ring of the Crusade
1912     #
1913     Allowed all
1914     chance 2
1915     difficulty 6
1916     Object the Crusade
1917     face ring.117
1918     type 70
1919     value 250
1920     material 256
1921     Cha 2
1922     path_attuned 65664
1923     Wis 2
1924     Pow 2
1925     resist_drain 100
1926     grace 2
1927     item_power 14
1928     end
1929     #
1930     # Ring of the Death Priest
1931     #
1932     Allowed all
1933     chance 1
1934     difficulty 7
1935     Object the Death Priest
1936     face ring.117
1937     type 70
1938     value 400
1939     material 256
1940     Cha -3
1941     path_attuned 393280
1942     path_repelled 256
1943     resist_death 100
1944     resist_fear 100
1945     can_see_in_dark 1
1946     Wis 3
1947     Pow 2
1948     grace 3
1949     item_power 20
1950     end
1951     #
1952     # Ring of the Saint
1953     #
1954     Allowed all
1955     difficulty 7
1956     chance 1
1957     Object the Saint
1958     face ring.117
1959     type 70
1960     material 256
1961     value 400
1962     Cha 3
1963     path_attuned 65665
1964     path_repelled 131072
1965     resist_drain 100
1966     resist_deplete 100
1967     resist_ghosthit 100
1968     Wis 3
1969     Pow 2
1970     grace 2
1971     item_power 25
1972     end
1973     #
1974     # Ring of Miracles
1975     #
1976     Allowed all
1977     difficulty 7
1978     chance 1
1979     Object Miracles
1980     face ring.117
1981     type 70
1982     value 450
1983     Cha 3
1984     path_attuned 67969
1985     path_repelled 131072
1986     path_denied 262144
1987     resist_drain 100
1988     resist_deplete 100
1989     Wis 3
1990     Pow 3
1991     material 256
1992     grace 3
1993     item_power 30
1994     end
1995     #
1996     #
1997     Allowed all
1998     chance 40
1999     Object Acid
2000     face ring.117
2001     type 70
2002     value 25
2003     resist_acid 30
2004     material 256
2005     resist_physical 20
2006     msg
2007     This elemental ring is one of those
2008     made at the Guild of Magicks by the
2009     powerful wizards who survived the
2010     ancient war of the elementals.
2011     The wielder is surrounded by a thin,
2012     almost invisible globe of base liquid;
2013     which protects against acid. It also
2014     gives a fair protection against normal attacks.
2015     endmsg
2016     item_power 3
2017     end
2018     #
2019     Allowed all
2020     chance 17
2021     Object Free Action
2022     face ring.117
2023     type 70
2024     value 60
2025     resist_slow 100
2026     resist_paralyze 100
2027     resist_confusion 30
2028     resist_fear 30
2029     item_power 11
2030     end
2031     #
2032     Allowed all
2033     chance 13
2034     Object Life
2035     face ring.117
2036     type 70
2037     value 80
2038     resist_drain 100
2039     resist_deplete 100
2040     hp 2
2041     msg
2042     This semi-elemental ring is one of those made
2043     at the Guild of Magics by the powerful wizards
2044     who survived the ancient war of the elementals.
2045     The wielder is surrounded by a thin, almost
2046     invisible, globe of positive energy; which
2047     makes the wielder immune from life draining.
2048     It also grants an unnatural vitality.
2049     endmsg
2050     item_power 9
2051     end
2052     #
2053     Allowed all
2054     chance 50
2055     Object Halvor
2056     face ring.117
2057     type 70
2058     value 20
2059     Str 1
2060     resist_paralyze 100
2061     item_power 5
2062     end
2063     #
2064     Allowed all
2065     chance 25
2066     Object Yordan
2067     face ring.117
2068     type 70
2069     value 40
2070     wc 2
2071     Dex 2
2072     dam 2
2073     item_power 6
2074     end
2075     #
2076     Allowed all
2077     chance 25
2078     Object Extremity
2079     face ring.117
2080     type 70
2081     value 40
2082     wc 2
2083     Str 4
2084     Dex 4
2085     Con -5
2086     Int -3
2087     Wis -3
2088     Pow -5
2089     damned 1
2090     end
2091     #
2092     Allowed all
2093     chance 33
2094     Object Doom
2095     face ring.117
2096     type 70
2097     damned 1
2098     Str -5
2099     Con -5
2100     Dex -5
2101     Wis -5
2102     Int -5
2103     Pow -5
2104     Cha -5
2105     value 30
2106     end
2107     #
2108     Allowed all
2109     chance 200
2110     Object Woe
2111     type 70
2112     face ring.117
2113     cursed 1
2114     Str -1
2115     Con -1
2116     Dex -1
2117     Wis -1
2118     Int -1
2119     Pow -1
2120     Cha -1
2121     luck -1
2122     value 5
2123     end
2124     #
2125     Allowed all
2126     chance 15
2127     Object Occidental Mages
2128     type 70
2129     face ring.117
2130     value 5
2131     msg
2132     The Ancient School of Occidental Mages created that ring during
2133     the Empire Wars, charging it with their Chaotic Powers.
2134     endmsg
2135     event_apply_plugin Python
2136     event_apply /python/items/ring_occidental_mages.py
2137     end
2138     #
2139     # Horns:
2140     #
2141     Allowed all
2142     chance 17
2143     Object Plenty
2144     face horn2.111
2145     type 35
2146     level -20
2147     hp -30
2148     maxhp -30
2149     value 25
2150     other_arch spell_create_food
2151     end
2152     #
2153     Allowed all
2154     chance 10
2155     Object Fire
2156     type 35
2157     other_arch spell_firebolt
2158     hp -40
2159     maxhp -40
2160     value 10
2161     end
2162     #
2163     Allowed all
2164     chance 10
2165     Object Frost
2166     type 35
2167     other_arch spell_frostbolt
2168     hp -40
2169     maxhp -40
2170     value 10
2171     end
2172     #
2173     Allowed all
2174     chance 33
2175     Object Aggravation
2176     type 35
2177     other_arch spell_aggravation
2178     hp -10
2179     maxhp -10
2180     value 3
2181     cursed 1
2182     end
2183     #
2184     Allowed all
2185     chance 20
2186     Object Fools
2187     type 35
2188     other_arch spell_aggravation
2189     hp -10
2190     maxhp -10
2191     value 5
2192     luck -2
2193     Int -2
2194     damned 1
2195     end
2196     #
2197     Allowed all
2198     chance 5
2199     Object Sirens
2200     msg
2201     This is a charming little horn.
2202     endmsg
2203     type 35
2204     other_arch spell_siren_call
2205     hp -20
2206     maxhp -20
2207     Cha 2
2208     Int -2
2209     value 30
2210     end
2211     #
2212     Allowed all
2213     chance 3
2214     Object Eorlingas
2215     type 35
2216     other_arch spell_firebolt
2217     hp -100
2218     maxhp -100
2219     value 40
2220     Cha 1
2221     end
2222     #
2223     # Cloaks
2224     #
2225     Allowed all
2226     chance 49
2227     Object Woe
2228     type 87
2229     cursed 1
2230     Str -1
2231     Con -1
2232     Dex -1
2233     Wis -1
2234     Int -1
2235     Pow -1
2236     Cha -1
2237     luck -1
2238     value 5
2239     end
2240     #
2241     Allowed all
2242     chance 50
2243     Object Woe
2244     type 87
2245     cursed 1
2246     Str -1
2247     Con -1
2248     Dex -1
2249     Wis -1
2250     Int -1
2251     Pow -1
2252     Cha -1
2253     luck -1
2254     value 5
2255     face cloak_black.111
2256     stand_still 1
2257     end
2258     #
2259     Allowed all
2260     chance 50
2261     Object Woe
2262     type 87
2263     cursed 1
2264     Str -1
2265     Con -1
2266     Dex -1
2267     Wis -1
2268     Int -1
2269     Pow -1
2270     Cha -1
2271     luck -1
2272     value 5
2273     face cloak_red.111
2274     stand_still 1
2275     end
2276     #
2277     Allowed all
2278     chance 50
2279     Object Woe
2280     type 87
2281     cursed 1
2282     Str -1
2283     Con -1
2284     Dex -1
2285     Wis -1
2286     Int -1
2287     Pow -1
2288     Cha -1
2289     luck -1
2290     value 5
2291     face cloak_white.111
2292     stand_still 1
2293     end
2294     #
2295     Allowed all
2296     chance 3
2297     Object Doom
2298     type 87
2299     damned 1
2300     Str -5
2301     Con -5
2302     Dex -5
2303     Wis -5
2304     Int -5
2305     Pow -5
2306     Cha -5
2307     value 30
2308     magic 1
2309     face cloak_lgrey.111
2310     stand_still 1
2311     end
2312     #
2313     Allowed all
2314     chance 3
2315     Object Doom
2316     type 87
2317     damned 1
2318     Str -5
2319     Con -5
2320     Dex -5
2321     Wis -5
2322     Int -5
2323     Pow -5
2324     Cha -5
2325     value 30
2326     magic 1
2327     face cloak_black.111
2328     stand_still 1
2329     end
2330     #
2331     Allowed all
2332     chance 2
2333     Object the Magi
2334     type 87
2335     weight 120
2336     Pow 1
2337     Wis 1
2338     sp 2
2339     value 2000
2340     material 8320
2341     materialname astolare
2342     face cloak_purple.111
2343     stand_still 1
2344     item_power 4
2345     end
2346     #
2347     Allowed all
2348     chance 2
2349     Object Lythander
2350     type 87
2351     weight 120
2352     Pow 2
2353     sp 1
2354     resist_confusion 55
2355     value 2000
2356     material 256
2357     face serp_cloak.111
2358     stand_still 1
2359     item_power 5
2360     end
2361     #
2362     Allowed all
2363     chance 2
2364     Object Gaea
2365     type 87
2366     weight 120
2367     reflect_spell 1
2368     Str -1
2369     hp 2
2370     resist_fire 10
2371     resist_cold 10
2372     resist_electricity 10
2373     value 2000
2374     material 256
2375     face serp_cloak.111
2376     stand_still 1
2377     item_power 3
2378     end
2379     #
2380     Allowed all
2381     chance 50
2382     difficulty 3
2383     Object minor protection
2384     weight 120
2385     type 87
2386     value 20
2387     ac 1
2388     face cloak_lgrey.111
2389     stand_still 1
2390     item_power 1
2391     end
2392     #
2393     Allowed all
2394     chance 10
2395     difficulty 5
2396     Object intermediate protection
2397     weight 125
2398     type 87
2399     value 100
2400     ac 2
2401     face cloak_white.111
2402     stand_still 1
2403     item_power 2
2404     end
2405     #
2406     Allowed all
2407     chance 3
2408     difficulty 7
2409     Object greater protection
2410     type 87
2411     weight 130
2412     value 300
2413     ac 3
2414     material 8320
2415     materialname astolare
2416     face cloak_white.111
2417     stand_still 1
2418     item_power 3
2419     end
2420     #
2421     Allowed all
2422     chance 10
2423     difficulty 3
2424     Object beguilement
2425     type 87
2426     value 100
2427     Cha 2
2428     weight 110
2429     face cloak_lblue.111
2430     stand_still 1
2431     item_power 2
2432     end
2433     #
2434     Allowed all
2435     chance 3
2436     difficulty 3
2437     Object Asbestos
2438     type 87
2439     weight 135
2440     value 400
2441     resist_fire 25
2442     material 8320
2443     materialname asbestos
2444     face cloak_lgrey.111
2445     stand_still 1
2446     item_power 1
2447     end
2448     #
2449     Allowed all
2450     chance 3
2451     difficulty 3
2452     Object Warmth
2453     type 87
2454     weight 140
2455     value 350
2456     resist_cold 25
2457     material 8320
2458     materialname wool
2459     face cloak_red.111
2460     stand_still 1
2461     item_power 1
2462     end
2463     #
2464     Allowed all
2465     chance 3
2466     difficulty 3
2467     Object Insulation
2468     type 87
2469     weight 140
2470     value 350
2471     resist_electricity 25
2472     material 8320
2473     materialname rubber
2474     face cloak_white.111
2475     stand_still 1
2476     item_power 1
2477     end
2478     #
2479     Allowed all
2480     chance 2
2481     difficulty 3
2482     Object Acid Proofing
2483     type 87
2484     value 500
2485     weight 95
2486     resist_acid 65
2487     material 8320
2488     materialname astolare
2489     face cloak_black.111
2490     stand_still 1
2491     item_power 3
2492     end
2493     #
2494     Allowed all
2495     chance 3
2496     difficulty 3
2497     Object the Devourers
2498     type 87
2499     value 500
2500     weight 50
2501     resist_drain 30
2502     resist_ghosthit 30
2503     resist_deplete 100
2504     material 8320
2505     materialname astolare
2506     Cha -2
2507     face cloak_black.111
2508     stand_still 1
2509     item_power 4
2510     end
2511     #
2512     Allowed all
2513     chance 1
2514     difficulty 5
2515     Object Gorokh
2516     type 87
2517     value 5000
2518     weight 200
2519     resist_fire 30
2520     resist_acid 50
2521     material 0
2522     Cha -6
2523     face cloak_red.111
2524     stand_still 1
2525     end
2526     #
2527     Allowed all
2528     chance 1
2529     difficulty 7
2530     Object the Underworld
2531     type 87
2532     value 2000
2533     resist_confusion 50
2534     resist_acid 90
2535     resist_drain 100
2536     resist_fire -10
2537     resist_ghosthit 90
2538     resist_deplete 100
2539     weight 150
2540     material 8320
2541     materialname astolare
2542     Cha -4
2543     face cloak_black.111
2544     stand_still 1
2545     item_power 19
2546     end
2547     #
2548     Allowed all
2549     chance 1
2550     difficulty 20
2551     Object Invisibility
2552     type 87
2553     value 800
2554     weight 130
2555     material 8320
2556     materialname astolare
2557     Str -10
2558     Dex -10
2559     Con -10
2560     msg
2561     This cloak sucks vitality from the
2562     wearer in order to maintain his
2563     invisibility.
2564     endmsg
2565     make_invisible 1
2566     resist_paralyze -100
2567     face cloak_trans.112
2568     stand_still 1
2569     end
2570     #
2571     Allowed all
2572     chance 1
2573     difficulty 50
2574     Object Unholy Protection
2575     type 87
2576     damned 1
2577     weight 50
2578     resist_holyword 50
2579     material 8320
2580     materialname astolare
2581     Wis -2
2582     face cloak_black.111
2583     stand_still 1
2584     item_power 5
2585     end
2586     #
2587     #Artifact boots!
2588     #
2589     Allowed low_boots
2590     chance 1
2591     difficulty 15
2592     Object Invisibility
2593     type 99
2594     value 800
2595     weight 60
2596     material 8200
2597     materialname dragonhide
2598     ac 1
2599     Str -10
2600     Dex -12
2601     Con -10
2602     msg
2603     These shoes prevent others from seeing
2604     your movements. Bewarned however that
2605     they slow you down and draw strength
2606     from you. Not only this but some
2607     enemies can still see you with magic!
2608     endmsg
2609     make_invisible 1
2610     face low_boots.111
2611     stand_still 1
2612     end
2613     #
2614     Allowed !sandals
2615     chance 20
2616     difficulty 2
2617     Object granite
2618     type 99
2619     value 60
2620     weight 1000
2621     material 8256
2622     materialname granite
2623     ac 5
2624     msg
2625     What strange boots, they look very
2626     protective, but amazingly heavy.
2627     There also doesn't appear to be
2628     any laces, you wonder how you're ever
2629     going to take them off.
2630     endmsg
2631     face high_boots.111
2632     stand_still 1
2633     cursed 1
2634     end
2635     #
2636     Allowed !high_boots
2637     chance 40
2638     difficulty 1
2639     Object mobility
2640     type 99
2641     value 50
2642     weight 80
2643     material 8200
2644     materialname dragonhide
2645     resist_confusion 25
2646     resist_slow 20
2647     resist_paralyze 20
2648     resist_fear 50
2649     speed 2
2650     msg
2651     These sure look like useful boots.
2652     They feel alittle lighter and appear
2653     abit sleeker.
2654     endmsg
2655     stand_still 1
2656     item_power 4
2657     end
2658     #
2659     Allowed all
2660     chance 40
2661     difficulty 1
2662     Object clawing
2663     type 99
2664     value 50
2665     weight 120
2666     material 8200
2667     materialname dragonhide
2668     dam 2
2669     msg
2670     These boots have sharpened claws at the
2671     tips, which look like they would aid
2672     greatly in combat.
2673     endmsg
2674     stand_still 1
2675     item_power 1
2676     end
2677     #
2678     Allowed all
2679     chance 40
2680     difficulty 1
2681     Object of steel
2682     type 99
2683     value 50
2684     weight 110
2685     material 8194
2686     materialname steel
2687     ac 1
2688     resist_physical 10
2689     msg
2690     The metal exterior provides alittle
2691     extra resistance.
2692     endmsg
2693     stand_still 1
2694     item_power 2
2695     end
2696     #
2697    
2698     #
2699     #Artifact gems!
2700     #
2701     Allowed diamond
2702     chance 60
2703     Object great value
2704     face pretty_crystal.111
2705     stand_still 1
2706     value 10
2707     type 60
2708     weight 110
2709     end
2710     #
2711     Allowed diamond
2712     chance 20
2713     difficulty 3
2714     Object exceptional beauty
2715     face pretty_crystal.111
2716     value 100
2717     stand_still 1
2718     type 60
2719     weight 130
2720     nrof 4
2721     end
2722     #
2723     Allowed diamond
2724     chance 5
2725     difficulty 5
2726     Object flawless beauty
2727     face pretty_crystal.111
2728     value 1000
2729     stand_still 1
2730     type 60
2731     weight 200
2732     nrof 4
2733     end
2734     #
2735     Allowed ruby
2736     chance 60
2737     Object great value
2738     face pretty_ruby.111
2739     stand_still 1
2740     value 10
2741     type 60
2742     weight 110
2743     end
2744     #
2745     Allowed ruby
2746     chance 20
2747     difficulty 3
2748     Object exceptional beauty
2749     face pretty_ruby.111
2750     value 100
2751     stand_still 1
2752     type 60
2753     weight 130
2754     nrof 4
2755     end
2756     #
2757     Allowed ruby
2758     chance 5
2759     difficulty 5
2760     Object flawless beauty
2761     face pretty_ruby.111
2762     value 1000
2763     stand_still 1
2764     type 60
2765     weight 200
2766     nrof 4
2767     end
2768     #
2769     Allowed sapphire
2770     chance 60
2771     Object great value
2772     face pretty_sapphire.111
2773     stand_still 1
2774     value 10
2775     type 60
2776     weight 110
2777     end
2778     #
2779     Allowed sapphire
2780     chance 20
2781     difficulty 3
2782     Object exceptional beauty
2783     face pretty_sapphire.111
2784     value 100
2785     stand_still 1
2786     type 60
2787     weight 130
2788     nrof 4
2789     end
2790     #
2791     Allowed sapphire
2792     chance 5
2793     difficulty 5
2794     Object flawless beauty
2795     face pretty_sapphire.111
2796     value 1000
2797     stand_still 1
2798     type 60
2799     weight 200
2800     nrof 4
2801     end
2802     #
2803     Allowed emerald
2804     chance 60
2805     Object great value
2806     face pretty_emerald.111
2807     stand_still 1
2808     value 10
2809     type 60
2810     weight 110
2811     end
2812     #
2813     Allowed emerald
2814     chance 20
2815     difficulty 3
2816     Object exceptional beauty
2817     face pretty_emerald.111
2818     value 100
2819     stand_still 1
2820     type 60
2821     weight 130
2822     nrof 4
2823     end
2824     #
2825     Allowed emerald
2826     chance 5
2827     difficulty 5
2828     Object flawless beauty
2829     face pretty_emerald.111
2830     value 1000
2831     stand_still 1
2832     type 60
2833     weight 200
2834     nrof 4
2835     end
2836     #
2837     Allowed amethyst
2838     chance 60
2839     Object great value
2840     face pretty_amethyst.111
2841     stand_still 1
2842     value 10
2843     type 60
2844     weight 110
2845     end
2846     #
2847     Allowed amethyst
2848     chance 20
2849     difficulty 3
2850     Object exceptional beauty
2851     face pretty_amethyst.111
2852     value 100
2853     stand_still 1
2854     type 60
2855     weight 130
2856     nrof 4
2857     end
2858     #
2859     Allowed amethyst
2860     chance 5
2861     difficulty 5
2862     Object flawless beauty
2863     face pretty_amethyst.111
2864     value 1000
2865     stand_still 1
2866     type 60
2867     weight 200
2868     nrof 4
2869     end
2870     #
2871     #
2872     #Amulets!
2873     #
2874     Allowed all
2875     chance 127
2876     Object Shielding
2877     face amulet_lif.111
2878     resist_physical 20
2879     type 39
2880     value 20
2881     item_power 1
2882     end
2883     #
2884     Allowed all
2885     chance 127
2886     Object Sustenance
2887     face amulet_lif.111
2888     food 15
2889     type 39
2890     value 20
2891     # item power calculation is skewed because of
2892     # the high food value above
2893     item_power 4
2894     end
2895     #
2896     Allowed all
2897     chance 100
2898     difficulty 6
2899     Object Empowerment
2900     face amulet_lif.111
2901     material 256
2902     type 39
2903     value 40
2904     sp 2
2905     item_power 2
2906     end
2907     #
2908     Allowed all
2909     chance 255
2910     difficulty 6
2911     Object Sorrow
2912     face amulet_lif.111
2913     type 39
2914     value 0
2915     cursed 1
2916     resist_magic -100
2917     end
2918     #
2919     Allowed all
2920     chance 50
2921     difficulty 4
2922     Object Calling Death
2923     face amulet_lif.111
2924     type 39
2925     value 0
2926     damned 1
2927     cursed 1
2928     resist_physical -100
2929     resist_magic -100
2930     resist_fire -100
2931     resist_electricity -100
2932     resist_cold -100
2933     resist_confusion -100
2934     resist_acid -100
2935     end
2936     #
2937     Allowed all
2938     chance 10
2939     difficulty 10
2940     Object Aethereality
2941     face amulet_lif.111
2942     material 256
2943     type 39
2944     value 3000
2945     resist_physical 50
2946     item_power 3
2947     end
2948     #
2949     Allowed all
2950     chance 10
2951     difficulty 10
2952     Object Power
2953     type 39
2954     face amulet_lif.111
2955     material 256
2956     sp 7
2957     value 4000
2958     item_power 5
2959     end
2960     #
2961     Allowed all
2962     chance 75
2963     difficulty 7
2964     Object Deflection
2965     reflect_spell 1
2966     face amulet_lif.111
2967     reflect_missile 1
2968     material 256
2969     ac 2
2970     resist_physical 30
2971     type 39
2972     value 1000
2973     item_power 5
2974     end
2975     #
2976     Allowed all
2977     chance 50
2978     difficulty 7
2979     Object the Shielded Mind
2980     face amulet_lif.111
2981     type 39
2982     material 256
2983     resist_confusion 100
2984     resist_paralyze 100
2985     resist_fear 100
2986     value 1000
2987     item_power 14
2988     end
2989     #
2990     Allowed all
2991     chance 40
2992     difficulty 5
2993     Object Free Action
2994     face amulet_lif.111
2995     type 39
2996     material 256
2997     value 300
2998     resist_slow 100
2999     resist_paralyze 100
3000     resist_confusion 30
3001     resist_fear 30
3002     item_power 8
3003     end
3004     #
3005     Allowed all
3006     chance 5
3007     difficulty 9
3008     Object the Magi
3009     face amulet_lif.111
3010     type 39
3011     material 256
3012     sp 5
3013     Int 2
3014     Pow 2
3015     value 5000
3016     resist_magic 30
3017     reflect_spell 1
3018     item_power 12
3019     end
3020     #
3021     Allowed all
3022     chance 30
3023     difficulty 9
3024     Object Holiness
3025     face amulet_lif.111
3026     type 39
3027     material 256
3028     Wis 3
3029     value 300
3030     path_attuned 385
3031     item_power 3
3032     end
3033     #
3034     Allowed all
3035     chance 60
3036     difficulty 9
3037     Object Unholiness
3038     face amulet_lif.111
3039     type 39
3040     value 10
3041     path_repelled 257
3042     path_attuned 192
3043     damned 1
3044     cursed 1
3045     end
3046     #
3047     Allowed all
3048     chance 1
3049     difficulty 9
3050     Object Destruction
3051     face amulet_lif.111
3052     type 39
3053     value 800
3054     material 256
3055     path_repelled 256
3056     path_attuned 542
3057     path_denied 2048
3058     end
3059     #
3060     # Containers (the following is hack to get a quiver for bolts also)
3061     # It would be better that it would be possible to define object
3062     # NONE also, and not use the fixed probability.
3063     #
3064     Allowed quiver
3065     chance 100
3066     Object Holding Bolts
3067     type 122
3068     value 100
3069     race crossbow bolts
3070     Str 80
3071     end
3072     #
3073     Allowed quiver
3074     chance 100
3075     Object Holding Arrows
3076     type 122
3077     value 100
3078     Str 80
3079     end
3080     #
3081     Allowed !quiver,!cauldron
3082     chance 100
3083     Object Holding
3084     type 122
3085     value 100
3086     Str 50
3087     end
3088     #
3089     Allowed bag
3090     chance 10
3091     difficulty 7
3092     Object Great Holding
3093     type 122
3094     value 100
3095     Str 75
3096     end
3097     #
3098     # Arrows/Missiles
3099     #
3100     Allowed all
3101     chance 250
3102     Object inaccuracy
3103     type 13
3104     wc -7
3105     cursed 1
3106     end
3107     #
3108     Allowed all
3109     chance 100
3110     difficulty 5
3111     Object Accuracy
3112     type 13
3113     value 5
3114     wc 7
3115     dam -8
3116     food 50
3117     end
3118     #
3119     Allowed all
3120     chance 100
3121     Object Fire
3122     attacktype 4
3123     type 13
3124     dam -8
3125     value 6
3126     end
3127     #
3128     Allowed all
3129     chance 100
3130     Object Frost
3131     attacktype 16
3132     type 13
3133     dam -8
3134     value 6
3135     end
3136     #
3137     Allowed all
3138     chance 100
3139     difficulty 6
3140     Object Poison
3141     attacktype 1025
3142     type 13
3143     dam -8
3144     value 6
3145     magic 1
3146     end
3147     #
3148     Allowed all
3149     chance 100
3150     Object Lightning
3151     attacktype 8
3152     type 13
3153     dam -8
3154     value 6
3155     end
3156     #
3157     Allowed all
3158     chance 50
3159     difficulty 6
3160     Object Paralysis
3161     attacktype 4097
3162     type 13
3163     value 8
3164     wc 2
3165     food 80
3166     msg
3167     These missiles have been soaked in some
3168     strange liquid which stuns the victim.
3169     These missiles also broken much more easily
3170     than normal ones.
3171     endmsg
3172     end
3173     #
3174     Allowed all
3175     chance 20
3176     Object Assassinating Trolls
3177     slaying troll
3178     attacktype 131072
3179     msg
3180     These missiles are inscribed with
3181     powerful runes for the bane of
3182     trolls. A scratch from one of
3183     these arrows could smite one dead.
3184     endmsg
3185     type 13
3186     value 500
3187     wc 7
3188     dam -20
3189     food 100
3190     nrof 10
3191     level 40
3192     end
3193     #
3194     Allowed all
3195     chance 20
3196     difficulty 5
3197     Object Assassinating Dragons
3198     slaying dragon
3199     attacktype 131072
3200     msg
3201     These missiles are inscribed with
3202     powerful runes for the bane of
3203     dragons. A scratch from one of
3204     these arrows could smite one dead.
3205     endmsg
3206     type 13
3207     value 1000
3208     wc 7
3209     dam -20
3210     food 100
3211     nrof 10
3212     resist_fire 100
3213    
3214     level 50
3215     end
3216     #
3217     Allowed all
3218     chance 20
3219     difficulty 5
3220     Object Blessedness
3221     slaying undead,demon
3222     msg
3223     These missiles are invested
3224     with a great holiness so that
3225     even a scratch might banish
3226     an undead creature or a demon
3227     back to the hell from which it
3228     came.
3229     endmsg
3230     attacktype 131072
3231     type 13
3232     value 500
3233     wc 7
3234     dam -20
3235     food 70
3236     nrof 10
3237     level 50
3238     end
3239     #
3240     Allowed arrow
3241     chance 100
3242     difficulty 5
3243     Object Slay Dragon
3244     type 13
3245     value 5
3246     slaying dragon
3247     dam -12
3248     food 10
3249     end
3250     #
3251     Allowed arrow
3252     chance 50
3253     difficulty 8
3254     Object Magic
3255     type 13
3256     value 10
3257     attacktype 2
3258     dam -20
3259     wc 6
3260     msg
3261     These magical arrows are very powerful weapon.
3262     endmsg
3263     food 90
3264     end
3265     #
3266     Allowed bolt
3267     chance 1
3268     difficulty 5
3269     Object Demon Slaying
3270     type 13
3271     value 5
3272     slaying demon
3273     magic 4
3274     dam 12
3275     food 10
3276     msg
3277     This powerful bolt can rip
3278     right through any demon it
3279     is shot at, but it tends to
3280     break very easily.
3281     endmsg
3282     end
3283     #
3284     Allowed bolt
3285     chance 100
3286     difficulty 5
3287     Object silver head
3288     material 8194
3289     materialname silver
3290     type 13
3291     value 5
3292     slaying vampire
3293     attacktype 2
3294     end
3295     #
3296     Allowed bolt
3297     chance 50
3298     difficulty 8
3299     Object Piercing
3300     type 13
3301     value 7
3302     dam -25
3303     wc 6
3304     weight 150
3305     food 10
3306     end
3307     #
3308     Allowed bolt
3309     chance 10
3310     Object Adamantite
3311     type 13
3312     value 10
3313     weight 90
3314     material 8448
3315     materialname adamantium
3316     food 10
3317     end
3318     #
3319     # Bows
3320     #
3321     Allowed all
3322     chance 10
3323     Object Accuracy
3324     type 14
3325     value 5
3326     weight 80
3327     wc 4
3328     item_power 2
3329     end
3330     #
3331     Allowed all
3332     chance 10
3333     Object Valriel
3334     type 14
3335     magic 1
3336     value 15
3337     weight 110
3338     dam 20
3339     end
3340     #
3341     Allowed all
3342     chance 15
3343     Object Gorokh
3344     type 14
3345     magic 2
3346     value 15
3347     attacktype 65
3348     dam 16
3349     item_power 1
3350     end
3351     #
3352     Allowed !crossbow
3353     chance 10
3354     Object Lythander
3355     type 14
3356     magic 1
3357     value 22
3358     weight 75
3359     sp 150
3360     wc 1
3361     item_power 1
3362     end
3363     #
3364     Allowed crossbow
3365     chance 10
3366     Object Ruggilli
3367     type 14
3368     magic 2
3369     value 18
3370     weight 85
3371     sp 110
3372     wc 1
3373     attacktype 4
3374     item_power 2
3375     end
3376     #
3377     Allowed any
3378     chance 12
3379     Object Sorig
3380     type 14
3381     magic 2
3382     value 20
3383     weight 95
3384     sp 125
3385     wc 1
3386     attacktype 8
3387     item_power 2
3388     end
3389     #
3390     Allowed crossbow
3391     chance 5
3392     Object Mostrai
3393     type 14
3394     magic 3
3395     dam 14
3396     sp 75
3397     value 50
3398     attacktype 256
3399     item_power 1
3400     end
3401     #
3402     Allowed all
3403     chance 10
3404     difficulty 5
3405     Object Thunder
3406     type 14
3407     value 10
3408     magic 2
3409     weight 90
3410     dam 15
3411     wc 2
3412     attacktype 6145
3413     item_power 3
3414     end
3415     #
3416     Allowed all
3417     chance 40
3418     Object inaccuracy
3419     type 14
3420     value 5
3421     wc -4
3422     cursed 1
3423     end
3424     #
3425     Allowed bow
3426     chance 1
3427     difficulty 5
3428     Object Auriga
3429     type 14
3430     weight 80
3431     msg
3432     This magical bow shoots with
3433     such force that the arrows
3434     sometimes fly right through
3435     the target.
3436     endmsg
3437     value 100
3438     wc 5
3439     dam -25
3440     item_power 4
3441     end
3442     #
3443     Allowed bow
3444     chance 5
3445     Object wizard
3446     type 14
3447     value 5
3448     dam -7
3449     msg
3450     This bow is magically enchanted
3451     so that archer's strength doesn't
3452     affect damage made by it.
3453     endmsg
3454     no_strength 1
3455     end
3456     #
3457     #
3458     # SKILLS
3459     #
3460     Allowed lockpicks
3461     chance 100
3462     Object quality
3463     type 74
3464     value 5
3465     Dex 1
3466     end
3467     #
3468     Allowed lockpicks
3469     chance 30
3470     Object high quality
3471     type 74
3472     value 10
3473     Dex 3
3474     end
3475     #
3476     # talismans -
3477     #
3478     Allowed talisman
3479     chance 50
3480     Object Fire
3481     type 74
3482     material 256
3483     value 3
3484     path_attuned 2
3485     path_repelled 4
3486     end
3487     #
3488     Allowed talisman
3489     chance 50
3490     Object Frost
3491     type 74
3492     material 256
3493     value 3
3494     path_attuned 4
3495     path_repelled 2
3496     end
3497     #
3498     Allowed talisman
3499     chance 80
3500     Object Missiles
3501     type 74
3502     material 256
3503     value 5
3504     path_attuned 16
3505     end
3506     #
3507     Allowed talisman
3508     chance 40
3509     Object Unified Mind
3510     type 74
3511     material 256
3512     value 7
3513     path_attuned 1056
3514     Int 3
3515     item_power 4
3516     end
3517     #
3518     Allowed talisman
3519     chance 20
3520     difficulty 10
3521     Object Evocation
3522     type 74
3523     material 256
3524     value 9
3525     path_attuned 6208
3526     item_power 2
3527     end
3528     #
3529     Allowed talisman
3530     chance 20
3531     difficulty 10
3532     Object Elements
3533     type 74
3534     material 256
3535     value 9
3536     path_attuned 14
3537     item_power 4
3538     end
3539     #
3540     Allowed talisman
3541     chance 3
3542     difficulty 13
3543     Object Wizardry
3544     type 74
3545     material 256
3546     value 25
3547     path_attuned 28286
3548     Pow 1
3549     item_power 5
3550     end
3551     #
3552     # holy symbols
3553     #
3554     Allowed holy_symbol
3555     chance 80
3556     difficulty 5
3557     Object Probity
3558     type 74
3559     material 256
3560     value 5
3561     path_attuned 257
3562     path_repelled 128
3563     path_denied 0
3564     item_power 1
3565     end
3566     #
3567     Allowed holy_symbol
3568     chance 10
3569     difficulty 5
3570     Object Great Virtue
3571     type 74
3572     material 256
3573     value 25
3574     path_attuned 8640
3575     Wis 2
3576     item_power 4
3577     end
3578     #
3579     Allowed holy_symbol
3580     chance 10
3581     difficulty 5
3582     Object The Dark Path
3583     type 74
3584     material 256
3585     value 25
3586     path_attuned 393216
3587     path_denied 256
3588     item_power 2
3589     end
3590     #
3591     Allowed holy_symbol
3592     chance 10
3593     difficulty 5
3594     Object Turning
3595     type 74
3596     material 256
3597     value 25
3598     path_attuned 65536
3599     item_power 1
3600     end
3601     #
3602     Allowed holy_symbol
3603     chance 50
3604     difficulty 5
3605     Object Calling
3606     type 74
3607     material 256
3608     value 5
3609     path_attuned 64
3610     path_repelled 256
3611     end
3612     #
3613     # DRINK.
3614     #
3615     Allowed water
3616     chance 90
3617     Object the wise
3618     type 54
3619     food 1
3620     value 10
3621     end
3622     #
3623     Allowed water
3624     chance 17
3625     difficulty 2
3626     Object pearl
3627     type 54
3628     food 1
3629     value 50
3630     end
3631     #
3632     Allowed water
3633     chance 15
3634     difficulty 3
3635     Object emerald
3636     type 54
3637     food 1
3638     value 58
3639     end
3640     #
3641     Allowed water
3642     chance 13
3643     difficulty 5
3644     Object sapphire
3645     type 54
3646     food 1
3647     value 67
3648     end
3649     #
3650     Allowed water
3651     chance 8
3652     difficulty 5
3653     Object ruby
3654     type 54
3655     food 1
3656     value 76
3657     end
3658     #
3659     Allowed water
3660     chance 3
3661     difficulty 8
3662     Object diamond
3663     type 54
3664     food 1
3665     value 191
3666     end
3667     #
3668     # FOOD. Types of food which can effect player status
3669     #
3670     # Note: an item is cursed, the effect is generally reversed!
3671     #
3672     Allowed !waybread
3673     chance 200
3674     Object Poison
3675     type 6
3676     food 10
3677     hp -5
3678     cursed 1
3679     end
3680     #
3681     Allowed !waybread
3682     chance 20
3683     Object Hideous Poison
3684     type 6
3685     food 10
3686     hp -25
3687     Str -1
3688     Con -1
3689     Dex -1
3690     Cha -1
3691     cursed 1
3692     end
3693     #
3694     Allowed mushroom_1, mushroom_2, mushroom_3
3695     chance 150
3696     Object Gourmet
3697     type 6
3698     value 200
3699     food 250
3700     end
3701     #
3702     Allowed mushroom_1, mushroom_2, mushroom_3
3703     chance 5
3704     Object Magic
3705     type 6
3706     value 80
3707     sp 100
3708     end
3709     #
3710     # note the cursed status here!, this mushroom drains mana
3711     #
3712     Allowed mushroom_1, mushroom_2, mushroom_3
3713     chance 15
3714     Object Magic
3715     type 6
3716     value 80
3717     cursed 1
3718     sp 100
3719     end
3720     #
3721     Allowed mushroom_1, mushroom_2, mushroom_3
3722     chance 20
3723     Object Healing
3724     type 6
3725     value 40
3726     hp 50
3727     end
3728     #
3729     Allowed food, mushroom_1, mushroom_2
3730     chance 15
3731     Object Stamina
3732     type 6
3733     value 30
3734     Con 1
3735     end
3736     #
3737     Allowed waybread
3738     chance 100
3739     Object Aelingas
3740     type 6
3741     value 10
3742     Str 1
3743     Con 1
3744     end
3745     #
3746     Allowed mushroom_2, mushroom_3
3747     chance 15
3748     Object Strength
3749     type 6
3750     value 30
3751     Str 1
3752     end
3753     #
3754     Allowed mushroom_1, mushroom_3
3755     chance 15
3756     Object Quickness
3757     type 6
3758     value 30
3759     Dex 1
3760     end
3761     #
3762     Allowed mushroom_1
3763     chance 100
3764     Object Heat Resistance
3765     type 6
3766     value 30
3767     resist_fire 30
3768     end
3769     #
3770     Allowed mushroom_2
3771     chance 100
3772     Object Frost Resistance
3773     type 6
3774     value 30
3775     resist_cold 30
3776     end
3777     #
3778     Allowed mushroom_1, mushroom_2, mushroom_3
3779     chance 10
3780     Object Bravery
3781     type 6
3782     value 100
3783     resist_fear 30
3784     end
3785     #
3786     Allowed mushroom_3
3787     chance 90
3788     Object Magic Resistance
3789     type 6
3790     value 40
3791     resist_magic 30
3792     end
3793     #
3794     Allowed mushroom_2, mushroom_3
3795     chance 5
3796     Object Life
3797     type 6
3798     value 500
3799     Con 1
3800     resist_drain 30
3801     resist_deplete 30
3802     end
3803     #
3804     # Potions (incl. dusts, balms and figurine sub-types)
3805     #
3806     #
3807     # - attack potions
3808     #
3809     Allowed potion_generic
3810     chance 1
3811     Object firestorm
3812     face potion_fire2.111
3813     stand_still 1
3814     type 5
3815     value 1
3816     other_arch spell_small_fireball
3817     end
3818     #
3819     Allowed potion_generic
3820     chance 1
3821     Object great firestorm
3822     face potion_fire2.111
3823     stand_still 1
3824     type 5
3825     other_arch spell_medium_fireball
3826     value 5
3827     end
3828     #
3829     Allowed potion_generic
3830     chance 1
3831     Object black fire
3832     face potion_fire2.111
3833     stand_still 1
3834     type 5
3835     other_arch spell_comet
3836     value 8
3837     level -30
3838     end
3839     #
3840     Allowed potion_generic
3841     chance 1
3842     Object fiery destruction
3843     type 5
3844     face potion_fire2.111
3845     stand_still 1
3846     other_arch spell_meteor_swarm
3847     value 15
3848     level -60
3849     end
3850     #
3851     Allowed potion_generic
3852     chance 1
3853     Object sunfire
3854     face potion_fire2.111
3855     stand_still 1
3856     type 5
3857     other_arch spell_sunspear
3858     value 5
3859     end
3860     #
3861     Allowed potion_generic
3862     chance 1
3863     Object freezing
3864     face potion_freeze.111
3865     stand_still 1
3866     type 5
3867     other_arch spell_frostbolt
3868     value 1
3869     end
3870     #
3871     Allowed potion_generic
3872     chance 1
3873     Object fire
3874     face potion_fire2.111
3875     stand_still 1
3876     type 5
3877     other_arch spell_firebolt
3878     value 1
3879     end
3880     #
3881     Allowed potion_generic
3882     chance 1
3883     Object electric shock
3884     face potion_shock.111
3885     stand_still 1
3886     type 5
3887     other_arch spell_sm_lightning
3888     value 1
3889     end
3890     #
3891     # -- poison cloud
3892     Allowed potion_generic
3893     chance 1
3894     Object noxious fumes
3895     stand_still 1
3896     type 5
3897     other_arch spell_poison_cloud
3898     value 1
3899     end
3900     #
3901     # -- ball lightning
3902     Allowed potion_generic
3903     chance 1
3904     Object lasting shock
3905     stand_still 1
3906     type 5
3907     other_arch spell_ball_lightning
3908     value 15
3909     end
3910     #
3911     # -- color spray
3912     Allowed potion_generic
3913     chance 1
3914     Object Rainbow Wave
3915     stand_still 1
3916     type 5
3917     other_arch spell_color_spray
3918     value 20
3919     end
3920     #
3921     # - curative potions
3922     #
3923     Allowed balm_generic
3924     chance 1
3925     Object first aid
3926     type 5
3927     value 1
3928     other_arch spell_minor_healing
3929     end
3930     #
3931     Allowed potion_generic
3932     chance 1
3933     Object cure vision
3934     face potion_heal2.111
3935     type 5
3936     other_arch spell_cure_blindness
3937     value 2
3938     end
3939     #
3940     Allowed potion_generic
3941     chance 1
3942     Object cure poison
3943     face potion_heal2.111
3944     stand_still 1
3945     type 5
3946     other_arch spell_cure_poison
3947     value 1
3948     end
3949     #
3950     Allowed potion_generic
3951     chance 1
3952     Object cure madness
3953     face potion_heal2.111
3954     stand_still 1
3955     type 5
3956     other_arch spell_cure_confusion
3957     value 2
3958     end
3959     #
3960     Allowed potion_generic
3961     chance 1
3962     Object cure disease
3963     stand_still 1
3964     type 5
3965     other_arch spell_cure_disease
3966     value 3
3967     end
3968     #
3969     # - protective potions
3970     #
3971     Allowed balm_generic
3972     chance 1
3973     Object aethereality
3974     type 5
3975     resist_physical 50
3976     value 3
3977     end
3978     #
3979     Allowed balm_generic
3980     chance 1
3981     Object asbestos
3982     type 5
3983     resist_fire 50
3984     value 1
3985     end
3986     #
3987     Allowed balm_generic
3988     chance 1
3989     Object insulation
3990     type 5
3991     resist_electricity 50
3992     value 1
3993     end
3994     #
3995     Allowed balm_generic
3996     chance 1
3997     Object warmth
3998     type 5
3999     resist_cold 50
4000     value 1
4001     end
4002     #
4003     Allowed potion_generic
4004     chance 1
4005     Object resist confusion
4006     stand_still 1
4007     face potion_resist.111
4008     type 5
4009     value 1
4010     resist_confusion 50
4011     end
4012     #
4013     Allowed potion_generic
4014     chance 1
4015     Object resist magic
4016     face potion_resist.111
4017     stand_still 1
4018     type 5
4019     resist_magic 50
4020     value 3
4021     end
4022     #
4023     Allowed potion_generic
4024     chance 1
4025     Object resist draining
4026     face potion_resist.111
4027     stand_still 1
4028     type 5
4029     value 1
4030     resist_drain 50
4031     end
4032     #
4033     Allowed potion_generic
4034     chance 1
4035     Object resist paralysis
4036     face potion_resist.111
4037     stand_still 1
4038     type 5
4039     resist_paralyze 50
4040     value 1
4041     end
4042     #
4043     Allowed potion_generic
4044     chance 1
4045     Object resist poison
4046     face potion_resist.111
4047     stand_still 1
4048     type 5
4049     resist_poison 50
4050     value 1
4051     end
4052     #
4053     Allowed potion_generic
4054     chance 1
4055     Object resist slow
4056     face potion_resist.111
4057     stand_still 1
4058     type 5
4059     resist_slow 50
4060     value 1
4061     end
4062     #
4063     Allowed potion_generic
4064     chance 1
4065     Object shock resistance
4066     type 5
4067     face potion_ishock.111
4068     stand_still 1
4069     resist_electricity 90
4070     value 100
4071     end
4072     #
4073     Allowed potion_generic
4074     chance 1
4075     Object magic resistance
4076     face potion_mimm.111
4077     stand_still 1
4078     type 5
4079     resist_magic 90
4080     value 150
4081     end
4082     #
4083     # - stat potions
4084     #
4085     Allowed potion_generic
4086     chance 1
4087     Object strength
4088     face potion_util.111
4089     stand_still 1
4090     type 5
4091     other_arch spell_strength
4092     value 1
4093     end
4094     #
4095     Allowed potion_generic
4096     chance 1
4097     Object agility
4098     type 5
4099     face potion_util.111
4100     stand_still 1
4101     other_arch spell_dexterity
4102     value 1
4103     end
4104     #
4105     Allowed potion_generic
4106     chance 1
4107     Object fortitude
4108     type 5
4109     face potion_util.111
4110     stand_still 1
4111     other_arch spell_constitution
4112     value 1
4113     end
4114     #
4115     Allowed balm_generic
4116     chance 1
4117     Object beauty
4118     type 5
4119     other_arch spell_charisma
4120     value 4
4121     end
4122     #
4123     # - misc. potions and balms
4124     #
4125     Allowed balm_generic
4126     chance 1
4127     Object flying
4128     type 5
4129     value 1
4130     other_arch spell_levitate
4131     end
4132     #
4133     Allowed balm_generic
4134     chance 1
4135     Object the serpent
4136     type 5
4137     value 1
4138     other_arch spell_staff_to_snake
4139     end
4140     #
4141     Allowed balm_generic
4142     chance 1
4143     Object invisible to undead
4144     type 5
4145     other_arch spell_invisible_to_undead
4146     value 1
4147     end
4148     #
4149     Allowed balm_generic
4150     chance 1
4151     Object transparency
4152     type 5
4153     other_arch spell_improved_invisibility
4154     value 1
4155     end
4156     #
4157     Allowed balm_generic
4158     chance 1
4159     Object return home
4160     type 5
4161     value 1
4162     other_arch spell_word_of_recall
4163     end
4164     #
4165     Allowed potion_generic
4166     chance 1
4167     Object self knowledge
4168     face potion_util.111
4169     type 5
4170     value 1
4171     other_arch spell_perceive_self
4172     end
4173     #
4174     Allowed potion_generic
4175     chance 1
4176     Object mystic power
4177     face potion_util.111
4178     type 5
4179     other_arch spell_transference
4180     value 8
4181     end
4182     #
4183     Allowed potion_generic
4184     chance 1
4185     Object speed
4186     face potion_util.111
4187     stand_still 1
4188     type 5
4189     level -80
4190     other_arch spell_haste
4191     value 15
4192     end
4193     #
4194     Allowed potion_generic
4195     chance 1
4196     Object recuperation
4197     face potion_util.111
4198     stand_still 1
4199     type 5
4200     other_arch spell_regeneration
4201     value 2
4202     end
4203     #
4204     # - figurines- these summon stuff
4205     #
4206     Allowed figurine_generic
4207     chance 1
4208     Object clay
4209     type 5
4210     other_arch spell_summon_golem
4211     value 1
4212     level -20
4213     end
4214     #
4215     Allowed figurine_generic
4216     chance 1
4217     Object stone
4218     type 5
4219     other_arch spell_summon_earth_elemental
4220     level -20
4221     value 1
4222     end
4223     #
4224     Allowed figurine_generic
4225     chance 1
4226     Object whirlwind
4227     type 5
4228     other_arch spell_summon_air_elemental
4229     level -20
4230     value 1
4231     end
4232     #
4233     Allowed figurine_generic
4234     chance 1
4235     Object a great wave
4236     type 5
4237     other_arch spell_summon_water_elemental
4238     level -20
4239     value 1
4240     end
4241     #
4242     Allowed figurine_generic
4243     chance 1
4244     Object a flame
4245     type 5
4246     other_arch spell_summon_fire_elemental
4247     value 1
4248     level -20
4249     end
4250     #
4251     Allowed figurine_generic
4252     chance 1
4253     Object a clenched hand
4254     type 5
4255     other_arch spell_mystic_fist
4256     level -20
4257     value 1
4258     end
4259     #
4260     # Dusts.
4261     #
4262     # - 360 deg effect
4263     #
4264     Allowed dust_generic
4265     chance 1
4266     Object stasis
4267     type 5
4268     value 1
4269     other_arch spell_paralyze
4270     end
4271     #
4272     Allowed dust_generic
4273     chance 1
4274     Object frost
4275     type 5
4276     other_arch spell_icestorm
4277     value 1
4278     end
4279     #
4280     Allowed dust_generic
4281     chance 1
4282     Object fright
4283     type 5
4284     value 1
4285     other_arch spell_fear
4286     end
4287     #
4288     Allowed dust_generic
4289     chance 1
4290     Object concussion
4291     type 5
4292     other_arch spell_shockwave
4293     value 6
4294     end
4295     #
4296     #Allowed dust_generic
4297     #chance 1
4298     #Object Necrocritis
4299     #type 5
4300     #other_arch spell_face_of_death
4301     #level -20
4302     #value 20
4303     #end
4304     #
4305     Allowed dust_generic
4306     chance 1
4307     Object repelling undead
4308     type 5
4309     other_arch spell_turn_undead
4310     level -30
4311     value 1
4312     end
4313     #
4314     Allowed dust_generic
4315     chance 1
4316     Object madness
4317     type 5
4318     other_arch spell_mass_confusion
4319     value 2
4320     end
4321     #
4322     Allowed dust_generic
4323     chance 1
4324     Object ignition
4325     type 5
4326     other_arch spell_burning_hands
4327     value 2
4328     end
4329     #
4330     Allowed dust_generic
4331     chance 1
4332     Object conflagration
4333     type 5
4334     other_arch spell_hellfire
4335     value 4
4336     end
4337     #
4338     Allowed dust_generic
4339     chance 1
4340     Object countermagic
4341     type 5
4342     other_arch spell_counterspell
4343     level -30
4344     value 1
4345     end
4346     #
4347     Allowed dust_generic
4348     chance 1
4349     Object the Dead
4350     type 5
4351     other_arch spell_command_undead
4352     level -30
4353     value 1
4354     end
4355     #
4356     # -- mana blast
4357     Allowed dust_generic
4358     chance 1
4359     Object consuming wrath
4360     type 5
4361     other_arch spell_mana_blast
4362     value 3
4363     end
4364     #
4365     # -- medium mana ball
4366     Allowed dust_generic
4367     chance 1
4368     Object encompassing rage
4369     type 5
4370     other_arch spell_medium_manaball
4371     value 6
4372     end
4373     #
4374     # -- medium snowstorm
4375     Allowed dust_generic
4376     chance 1
4377     Object blizzards
4378     type 5
4379     other_arch spell_medium_snowstorm
4380     value 4
4381     end
4382     #
4383     # dusts w/ provide detection
4384     #
4385     Allowed dust_generic
4386     chance 1
4387     Object clairvoyance
4388     type 5
4389     other_arch spell_magic_mapping
4390     value 2
4391     end
4392     #
4393     Allowed dust_generic
4394     chance 1
4395     Object revealing
4396     type 5
4397     other_arch spell_show_invisible
4398     level -20
4399     value 8
4400     end
4401     #
4402     Allowed dust_generic
4403     chance 1
4404     Object show enchantment
4405     type 5
4406     other_arch spell_detect_magic
4407     value 1
4408     end
4409     #
4410     Allowed dust_generic
4411     chance 1
4412     Object night vision
4413     type 5
4414     value 1
4415     other_arch spell_dark_vision
4416     end
4417     #
4418     Allowed dust_generic
4419     chance 1
4420     Object piercing vision
4421     type 5
4422     other_arch spell_xray
4423     value 6
4424     end
4425     #
4426     Allowed dust_generic
4427     chance 1
4428     Object clinging glow
4429     type 5
4430     other_arch spell_faery_fire
4431     value 1
4432     end
4433     #
4434     Allowed dust_generic
4435     chance 1
4436     Object Biren's mist
4437     type 5
4438     other_arch spell_summon_fog
4439     value 1
4440     end
4441     #
4442     # misc. dusts
4443     #
4444     # -- light
4445     Allowed dust_generic
4446     chance 1
4447     Object brightness
4448     type 5
4449     other_arch spell_light
4450     level -20
4451     value 1
4452     end
4453     #
4454     # -- darkness
4455     Allowed dust_generic
4456     chance 1
4457     Object impenatrability
4458     type 5
4459     other_arch spell_darkness
4460     level -20
4461     value 1
4462     end
4463     #