Variables
Const ACCOUNT_TYPES
ACCOUNT_
TYPES: keyof typeof hiscoreURLs[] = ['normal','ironman','ultimate','hardcore','deadman','seasonal','tournament','skiller','skiller_defence']
Const BASE_API_URL
BASE_API_URL: "https://services.runescape.com" = "https://services.runescape.com"
Const BASE_URL
BASE_URL: "https://secure.runescape.com/m=news/archive?oldschool=1" = "https://secure.runescape.com/m=news/archive?oldschool=1"
Const CLUES
CLUES: ["all", "beginner", "easy", "medium", "hard", "elite", "master"] = ['all', 'beginner', 'easy', 'medium', 'hard', 'elite', 'master'] as const
Const EMPTY_BIRD_NEST_ID
EMPTY_BIRD_NEST_ID: 5075 = 5075
Const MINIGAMES
MINIGAMES: ["bountyHunter", "bountyHunterRogue", "LMS", "pvpArena", "soulWars", "riftsClosed"] = ['bountyHunter', 'bountyHunterRogue', 'LMS', 'pvpArena', 'soulWars', 'riftsClosed'] as const
Const OSRS_BOX_BASE_URL
OSRS_BOX_BASE_URL: "https://www.osrsbox.com/osrsbox-db" = "https://www.osrsbox.com/osrsbox-db"
Const SKILLS
SKILLS: ["overall", "attack", "defence", "strength", "hitpoints", "ranged", "prayer", "magic", "cooking", "woodcutting", "fletching", "fishing", "firemaking", "crafting", "smithing", "mining", "herblore", "agility", "thieving", "slayer", "farming", "runecraft", "hunter", "construction"] = ['overall','attack','defence','strength','hitpoints','ranged','prayer','magic','cooking','woodcutting','fletching','fishing','firemaking','crafting','smithing','mining','herblore','agility','thieving','slayer','farming','runecraft','hunter','construction'] as const
Const USELESS_ITEMS
USELESS_ITEMS: number[] = [617, 8890, 6964, 2513, 19_492, 11_071, 11_068, 21_284, 24_735, 21_913, 4703, 4561, 2425, 4692, 3741,// Pharaoh's sceptres9045, 9046, 9047, 9048, 9049, 9050, 9051, 13_074, 13_075, 13_076, 13_077, 13_078, 16_176, 21_445, 21_446, 26_948,26_950, 26_945]
Const bossNameMap
boss
NameMap: Map<keyof BossRecords, string> = new Map(mappedBossNames)
Const frozenErrorStr
frozenErrorStr: "Tried to mutate a frozen Bank." = "Tried to mutate a frozen Bank."
Const hiscoreURLs
hiscoreURLs: { deadman: string; hardcore: string; ironman: string; normal: string; seasonal: string; skiller: string; skiller_defence: string; tournament: string; ultimate: string } = {normal: hiscoreURL('hiscore_oldschool'),ironman: hiscoreURL('hiscore_oldschool_ironman'),ultimate: hiscoreURL('hiscore_oldschool_ultimate'),hardcore: hiscoreURL('hiscore_oldschool_hardcore_ironman'),deadman: hiscoreURL('hiscore_oldschool_deadman'),seasonal: hiscoreURL('hiscore_oldschool_seasonal'),tournament: hiscoreURL('hiscore_oldschool_tournament'),skiller: hiscoreURL('hiscore_oldschool_skiller'),skiller_defence: hiscoreURL('hiscore_oldschool_skiller_defence')} as const
Type declaration
-
deadman: string
-
hardcore: string
-
ironman: string
-
normal: string
-
seasonal: string
-
skiller: string
-
skiller_defence: string
-
tournament: string
-
ultimate: string
Const itemNameMap
item
NameMap: Map<string, number> = new Map()
Const items
items
: Record<string, Item> = _items as Record<string, Item>
Const itemsExport
items
Export: Items = new Items()
Const mappedBossNames
mapped
BossNames: [keyof BossRecords, string][] = [['abyssalSire', 'Abyssal Sire'],['alchemicalHydra', 'Alchemical Hydra'],['barrowsChests', 'Barrows Chests'],['bryophyta', 'Bryophyta'],['callisto', 'Callisto'],['cerberus', 'Cerberus'],['chambersofXeric', 'Chambers of Xeric'],['chambersofXericChallengeMode', 'Chambers of Xeric: Challenge Mode'],['chaosElemental', 'Chaos Elemental'],['chaosFanatic', 'Chaos Fanatic'],['commanderZilyana', 'Commander Zilyana'],['corporealBeast', 'Corporeal Beast'],['crazyArchaeologist', 'Crazy Archaeologist'],['dagannothPrime', 'Dagannoth Prime'],['dagannothRex', 'Dagannoth Rex'],['dagannothSupreme', 'Dagannoth Supreme'],['derangedArchaeologist', 'Deranged Archaeologist'],['generalGraardor', 'General Graardor'],['giantMole', 'Giant Mole'],['grotesqueGuardians', 'Grotesque Guardians'],['hespori', 'Hespori'],['kalphiteQueen', 'Kalphite Queen'],['kingBlackDragon', 'King Black Dragon'],['kraken', 'Kraken'],['kreeArra', "Kree'Arra"],['krilTsutsaroth', "K'ril Tsutsaroth"],['mimic', 'Mimic'],['nex', 'Nex'],['nightmare', 'The Nightmare'],['phosanisNightmare', "Phosani's Nightmare"],['obor', 'Obor'],['phantomMuspah', 'Phantom Muspah'],['sarachnis', 'Sarachnis'],['scorpia', 'Scorpia'],['skotizo', 'Skotizo'],['tempoross', 'Tempoross'],['theGauntlet', 'The Gauntlet'],['theCorruptedGauntlet', 'The Corrupted Gauntlet'],['theatreofBlood', 'Theatre of Blood'],['theatreofBloodHard', 'Theatre of Blood: Hard Mode'],['thermonuclearSmokeDevil', 'Thermonuclear Smoke Devil'],['tombsofAmascut', 'Tombs of Amascut'],['tombsofAmascutExpert', 'Tombs of Amascut: Expert Mode'],['tzKalZuk', 'TzKal-Zuk'],['tzTokJad', 'TzTok-Jad'],['venenatis', 'Venenatis'],['vetion', "Vet'ion"],['vorkath', 'Vorkath'],['wintertodt', 'Wintertodt'],['zalcano', 'Zalcano'],['zulrah', 'Zulrah']]
Const monsterData
monsterData: {} = rawMonsterData as { [key: string]: MonsterData }
Const pollArchive
poll
Archive: PollWithDOM[] = _pollArchive as PollWithDOM[]
Const polls
polls
: Polls = new Polls()
Const revsUniqueTable
revs
UniqueTable: LootTable = new LootTable().add('Amulet of avarice', 1, 2).add("Craw's bow (u)", 1, 1).add("Thammaron's sceptre (u)", 1, 1).add("Viggora's chainmace (u)", 1, 1)
Adds an array of items in a bank