Template:Matcutres: 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
   |alcohol = 0
   |veggy = 1
   |aluminum = 4
  |bone = 3
  |brass = 4
  |budget_steel = 6
  |ceramic = 6
  |chitin = 4
  |clay = 3
  |copper = 3
  |cotton = 1
  |diamond = 20
  |egg = 0
  |flesh = 1
  |freshclay = 1
   |fruit = 1
   |fruit = 1
  |fur = 2
  |glass = 4
  |gold = 1
  |hardsteel = 16
  |hflesh = 1
   |honey = 0
   |honey = 0
   |wheat = 1
   |hydrocarbons = 0
  |iflesh = 1
  |iron = 4
   |junk = 1
   |junk = 1
   |flesh = 1
   |kevlar = 4
   |powder = 1
   |lead = 0
   |water = 0
   |leather = 2
   |milk = 0
   |milk = 0
   |iflesh = 1
   |neoprene = 1
   |hflesh = 1
   |nomex = 1
   |cotton = 1
   |null = 0
  |wool = 1
   |oil = 0
  |leather = 2
  |kevlar = 4
  |ceramic = 6
  |fur = 2
  |chitin = 4
  |bone = 3
   |stone = 6
   |paper = 1
   |paper = 1
  |wood = 2
   |plastic = 2
   |plastic = 2
   |glass = 4
   |powder = 1
   |iron = 4
   |silver = 3
   |steel = 6
   |steel = 6
   |budget_steel = 6
   |stone = 6
   |superalloy = 6
   |superalloy = 6
   |diamond = 20
   |veggy = 1
  |hardsteel = 16
   |water = 0
  |silver = 3
   |wheat = 1
  |nomex = 1
   |wood = 2
   |gold = 1
   |wool = 1
  |aluminum = 4
  |lead = 0
   |copper = 3
  |egg = 0
  |freshclay = 1
   |clay = 3
  |alcohol = 0
  |oil = 0
  |hydrocarbons = 0
   |neoprene = 1
   |#default={{{1|0}}}
   |#default={{{1|0}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Template that returns the cut resistance of the passed material.
Template that returns the cut 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 cut resistance of the passed material.