ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/materials
Revision: 1.2
Committed: Tue Feb 6 13:21:29 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.1: +119 -43 lines
Log Message:
- add density to lib/materials
- rewrite parser to use object_thawer (but not new loader framework yet).

File Contents

# User Rev Content
1 root 1.1 # materialtypes file.
2     # name the name of the material. Paper, wood, iron, silver.
3     # description OPTIONAL: what appears in the item name. "wooden"
4     # material the material type this corresponds to. see materials.h
5     # saves savingthrows for each of the 25 attacktypes
6     # mods modifications to resistances for the 25 atttypes.
7     # chance chance for appearance. similar to artifact gen.
8     # diff difficulty, similar to artifact generation.
9     # magic minimum magic. 0 can be on anything. similar to artifacts
10     # damage bonus/negative to damage
11     # wc bonus/negative to wc
12     # ac bonus/negative to ac
13     # weight weight modifer. similar to artifacts
14     # value value modifier. similar to artifacts.
15     # anything left unspecified in this file will default to zero.
16     #
17     # NOTE
18     # In the very least, name and material MUST exist.
19     #
20     # NOTE AGAIN
21     # Do not edit the basic types. Add any new types after these.
22     #
23     name paper
24     material 1
25     saves 15,10,17,9,5,7,13,0,20,15,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0
26     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
27     chance 100
28     diff 0
29     magic 0
30     damage 0
31     wc 0
32     ac 0
33     weight 100
34     value 100
35 root 1.2 density 929
36    
37 root 1.1 name iron
38     material 2
39     saves 2,12,3,12,2,10,7,0,20,15,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0
40     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
41     chance 100
42     diff 0
43     magic 0
44     damage 0
45     wc 0
46     ac 0
47     weight 100
48     value 100
49 root 1.2 density 7860
50    
51 root 1.1 name glass
52     material 4
53     saves 14,11,8,3,10,5,1,0,20,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
54     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
55     chance 100
56     diff 0
57     magic 0
58     damage 0
59     wc 0
60     ac 0
61     weight 100
62     value 100
63 root 1.2 density 2200
64    
65 root 1.1 name leather
66     material 8
67     saves 5,10,10, 3, 3,10,10, 0,20,15, 0,0,0,0,0,12,0,0,0,0,0,0,0,0,0
68     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
69     chance 100
70     diff 0
71     magic 0
72     damage 0
73     wc 0
74     ac 0
75     weight 100
76     value 100
77 root 1.2 density 945
78    
79 root 1.1 name pine
80     material 16
81     saves 10,11,13, 2, 2,10, 9, 0,20,15, 0,0,0,0,0,12,0,0,0,0,0,0,0,0,0
82     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
83     chance 100
84     diff 0
85     magic 0
86     damage 0
87     wc 0
88     ac 0
89     weight 100
90     value 100
91 root 1.2 density 650
92    
93 root 1.1 name organics
94     description organic
95     material 32
96     saves 3,12,9,11,3,10,9,0,20,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
97     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
98     chance 100
99     diff 0
100     magic 0
101     damage 0
102     wc 0
103     ac 0
104     weight 100
105     value 100
106 root 1.2 density 1200
107    
108 root 1.1 name granite
109     material 64
110     saves 2,5,2,2,2,2,1,0,20,15,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0
111     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
112     chance 100
113     diff 0
114     magic 0
115     damage 0
116     wc 0
117     ac 0
118     weight 100
119     value 100
120 root 1.2 density 2691
121    
122 root 1.1 name cloth
123     description cotton
124     material 128
125     saves 14,11,13,4,4,5,10,0,20,15,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0
126     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
127     chance 100
128     diff 0
129     magic 0
130     damage 0
131     wc 0
132     ac 0
133     weight 100
134     value 100
135 root 1.2 density 641
136    
137 root 1.1 name adamant
138     material 256
139     saves 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
140     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
141     chance 100
142     diff 0
143     magic 0
144     damage 0
145     wc 0
146     ac 0
147     weight 100
148     value 100
149 root 1.2 density 3520
150    
151 root 1.1 name liquid
152     material 512
153     saves 0,8,9,6,17,0,15,0,20,15,12,0,0,0,0,11,0,0,0,0,0,0,0,0,0
154     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
155     chance 100
156     diff 0
157     magic 0
158     damage 0
159     wc 0
160     ac 0
161     weight 100
162     value 100
163 root 1.2 density 1000
164    
165 root 1.1 name tin
166     material 1024
167     saves 6,12,6,14,2,10,1,0,20,15,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0
168     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
169     chance 100
170     diff 0
171     magic 0
172     damage 0
173     wc 0
174     ac 0
175     weight 100
176     value 100
177 root 1.2 density 7352
178    
179 root 1.1 name bone
180     material 2048
181     saves 10,9,4,5,3,10,10,0,20,15,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0
182     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
183     chance 100
184     diff 0
185     magic 0
186     damage 0
187     wc 0
188     ac 0
189     weight 100
190     value 100
191 root 1.2 density 2500
192    
193 root 1.1 name ice
194     material 4096
195     saves 14,11,16,5,0,5,6,0,20,15,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0
196     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
197     chance 100
198     diff 0
199     magic 0
200     damage 0
201     wc 0
202     ac 0
203     weight 100
204     value 100
205 root 1.2 density 897
206 root 1.1 #
207     # NEW NON BASIC TYPES START HERE
208     #
209     # BEGIN iron
210     name gold
211     description golden
212     material 2
213     saves 9,10,10,4,2,10,0,0,20,15,0,0,0,0,0,10,0,0,0,0,0,0,0,0
214     mods -1,0,-1,0,0,0,8
215     chance 5
216     diff 2
217     magic 0
218     damage -1
219     wc 0
220     ac 0
221     weight 130
222     value 175
223 root 1.2 density 19320
224    
225 root 1.1 name silver
226     material 2
227     saves 8,12, 9, 4, 2,10, 1, 0,20,15, 0,0,0,0,0,10
228     mods 0, 0, 0, 0, 0, 0, 2
229     chance 4
230     diff 3
231     magic 1
232     damage -1
233     wc 0
234     ac 0
235     weight 120
236     value 150
237 root 1.2 density 10510
238    
239 root 1.1 name copper
240     material 2
241     saves 11,13,12, 2, 2,10, 8, 0,20,15, 0,0,0,0,0,10
242     mods -1, 0, -1, -1, 0, 0, -3
243     chance 20
244     diff 0
245     magic 0
246     damage -1
247     wc 0
248     ac 0
249     weight 110
250     value 75
251 root 1.2 density 8906
252    
253 root 1.1 name platinum
254     material 2
255     saves 7,10, 7, 5, 2,10, 2, 0,20,15, 0,0,0,0,0, 5
256     mods 0, 0, 0, 0, 0, 0, 0
257     chance 5
258     diff 4
259     magic 1
260     damage 0
261     wc 0
262     ac 0
263     weight 90
264     value 200
265 root 1.2 density 21300
266    
267 root 1.1 name lead
268     material 2
269     saves 15, 5,14,14, 6,10, 6, 0,20,15, 0,0,0,0,0, 2
270     mods -3, 0, -5, 4, 1, 0, 5
271     chance 1
272     diff 0
273     magic 0
274     damage -2
275     wc -2
276     ac -1
277     weight 400
278     value 10
279 root 1.2 density 11370
280    
281 root 1.1 name steel
282     material 2
283     saves 1,13, 2,10, 2,10, 5, 0,20,15, 0,0,0,0,0,10
284     mods 1, 0, 3, 0, 0, 0, 1
285     chance 10
286     diff 2
287     magic 0
288     damage 1
289     wc 0
290     ac 0
291     weight 80
292     value 110
293 root 1.2 density 8030
294    
295 root 1.1 name bronze
296     material 2
297     saves 9,13,10, 2, 2,10, 8, 0,20,15, 0,0,0,0,0,10
298     mods 0, 0, 1, 0, 0, 0, 0
299     chance 40
300     diff 0
301     magic 0
302     damage 0
303     wc 0
304     ac 0
305     weight 110
306     value 80
307 root 1.2 density 8800
308    
309 root 1.1 name mithril
310     material 2
311     saves 1, 1, 2, 3, 2, 2, 2, 0,10, 7, 0,0,0,0,0, 5
312     mods 2, 0, 5, 1, 1, 0, 2
313     chance 3
314     diff 8
315     magic 2
316     damage 1
317     wc 1
318     ac 1
319     weight 50
320     value 250
321 root 1.2 density 750
322    
323 root 1.1 # BEGIN cloth
324     name silk
325     material 128
326     saves 17,9,13,5,4,5,11,0,19,15,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0
327     mods 0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
328     chance 10
329     diff 3
330     magic 0
331     damage 0
332     wc 0
333     ac 0
334     weight 90
335     value 130
336 root 1.2 density 1060
337    
338 root 1.1 name velvet
339     material 128
340     saves 17,9,13,4,6,5,11,0,19,15,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0
341     mods 0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
342     chance 10
343     diff 3
344     magic 0
345     damage 0
346     wc 0
347     ac 0
348     weight 110
349     value 140
350 root 1.2 density 1770
351    
352 root 1.1 name burlap
353     material 128
354     saves 10,10,12,3,3,7,11,0,19,15
355     mods 1,0,0,1,1
356     chance 8
357     diff 4
358     magic 0
359     damage 0
360     wc 0
361     ac 0
362     weight 140
363     value 70
364 root 1.2 density 975
365    
366 root 1.1 name wool
367     material 128
368     saves 16,15,18,3,3,3,16,0,20,15
369     mods -1,0,-1,0,2
370     chance 8
371     diff 4
372     magic 0
373     damage 0
374     wc 0
375     ac 0
376     weight 110
377     value 115
378 root 1.2 density 1314
379    
380 root 1.1 name kashmir
381     material 128
382     saves 18,18,18,10,10,10,18,0,20,15
383     mods -1,0,0,0,1
384     chance 5
385     diff 2
386     magic 0
387     damage 0
388     wc 0
389     ac -1
390     weight 70
391     value 180
392 root 1.2 density 995
393    
394 root 1.1 name astolare
395     material 128
396     saves 10,10,10, 4, 4, 4,7, 0,20,15
397     mods 0,2,0,1,1,1,0,2
398     chance 1
399     diff 10
400     magic 2
401     damage 0
402     wc 0
403     ac 0
404     weight 90
405     value 200
406 root 1.2 density 1000
407    
408 root 1.1 name asbestos
409     material 128
410     saves 14,11,1,4,4,5,15,0,20,15
411     mods 0,0,4,0,0,0,-4
412     chance 1
413     diff 10
414     magic 0
415     damage 0
416     wc 0
417     ac 0
418     weight 110
419     value 50
420 root 1.2 density 400
421    
422 root 1.1 name rubber
423     material 128
424     saves 14,11,18,1,4,5,15,0,20,15
425     mods 1,0,-4,4,0,0,-1
426     chance 1
427     diff 10
428     magic 0
429     damage 0
430     wc 0
431     ac 0
432     weight 80
433     value 150
434 root 1.2 density 945
435    
436 root 1.1 # BEGIN wood
437     name oak
438     material 16
439     saves 9,10,14, 2, 2,10, 8, 0,20,15, 0,0,0,0,0,12
440     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
441     chance 10
442     diff 1
443     magic 0
444     damage 1
445     wc 0
446     ac 0
447     sp -1
448     weight 110
449     value 110
450 root 1.2 density 705
451    
452 root 1.1 name birch
453     material 16
454     saves 11,11,13, 2, 2,10, 9, 0,20,15, 0,0,0,0,0,12
455     mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
456     chance 10
457     diff 2
458     magic 0
459     damage 0
460     wc 0
461     ac 0
462     sp 1
463     weight 90
464     value 110
465 root 1.2 density 705
466    
467 root 1.1 name spruce
468     material 16
469     saves 14,11,13, 2, 2,10, 13, 0,20,15
470     mods -1,0,0,0,0,0,-1
471     chance 10
472     diff 2
473     magic 0
474     damage 0
475     wc 0
476     ac 0
477     sp 0
478     weight 80
479     value 80
480 root 1.2 density 705
481    
482 root 1.1 name balsa
483     material 16
484     saves 18,11,13, 2, 2,10,12, 0,20,15
485     mods -2,0,-1,2
486     chance 2
487     diff 0
488     magic 0
489     damage -1
490     wc -1
491     ac -1
492     sp -10
493     weight 10
494     value 30
495 root 1.2 density 605
496    
497 root 1.1 name yew
498     material 16
499     saves 10,11,13, 2, 2,10, 9, 0,20,15
500     mods -2,0,0
501     chance 5
502     diff 5
503     magic 1
504     damage 2
505     wc 0
506     ac 0
507     sp 10
508     weight 130
509     value 150
510 root 1.2 density 750
511    
512 root 1.1 name bamboo
513     material 16
514     saves 10,11,13, 2, 2,10, 9, 0,20,15
515     mods 2,0,-1
516     chance 3
517     diff 5
518     magic 0
519     damage 0
520     wc 2
521     ac 0
522     sp 1
523     weight 70
524     value 130
525 root 1.2 density 750
526    
527 root 1.1 name ironwood
528     material 16
529     saves 7,11,10,2, 2,10, 9, 0,20,15
530     mods 3,0,1
531     chance 3
532     diff 10
533     magic 0
534     damage 2
535     wc 0
536     ac 1
537     sp -4
538     weight 180
539     value 115
540 root 1.2 density 790
541    
542 root 1.1 name wyrmwood
543     material 16
544     saves 10,8,12, 2, 2,10, 7, 0,20,15
545     mods 2,2,-2,0,0,2,0,2
546     chance 2
547     diff 15
548     magic 1
549     wc 1
550     ac 1
551     sp 1
552     weight 80
553     value 200
554 root 1.2 density 705
555    
556 root 1.1 # BEGIN stone
557     name marble
558     material 64
559     saves 2, 5, 2, 2, 2, 2, 1, 0,20,15, 0,0,0,0,0, 5
560     mods 0,0,0
561     chance 40
562     diff 0
563     damage 2
564     wc -1
565     ac 0
566     weight 180
567     value 80
568 root 1.2 density 2563
569    
570 root 1.1 name obsidian
571     material 64
572     saves 4, 6, 4, 4, 4, 4, 4, 0,20,15, 0,0,0,0,0, 7
573     mods -1,0,-1
574     chance 10
575     diff 3
576     damage 1
577     wc 1
578     ac 0
579     weight 90
580     value 130
581 root 1.2 density 2500
582    
583 root 1.1 name limestone
584     material 64
585     saves 8, 5, 2, 2, 2, 2, 17, 0,20,15
586     mods -1,0,0,0,0,0,-5
587     chance 8
588     diff 3
589     damage 0
590     wc 0
591     ac 0
592     weight 80
593     value 70
594 root 1.2 density 2200
595    
596 root 1.1 name runestone
597     material 64
598     saves 3, 0, 3, 4, 4, 4, 4, 0,20,15
599     mods 2,3,0,0
600     chance 1
601     diff 15
602     damage 1
603     wc -1
604     ac 0
605     weight 60
606     value 250
607 root 1.2 density 2200
608    
609 root 1.1 # BEGIN bone
610     #
611     name ivory
612     material 2048
613     saves 10, 10, 5, 5, 3,10,10, 0,20,15
614     mods 0,0,0,0
615     chance 30
616     diff 3
617     weight 80
618     value 120
619 root 1.2 density 2500
620    
621 root 1.1 name dragonscale
622     material 2048
623     saves 4,4,0,5,15,1,1,0,15,15
624     mods 1,1,5,0,-5
625     chance 2
626     diff 15
627     magic 2
628     ac 1
629     weight 110
630     value 200
631 root 1.2 density 2800
632    
633 root 1.1 #
634     # BEGIN adamant
635     #
636     # note that by making the chance 100, I override adamant above to never appear.
637     name argonite
638     material 256
639     saves 3, 3, 4, 3, 2, 2, 2, 0,12,10, 0,0,0,0,0, 8
640     mods 0, 0, 0, 1, -1, 0, 0
641     chance 100
642     diff 0
643     magic 0
644     damage 0
645     wc 0
646     ac 0
647     weight 110
648     value 90
649 root 1.2 density 3520
650    
651 root 1.1 name sanguinite
652     material 256
653     saves 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
654     mods -1,-1,-1,-1,0,-1,0,0,0,10
655     chance 2
656     diff 0
657     magic 0
658     damage -1
659     wc 0
660     ac 0
661     weight 115
662     value 60
663 root 1.2 density 3520
664    
665 root 1.1 name abyssium
666     material 256
667     saves 5,5,5,5,5,5,2,5,5,5,5,5,5,5,5,5,5
668     mods -3,-3,5,0,-5,5,-2,-10,5
669     chance 1
670     diff 15
671     magic 0
672     damage 0
673     wc 0
674     ac 0
675     weight 200
676     value 40
677 root 1.2 density 3520
678    
679 root 1.1 name astrium
680     material 256
681     saves 3, 3, 3, 3, 2, 2, 2, 0,12,10, 0,0,0,0,0, 7
682     mods 0, 2, 0, 0, 0, 2, 0, 2, 0, 0, 0, 2, 2, 0, 2
683     chance 20
684     diff 5
685     magic 0
686     damage 0
687     wc 0
688     ac 0
689     weight 100
690     value 100
691 root 1.2 density 3520
692    
693 root 1.1 name celestium
694     material 256
695     saves 3, 2, 3, 3, 2, 2, 2, 0,12,10, 0,0,0,0,0, 1
696     mods 0, 4, 0, 0, 0, 2, 0, 3, 0, 0, 0, 3, 3, 0, 4
697     chance 10
698     diff 10
699     magic 1
700     damage 0
701     wc 0
702     ac 0
703     weight 110
704     value 150
705 root 1.2 density 520
706    
707 root 1.1 name damascus
708     material 256
709     saves 2, 2, 2, 2, 2, 2, 2, 0,6,6, 0,0,0,0,0, 2
710     mods 2, 0, 1, 1, 1, 0, 2
711     chance 5
712     diff 12
713     magic 2
714     damage 0
715     wc 0
716     ac 1
717     weight 150
718     value 200
719 root 1.2 density 3520
720    
721 root 1.1 name adamantium
722     material 256
723     saves 1,1,1,1,1,1,1,0,2,2,0,0,0,0,0,1
724     mods 3, 0, 5, 1, 1, 0, 2, 5
725     chance 2
726     diff 15
727     magic 3
728     damage 1
729     wc 0
730     ac 2
731     weight 175
732     value 300
733 root 1.2 density 3520
734    
735 root 1.1 name magmasium
736     material 256
737     saves 3,3,0,0,10,3,3,3,3,3,3,3,3,3,3
738     mods 0,0,5,0,-5,0,2
739     chance 1
740     diff 15
741     magic 3
742     damage 0
743     wc 0
744     ac 0
745     weight 140
746     value 320
747 root 1.2 density 2500
748    
749 root 1.1 name electrum
750     material 256
751     saves 3,3,10,0,3,3,3,3,3,3,3,3,3,3,3
752     mods 0,0,-5,5,0,0,2
753     chance 1
754     diff 15
755     magic 3
756     damage 0
757     wc 0
758     ac 0
759     weight 140
760     value 320
761 root 1.2 density 2500
762    
763 root 1.1 name glacium
764     material 256
765     saves 3,3,10,3,0,3,3,3,3,3,3,3,3,3,3
766     mods 0,0,-5,0,5,0,0,2
767     chance 1
768     diff 15
769     magic 3
770     damage 0
771     wc 0
772     ac 0
773     weight 140
774     value 320
775 root 1.2 density 2500
776    
777 root 1.1 #
778     # BEGIN leather
779     #
780     name snakeskin
781     material 8
782     saves 5,11,11, 4, 3,10,9, 0,20,15
783     mods 0,0,1,0,-1
784     chance 30
785     diff 3
786     ac 1
787     weight 90
788     value 110
789 root 1.2 density 845
790    
791 root 1.1 name humanskin
792     material 8
793     saves 10,15,15,15,15,15,15,0,20,15
794     mods -1,-1,-1,-1,-1,0,-1
795     chance 1
796     diff 15
797     magic 2
798     ac -1
799     weight 80
800     value 40
801 root 1.2 density 945
802    
803 root 1.1 name bearskin
804     material 8
805     saves 4,10,11, 3, 2,10,10, 0,20,15
806     mods 0,0,0,0,1
807     chance 15
808     diff 5
809     weight 110
810     value 110
811 root 1.2 density 945
812    
813 root 1.1 name dragonhide
814     material 8
815     saves 4,6,4,5,10,10,6,0,20,15
816     mods 1,1,3,0,-3
817     chance 2
818     diff 15
819     ac 1
820     magic 2
821     weight 70
822     value 250
823 root 1.2 density 1100
824    
825 root 1.1 name wolfhide
826     material 8
827     saves 4,10,11, 3, 2,10,10, 0,20,15
828     mods 0,0,0,0,1
829     chance 15
830     diff 4
831     weight 115
832     value 80
833 root 1.2 density 945
834    
835 root 1.1 name deerskin
836     material 8
837     saves saves 8,10,11, 3, 2,10,10, 0,20,15
838     mods -1,0,0,0,0
839     chance 10
840     diff 10
841     ac 2
842     sp 1
843     wc 1
844     weight 80
845     value 140
846 root 1.2 density 945
847    
848 root 1.1 #
849     # BEGIN specialty metals.
850     # these are one offs, like mercury, etc.
851     #
852     name mercury
853     material 1024
854     saves 5, 3, 9, 6,17, 0,10, 0,20,15
855     mods 0,0,0
856     chance 0
857     diff 0
858     weight 100
859     value 100
860 root 1.2 density 1357
861