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