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

Template that returns the electricity resistance of the passed material.