From Brotato Wiki

(Add `isdlc` option to Characters. (It's checked by GetDLCStatus, to be optionally used by Iconbox))
(Add `isdlc` example, and set "Sailor" to use isdlc, for the example)
Line 489: Line 489:
|wantedtags=[[Curse]]
|wantedtags=[[Curse]]
|startingwpns=Anchor,Trident,Blunderbuss
|startingwpns=Anchor,Trident,Blunderbuss
|isdlc=-
|isdlc=1
|#default=-
|#default=-
}}
}}
Line 627: Line 627:
{{Character Data
{{Character Data
|any character name
|any character name
|select one of these to output corresponding information (stats/unlockedby/unlocks/unlocktype/wantedtags)
|select one of these to output corresponding information (stats/unlockedby/unlocks/unlocktype/wantedtags/isdlc)
}}
}}
</pre>
</pre>
Line 638: Line 638:
! Code
! Code
! Preview
! Preview
|-
| Is DLC? || <code><nowiki>{{Character Data|Sailor|isdlc}}</nowiki></code> || {{Character Data|Sailor|isdlc}}
|-
|-
| Stats || <code><nowiki>{{Character Data|Mutant|stats}}</nowiki></code> || {{Character Data|Mutant|stats}}
| Stats || <code><nowiki>{{Character Data|Mutant|stats}}</nowiki></code> || {{Character Data|Mutant|stats}}

Revision as of 23:49, 10 November 2024

Usage

{{Character Data
|any character name
|select one of these to output corresponding information (stats/unlockedby/unlocks/unlocktype/wantedtags/isdlc)
}}

Examples

Name Code Preview
Is DLC? {{Character Data|Sailor|isdlc}} 1
Stats {{Character Data|Mutant|stats}} -66% XP required to level up
+50% Items Price
Unlocked By {{Character Data|Mutant|unlockedby}} Kill 2000 enemies
Unlocks {{Character Data|Mutant|unlocks}} Octopus
Unlock Type {{Character Data|Mutant|unlocktype}} Item
Wanted Tags (Item Tags) {{Character Data|Mutant|wantedtags}} XP Gain
Starting Weapons {{Character Data|Mutant|startingwpns}} Cacti Club,Ghost Axe,Stick,Quarterstaff,Rock,Plank,Lightning Shiv,Double Barrel Shotgun,SMG,Revolver,Shredder,Crossbow,Taser,Wand,Icicle,Brick
Invalid: No options passed {{Character_Data|Mutant}} -
Error: Not a character {{Character_Data|Knife}} Character name not found