Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Game.LoadMod("https://unpkg.com/[email protected]")
- if (!window.CPPKIES_ONLOAD) window.CPPKIES_ONLOAD = []
- CPPKIES_ONLOAD.push(async () => {
- const imageLink =
- "https://pipe.miroware.io/5fb27f0be6bde66c95ca6ca3/newerererIcons.png"
- // Icons to not replace
- const ignoreNewIcons = { 0: 1, 1: 2, 4: 9, 7: 1, 8: 6, 10: 6, 12: 1, 15: 10 }
- // Cursor upgrades
- const cursorUpgrades = [
- "Reinforced index finger",
- "Carpal tunnel prevention cream",
- "Ambidextrous",
- "Thousand fingers",
- "Million fingers",
- "Billion fingers",
- "Trillion fingers",
- "Quadrillion fingers",
- "Quintillion fingers",
- "Sextillion fingers",
- "Septillion fingers",
- "Octillion fingers",
- "Nonillion fingers",
- ].map(name => Game.Upgrades[name])
- for (const building of Game.ObjectsById) {
- // Stop here
- if (building.id > 15) break
- await Cppkies.icons.relinkColumn(
- imageLink,
- [
- ...Array(building.id).fill([]),
- Object.values(Game.Tiers)
- .filter(val => !val.special)
- .map((_val, i) => i + 1),
- ],
- building.iconColumn
- )
- const link = Cppkies.icons.aliases[imageLink]
- const tieredUpgrades =
- building.id === 0 ? cursorUpgrades : building.tieredUpgrades
- tieredUpgrades.forEach(val => {
- if (ignoreNewIcons[building.id] !== val.tier) val.icon[2] = link
- })
- }
- // Hardcoded? Yes. Should be rewritten? No, not yet.
- Game.Upgrades["Endless book of prose"].icon = [0, 0, "https://pipe.miroware.io/5fb27f0be6bde66c95ca6ca3/fractal_engine_mooncandy.gif"]
- })
Advertisement
Add Comment
Please, Sign In to add comment