Editing
Template
:
NpcData/doc
(section)
Give feedback
Jump to navigation
Jump to search
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
== β Common Errors == * <span class="error">Error: Key "X" not found...</span> *: You likely spelled the stat name wrong, or you forgot a step in the path (like missing a folder name). * <span class="error">Error: Path points to a table/object...</span> *: You stopped too early! You pointed to a "folder" (like <code>ShieldLogic</code>) instead of a specific number inside it. Add one more parameter to get the specific stat. <templatedata> { "description": "Displays NPC stats from game files. Use the Data:NpcData.json page to find the correct paths.", "params": { "1": { "label": "NPC Name", "description": "The internal key (e.g., npc_boss_tier2).", "type": "string", "required": true, "example": "trooper_medic" }, "2": { "label": "Path Step 1", "description": "The first step in the path (e.g., MaxHealth or BoundAbilities).", "type": "string", "required": true, "example": "MaxHealth" }, "3": { "label": "Path Step 2 / Rounding", "description": "The next step in the path OR an optional rounding number.", "type": "string", "required": false }, "4": { "label": "Path Step 3 / Rounding", "description": "The next step in the path OR an optional rounding number.", "type": "string", "required": false }, "5": { "label": "Path Step 4 / Rounding", "description": "The next step in the path OR an optional rounding number.", "type": "string", "required": false }, "6": { "label": "Path Step 5 / Rounding", "description": "The next step in the path OR an optional rounding number.", "type": "string", "required": false }, "7": { "label": "Path Step 6 / Rounding", "description": "The next step in the path OR an optional rounding number.", "type": "string", "required": false }, "8": { "label": "Rounding", "description": "Optional: Round to this many Significant Figures (e.g., 2). Only used if this is the final parameter.", "type": "number", "required": false } }, "format": "inline" } </templatedata> <includeonly> [[Category:Templates]] </includeonly><noinclude> [[Category:Template documentation]] </noinclude>
Summary:
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Navigation menu
Personal tools
Create account
Log in
associated-pages
Template
Discussion
English
Views
Read
Edit source
History
Tools
Search
Discord
Discord
Navigation
Main page
About us
Random page
Special pages
Recent changes
Graf
24m ago
Β·
Kai
Graf
27m ago
Β·
~2026-AlchemicalKnockdownShard1152
Vindicta
41m ago
Β·
~2026-InfernusBreakableSecure558
Silver
1h ago
Β·
Gammaton32
Show more...
Interface Admin
Common CSS
Vector CSS
Minerva CSS
Citizen CSS
Brown theme CSS
Gadgets
Gadgets definition
Editing
How to edit
Style guide
All guides
New files
Unresolved feedback
Tools
What links here
Related changes
Page information