Template:Matacidres: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(Updated for experimental (0.D))
(Updated information. (generated via https://github.com/Soyweiser/CDDA-Wiki-Scripts))
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{1}}}}}
   |null = 0
   |null = 0
   |veggy = 2
   |alcohol = 0
  |aluminum = 4
  |bone = 7
  |brass = 16
  |budget_steel = 7
  |ceramic = 10
  |chitin = 6
  |clay = 6
  |copper = 0
  |cotton = 3
  |diamond = 10
  |egg = 1
  |flesh = 1
  |freshclay = 4
   |fruit = 2
   |fruit = 2
  |fur = 3
  |glass = 10
  |gold = 10
  |hardsteel = 6
  |hflesh = 1
   |honey = 1
   |honey = 1
   |wheat = 1
   |hydrocarbons = 0
  |iflesh = 1
  |iron = 5
   |junk = 2
   |junk = 2
   |flesh = 1
   |kevlar = 5
   |powder = 0
   |lead = 8
   |water = 0
   |leather = 4
   |milk = 0
   |milk = 0
   |iflesh = 1
   |neoprene = 1
   |hflesh = 1
   |nomex = 5
  |cotton = 3
   |null = 0
  |wool = 4
   |oil = 0
  |leather = 4
  |kevlar = 5
   |ceramic = 10
  |fur = 3
  |chitin = 6
  |bone = 7
   |stone = 8
   |paper = 1
   |paper = 1
  |wood = 4
   |plastic = 9
   |plastic = 9
   |glass = 10
   |powder = 0
   |iron = 5
   |silver = 10
   |steel = 7
   |steel = 7
   |budget_steel = 7
   |stone = 8
   |superalloy = 5
   |superalloy = 5
   |diamond = 10
   |veggy = 2
   |hardsteel = 6
   |water = 0
  |silver = 10
   |wheat = 1
  |nomex = 5
   |wood = 4
  |gold = 10
   |wool = 4
  |aluminum = 4
  |lead = 8
  |copper = 0
   |egg = 1
   |freshclay = 4
   |clay = 6
  |alcohol = 0
  |oil = 0
  |hydrocarbons = 0
  |neoprene = 1
   |#default={{{1|0}}}
   |#default={{{1|0}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Template that returns the acid resistance of the passed material.
Template that returns the acid resistance of the passed material.
* Source: [https://raw.github.com/CleverRaven/Cataclysm-DDA/master/data/json/materials.json materials.json]
* You can use this [https://github.com/Soyweiser/CDDA-Wiki-Scripts/blob/master/materialresistances.py script] to quickly generate the data that updates this list.


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 06:11, 13 November 2017

Template that returns the acid resistance of the passed material.