Module Wikitext
Main Wikitext generators.
Helpers
| FormattedString (str) | Parse Rotwood markup into Wikitext. |
| RewardToString (reward) | Generate Wikitext for reward. |
Main Generators
| AnomaliesTable () | Anomalies table. |
| BiomeExplorationRewardsTable () | Biome Exploration Rewards table. |
| ConstructablesTable () | Town decorations table. |
| FoodTable () | Food table. |
| GemsNavbox () | Gems navbox. |
| GemsTable () | Gems table. |
| MasteriesTable () | Masteries table. |
| MiragePatternsTable () | Mirage patterns table. |
| PowersTable () | Powers table. |
Helpers
- FormattedString (str)
-
Parse Rotwood markup into Wikitext.
Processed Tags:
These tags are parsed:
<p>: Picture (not paragraph), single tag.<#>: Color, open and close tags.
Some tags are ignored/removed, because there isn't an exact equivalent in Wikitext, or they're just not needed:
<s>: Shadow.<z>: Text size.<!>: Hover text (from Griftlands?, not really used) (seescripts/questral/util/locmacros.lua).
Keybind hints:
By default we use a dummy device of type "keyboard" to request keybind icons, so all keybind hints are for KB&M (see
scripts/input/input.lua)Parameters:
- str string Rotwood's XML-like markup text.
Returns:
-
string
Wikitext-compatible markup.
- RewardToString (reward)
-
Generate Wikitext for reward.
Parameters:
- reward MetaProgress.Reward Rotwood Reward object.
Returns:
-
string
Wikitext-compatible markup.
Main Generators
- AnomaliesTable ()
-
Anomalies table.
Wiki page: Template:AnomaliesTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.AnomaliesTable())
- BiomeExplorationRewardsTable ()
-
Biome Exploration Rewards table.
Wiki page: Template:BiomeExplorationRewardsTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.BiomeExplorationRewardsTable())
- ConstructablesTable ()
-
Town decorations table.
Wiki page: Template:ConstructablesTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.ConstructablesTable())
- FoodTable ()
-
Food table.
Wiki page: Template:FoodTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.FoodTable())
- GemsNavbox ()
-
Gems navbox.
Wiki page: Template:Gem_navbox
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.GemsNavbox())
- GemsTable ()
-
Gems table.
Wiki page: Template:GemsTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.GemsTable())
- MasteriesTable ()
-
Masteries table.
Wiki page: Template:MasteriesTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.MasteriesTable())
- MiragePatternsTable ()
-
Mirage patterns table.
Wiki page: Template:MiragePatternsTable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.MiragePatternsTable())
- PowersTable ()
-
Powers table.
Wiki page: Template:PowersTable_Obtainable
Returns:
-
string
Wikitext-compatible markup.
Usage:
imgui:SetClipboardText(wikiggutil.Wikitext.PowersTable())