ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/arch/res/artifacts
Revision: 1.1
Committed: Wed Apr 28 20:51:49 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Log Message:
*** empty log message ***

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