Editing
Module
:
SoulUnlock/doc
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!
=Overview= Data for what is unlocked at each increment of Souls. Data is stored and loaded from [[Data:SoulUnlockData.json]]. The data is accumulated into another format that is used by the currently written functions. =Functions= ==get_max== Retrieve's maximum value for a given key in the accumulated data ===Examples=== <code><nowiki>{{#invoke:SoulUnlock|get_max|RequiredSouls}}</nowiki></code> {{#invoke:SoulUnlock|get_max|RequiredSouls}}<br> <code><nowiki>{{#invoke:SoulUnlock|get_max|PowerIncrease}}</nowiki></code> {{#invoke:SoulUnlock|get_max|PowerIncrease}}<br> <code><nowiki>{{#invoke:SoulUnlock|get_max|AbilityUnlocks}}</nowiki></code> {{#invoke:SoulUnlock|get_max|AbilityUnlocks}}<br> <code><nowiki>{{#invoke:SoulUnlock|get_max|AbilityPoints}}</nowiki></code> {{#invoke:SoulUnlock|get_max|AbilityPoints}}<br> ==localize== Localize a key as its stored to the current language using [[Module:Lang]]. ===Examples=== <code><nowiki>{{#invoke:SoulUnlock|localize|RequiredSouls}}</nowiki></code> {{#invoke:SoulUnlock|localize|RequiredSouls}}<br> <code><nowiki>{{#invoke:SoulUnlock|localize|PowerIncrease}}</nowiki></code> {{#invoke:SoulUnlock|localize|PowerIncrease}}<br> <code><nowiki>{{#invoke:SoulUnlock|localize|AbilityUnlocks}}</nowiki></code> {{#invoke:SoulUnlock|localize|AbilityUnlocks}}<br> <code><nowiki>{{#invoke:SoulUnlock|localize|AbilityPoints}}</nowiki></code> {{#invoke:SoulUnlock|localize|AbilityPoints}}<br> ==write_accumulated== Writes the accumulated data to wikitext. Not a format that is ready to be displayed on a wiki page yet. Used for debugging for any lua editors working off of the accumulated data as opposed to the original data. ''Note: the keys outputted are localized to english. See the localization map at the top of the Module source.'' ===Example=== <code><nowiki>{{#invoke:SoulUnlock|write_accumulated}}</nowiki></code><br> {{#invoke:SoulUnlock|write_accumulated}} ==write_table== ===Example=== {{#invoke:SoulUnlock|write_table|debug_mode=true}} {{#invoke:SoulUnlock|write_table}}
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
Pages included on this page:
Template:Souls
(
edit
)
Template:Tick
(
edit
)
Module:Dictionary
(
edit
)
Module:Lang
(
edit
)
Module:SoulUnlock
(
edit
)
Module:Souls
(
edit
)
Module:Utilities
(
edit
)
Data:Dictionary
(
edit
)
Data:LangCodes.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:Lang en.json
(
view source
) (⧼restriction-level-bot+⧽)
Data:SoulUnlockData.json
(
view source
) (⧼restriction-level-bot+⧽)
Navigation menu
Personal tools
Create account
Log in
associated-pages
Module
Discussion
English
Views
Read
Edit source
History
Tools
Search
Discord
Discord
Navigation
Main page
About us
Random page
Special pages
Recent changes
Neutral
11h ago
·
~2026-LaneFireUrn1085
Souls
11h ago
·
Gammaton32
Neutral
11h ago
·
~2026-LaneFireUrn1085
Victor/Lore
13h ago
·
Roseabrams96
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