<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deadlock.wiki/Module:MiscData/doc?action=history&amp;feed=atom</id>
	<title>Module:MiscData/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deadlock.wiki/Module:MiscData/doc?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://deadlock.wiki/Module:MiscData/doc?action=history"/>
	<updated>2026-09-13T21:19:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://deadlock.wiki/Module:MiscData/doc?diff=73914&amp;oldid=prev</id>
		<title>Gammaton32: Created page with &quot;This module allows you to display any misc. stats from the game&#039;s data files which can be found here Data:MiscData.json. For most uses, it is recommended to use the {{tl|MiscData}} template.  == How to Use == To get data from the module, you use a command that looks like &lt;code&gt;&lt;nowiki&gt;{{#invoke:MiscData|...}}&lt;/nowiki&gt;&lt;/code&gt;. You will tell it which function to use and what information you need.  The basic format is: &lt;code&gt;&lt;nowiki&gt;{{#invoke:MiscData|function_name|para...&quot;</title>
		<link rel="alternate" type="text/html" href="https://deadlock.wiki/Module:MiscData/doc?diff=73914&amp;oldid=prev"/>
		<updated>2026-05-27T16:18:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This module allows you to display any misc. stats from the game&amp;#039;s data files which can be found here &lt;a href=&quot;/Data:MiscData.json&quot; title=&quot;Data:MiscData.json&quot;&gt;Data:MiscData.json&lt;/a&gt;. For most uses, it is recommended to use the {{tl|MiscData}} template.  == How to Use == To get data from the module, you use a command that looks like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. You will tell it which function to use and what information you need.  The basic format is: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|function_name|para...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module allows you to display any misc. stats from the game&amp;#039;s data files which can be found here [[Data:MiscData.json]]. For most uses, it is recommended to use the {{tl|MiscData}} template.&lt;br /&gt;
&lt;br /&gt;
== How to Use ==&lt;br /&gt;
To get data from the module, you use a command that looks like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. You will tell it which function to use and what information you need.&lt;br /&gt;
&lt;br /&gt;
The basic format is:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|function_name|parameter1|parameter2|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Available Functions ==&lt;br /&gt;
&lt;br /&gt;
=== Get a Single or Nested Stat (`get_misc_var`) ===&lt;br /&gt;
This is the primary function for retrieving misc data. It can get a simple top-level stat or traverse deeply into nested objects and arrays (up to 6 levels deep via the template).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Syntax&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|get_misc_var|Misc Name|Key 1|Key 2|...|Rounding}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Misc Name:&amp;#039;&amp;#039;&amp;#039; The internal key for the misc stat.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Key 1, Key 2, ...:&amp;#039;&amp;#039;&amp;#039; The path to the stat you want.&lt;br /&gt;
** For a simple stat, this is one key (e.g., `MaxHealth`).&lt;br /&gt;
** For nested data, provide each key in order (e.g., `RebirthModifier`, `RespawnDelay`).&lt;br /&gt;
** For arrays (lists), use the position number as a key (e.g., `IntrinsicModifiers`, `1`, `BULLET_ARMOR_DAMAGE_RESIST`).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Rounding:&amp;#039;&amp;#039;&amp;#039; (Optional) A number to round the result to that many significant figures. This should always be the last parameter.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Code:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|get_misc_var|medic_trooper_aoe_health_pickup_amber|RegenFixed|Base}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Result:&amp;#039;&amp;#039;&amp;#039; {{#invoke:MiscData|get_misc_var|medic_trooper_aoe_health_pickup_amber|RegenFixed|Base}}&lt;br /&gt;
&lt;br /&gt;
* If a path is incorrect, an error message will show the full path attempted:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Code:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:MiscData|get_misc_var|medic_trooper_aoe_health_pickup_amber|InvalidKey|Stat}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Result:&amp;#039;&amp;#039;&amp;#039; {{#invoke:MiscData|get_misc_var|medic_trooper_aoe_health_pickup_amber|InvalidKey|Stat}}&lt;/div&gt;</summary>
		<author><name>Gammaton32</name></author>
	</entry>
</feed>