Editing
Module:SoulUnlock/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
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 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
Templates used on this page:
Data:Dictionary
(
edit
)
Data:LangCodes.json
(
edit
)
Data:Lang en.json
(
edit
)
Data:SoulUnlockData.json
(
edit
)
Template:Souls
(
edit
)
Template:Tick
(
edit
)
Module:Dictionary
(
edit
)
Module:Lang
(
edit
)
Module:SoulUnlock
(
edit
)
Module:Utilities
(
edit
)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Module
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Discord community
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Page information
Languages