This file is indexed.

/usr/share/games/crossfire/materials is in crossfire-common 1.71.0+dfsg1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
# materialtypes file.
# name		the name of the material.  Paper, wood, iron, silver.
# description	OPTIONAL: what appears in the item name. "wooden"
# material	the material type this corresponds to.  see materials.h
# saves		savingthrows for each of the 25 attacktypes
# mods		modifications to resistances for the 25 atttypes.
# anything left unspecified in this file will default to zero.
#
# NOTE
# In the very least, name and material MUST exist.
#
# NOTE AGAIN
# Do not edit the basic types.  Add any new types after these.
#
name paper
material 1
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
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
name iron
material 2
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
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
chance 100
name glass
material 4
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
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
name leather
material 8
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
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
name pine
material 16
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
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
name organics
description organic
material 32
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
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
name granite
material 64
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
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
name cloth
description cotton
material 128
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
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
name adamant
material 256
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
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
name liquid
material 512
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
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
name tin
material 1024
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
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
name bone
material 2048
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
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
name ice
material 4096
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
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
#
# NEW NON BASIC TYPES START HERE
# Those are unused from 2011/06/29 on, left in case someone feels like using that.
#
# BEGIN iron
name gold
description golden
material 2
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
mods -1,0,-1,0,0,0,8
chance 5
diff 2
magic 0
damage -1
wc 0
ac 0
weight 130
value 175
#
name silver
material 2
saves 8,12, 9, 4, 2,10, 1, 0,20,15, 0,0,0,0,0,10
mods 0,  0,  0,  0,  0,  0,  2
chance 4
diff 3
magic 1
damage -1
wc 0
ac 0
weight 120
value 150
#
name copper
material 2
saves 11,13,12, 2, 2,10, 8, 0,20,15, 0,0,0,0,0,10
mods -1,  0, -1, -1,  0,  0, -3
chance 20
diff 0
magic 0
damage -1
wc 0
ac 0
weight 110
value 75
#
name platinum
material 2
saves 7,10, 7, 5, 2,10, 2, 0,20,15, 0,0,0,0,0, 5
mods 0,  0,  0,  0,  0,  0,  0
chance 5
diff 4
magic 1
damage 0
wc 0
ac 0
weight 90
value 200
#
name lead
material 2
saves 15, 5,14,14, 6,10, 6, 0,20,15, 0,0,0,0,0, 2
mods -3,  0, -5,  4,  1,  0,  5
chance 1
diff 0
magic 0
damage -2
wc -2
ac -1
weight 400
value 10
#
name steel
material 2
saves 1,13, 2,10, 2,10, 5, 0,20,15, 0,0,0,0,0,10
mods 1,  0,  3,  0,  0,  0,  1
chance 10
diff 2
magic 0
damage 1
wc 0
ac 0
weight 80
value 110
#
name bronze
material 2
saves 9,13,10, 2, 2,10, 8, 0,20,15, 0,0,0,0,0,10
mods  0,  0,  1,  0,  0,  0,  0
chance 40
diff 0
magic 0
damage 0
wc 0
ac 0
weight 110
value 80
#
name mithril
material 2
saves 1, 1, 2, 3, 2, 2, 2, 0,10, 7, 0,0,0,0,0, 5
mods 2,  0,  5,  1,  1,  0,  2
chance 3
diff 8
magic 2
damage 1
wc 1
ac 1
weight 50
value 250
# BEGIN cloth
name silk
material 128
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
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
chance 10
diff 3
magic 0
damage 0
wc 0
ac 0
weight 90
value 130
#
name velvet
material 128
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
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
chance 10
diff 3
magic 0
damage 0
wc 0
ac 0
weight 110
value 140
#
name burlap
material 128
saves 10,10,12,3,3,7,11,0,19,15
mods 1,0,0,1,1
chance 8
diff 4
magic 0
damage 0
wc 0
ac 0
weight 140
value 70
#
name wool
material 128
saves 16,15,18,3,3,3,16,0,20,15
mods -1,0,-1,0,2
chance 8
diff 4
magic 0
damage 0
wc 0
ac 0
weight 110
value 115
#
name kashmir
material 128
saves 18,18,18,10,10,10,18,0,20,15
mods -1,0,0,0,1
chance 5
diff 2
magic 0
damage 0
wc 0
ac -1
weight 70
value 180
#
name astolare
material 128
saves 10,10,10, 4, 4, 4,7, 0,20,15
mods 0,2,0,1,1,1,0,2
chance 1
diff 10
magic 2
damage 0
wc 0
ac 0
weight 90
value 200
#
name asbestos
material 128
saves 14,11,1,4,4,5,15,0,20,15
mods 0,0,4,0,0,0,-4
chance 1
diff 10
magic 0
damage 0
wc 0
ac 0
weight 110
value 50
#
name rubber
material 128
saves 14,11,18,1,4,5,15,0,20,15
mods 1,0,-4,4,0,0,-1
chance 1
diff 10
magic 0
damage 0
wc 0
ac 0
weight 80
value 150
#
# BEGIN wood
name oak
material 16
saves 9,10,14, 2, 2,10, 8, 0,20,15, 0,0,0,0,0,12
mods  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
chance 10
diff 1
magic 0
damage 1
wc 0
ac 0
sp -1
weight 110
value 110
#
name birch
material 16
saves 11,11,13, 2, 2,10, 9, 0,20,15, 0,0,0,0,0,12
mods 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
chance 10
diff 2
magic 0
damage 0
wc 0
ac 0
sp 1
weight 90
value 110
#
name spruce
material 16
saves 14,11,13, 2, 2,10, 13, 0,20,15
mods -1,0,0,0,0,0,-1
chance 10
diff 2
magic 0
damage 0
wc 0
ac 0
sp 0
weight 80
value 80
#
name balsa
material 16
saves 18,11,13, 2, 2,10,12, 0,20,15
mods -2,0,-1,2
chance 2
diff 0
magic 0
damage -1
wc -1
ac -1
sp -10
weight 10
value 30
#
name yew
material 16
saves 10,11,13, 2, 2,10, 9, 0,20,15
mods -2,0,0
chance 5
diff 5
magic 1
damage 2
wc 0
ac 0
sp 10
weight 130
value 150
#
name bamboo
material 16
saves 10,11,13, 2, 2,10, 9, 0,20,15
mods 2,0,-1
chance 3
diff 5
magic 0
damage 0
wc 2
ac 0
sp 1
weight 70
value 130
#
name ironwood
material 16
saves 7,11,10,2, 2,10, 9, 0,20,15
mods 3,0,1
chance 3
diff 10
magic 0
damage 2
wc 0
ac 1
sp -4
weight 180
value 115
#
name wyrmwood
material 16
saves 10,8,12, 2, 2,10, 7, 0,20,15
mods 2,2,-2,0,0,2,0,2
chance 2
diff 15
magic 1
wc 1
ac 1
sp 1
weight 80
value 200
#
# BEGIN stone
name marble
material 64
saves 2, 5, 2, 2, 2, 2, 1, 0,20,15, 0,0,0,0,0, 5
mods 0,0,0
chance 40
diff 0
damage 2
wc -1
ac 0
weight 180
value 80
#
name obsidian
material 64
saves 4, 6, 4, 4, 4, 4, 4, 0,20,15, 0,0,0,0,0, 7
mods -1,0,-1
chance 10
diff 3
damage 1
wc 1
ac 0
weight 90
value 130
#
name limestone
material 64
saves 8, 5, 2, 2, 2, 2, 17, 0,20,15
mods -1,0,0,0,0,0,-5
chance 8
diff 3
damage 0
wc 0
ac 0
weight 80
value 70
#
name runestone
material 64
saves 3, 0, 3, 4, 4, 4, 4, 0,20,15
mods 2,3,0,0
chance 1
diff 15
damage 1
wc -1
ac 0
weight 60
value 250
#
# BEGIN bone
#
name ivory
material 2048
saves 10, 10, 5, 5, 3,10,10, 0,20,15
mods 0,0,0,0
chance 30
diff 3
weight 80
value 120
#
name dragonscale
material 2048
saves 4,4,0,5,15,1,1,0,15,15
mods 1,1,5,0,-5
chance 2
diff 15
magic 2
ac 1
weight 110
value 200
#
# BEGIN adamant
#
# note that by making the chance 100, I override adamant above to never appear.
name argonite
material 256
saves 3, 3, 4, 3, 2, 2, 2, 0,12,10, 0,0,0,0,0, 8
mods  0, 0, 0, 1, -1, 0, 0
chance 100
diff 0
magic 0
damage 0
wc 0
ac 0
weight 110
value 90
#
name sanguinite
material 256
saves 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
mods -1,-1,-1,-1,0,-1,0,0,0,10
chance 2
diff 0
magic 0
damage -1
wc 0
ac 0
weight 115
value 60
#
name abyssium
material 256
saves 5,5,5,5,5,5,2,5,5,5,5,5,5,5,5,5,5
mods -3,-3,5,0,-5,5,-2,-10,5
chance 1
diff 15
magic 0
damage 0
wc 0
ac 0
weight 200
value 40
#
name astrium
material 256
saves 3, 3, 3, 3, 2, 2, 2, 0,12,10, 0,0,0,0,0, 7
mods 0, 2, 0, 0, 0, 2, 0, 2, 0, 0, 0, 2, 2, 0, 2
chance 20
diff 5
magic 0
damage 0
wc 0
ac 0
weight 100
value 100
#
name celestium
material 256
saves 3, 2, 3, 3, 2, 2, 2, 0,12,10, 0,0,0,0,0, 1
mods 0, 4, 0, 0, 0, 2, 0, 3, 0, 0, 0, 3, 3, 0, 4
chance 10
diff 10
magic 1
damage 0
wc 0
ac 0
weight 110
value 150
#
name damascus
material 256
saves 2, 2, 2, 2, 2, 2, 2, 0,6,6, 0,0,0,0,0, 2
mods 2, 0, 1, 1, 1, 0, 2
chance 5
diff 12
magic 2
damage 0
wc 0
ac 1
weight 150
value 200
#
name adamantium
material 256
saves 1,1,1,1,1,1,1,0,2,2,0,0,0,0,0,1
mods 3, 0, 5, 1, 1, 0, 2, 5
chance 2
diff 15
magic 3
damage 1
wc 0
ac 2
weight 175
value 300
#
name magmasium
material 256
saves 3,3,0,0,10,3,3,3,3,3,3,3,3,3,3
mods 0,0,5,0,-5,0,2
chance 1
diff 15
magic 3
damage 0
wc 0
ac 0
weight 140
value 320
#
name electrum
material 256
saves 3,3,10,0,3,3,3,3,3,3,3,3,3,3,3
mods 0,0,-5,5,0,0,2
chance 1
diff 15
magic 3
damage 0
wc 0
ac 0
weight 140
value 320
#
name glacium
material 256
saves 3,3,10,3,0,3,3,3,3,3,3,3,3,3,3
mods 0,0,-5,0,5,0,0,2
chance 1
diff 15
magic 3
damage 0
wc 0
ac 0
weight 140
value 320
#
# BEGIN leather
#
name snakeskin
material 8
saves 5,11,11, 4, 3,10,9, 0,20,15
mods 0,0,1,0,-1
chance 30
diff 3
ac 1
weight 90
value 110
#
name humanskin
material 8
saves 10,15,15,15,15,15,15,0,20,15
mods -1,-1,-1,-1,-1,0,-1
chance 1
diff 15
magic 2
ac -1
weight 80
value 40
#
name bearskin
material 8
saves 4,10,11, 3, 2,10,10, 0,20,15
mods 0,0,0,0,1
chance 15
diff 5
weight 110
value 110
#
name dragonhide
material 8
saves 4,6,4,5,10,10,6,0,20,15
mods 1,1,3,0,-3
chance 2
diff 15
ac 1
magic 2
weight 70
value 250
#
name wolfhide
material 8
saves 4,10,11, 3, 2,10,10, 0,20,15
mods 0,0,0,0,1
chance 15
diff 4
weight 115
value 80
#
name deerskin
material 8
saves saves 8,10,11, 3, 2,10,10, 0,20,15
mods -1,0,0,0,0
chance 10
diff 10
ac 2
sp 1
wc 1
weight 80
value 140
#
# BEGIN specialty metals.
# these are one offs, like mercury, etc.
#
name mercury
material 1024
saves 5, 3, 9, 6,17, 0,10, 0,20,15
mods 0,0,0
chance 0
diff 0
weight 100
value 100
#