Template:CorruptionsTable/doc

< Template:CorruptionsTable
Revision as of 20:15, 1 July 2024 by Slash (talk | contribs) (Created doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The insides of this table was created using the following script. To use, open the game and paste the below into the console. The outputs will be copied to your clipboard automatically. Links to the effects have to be added manually.

let results = [];
game.corruption.corruptionEffects.allRows.sort((a,b) => a.minMonsterLevel - b.minMonsterLevel).forEach(row => {
	results.push(`|${numberWithCommas(row.minMonsterLevel)} || <span style="color:green">${row.customDescription}</span>`);
});
let output = ``;results.forEach(alias => output += alias + '\n|-\n');console.log(output);
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(outputString, 'text') : copy(outputString);