User:Slash: Difference between revisions

From Melvor Idle
No edit summary
Tag: Manual revert
 
(54 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Otheruses|training the Cartography skill|the skill itself|Cartography}}
{| class="wikitable navigation-not-searchable" style="margin:auto; clear:both; width: 100%"
{{V|1.2.2}}
! Prayers !! DLC !! {{Skill|Prayer|Prayers}}
[[File:Cartography (skill).svg|thumb|right|Cartography]]
 
 
== Before Starting Cartography ==
There are a few bonuses that come from other skills that can boost Cartography. Due to Cartography's 5s Base Interval, it's advised to grab as many of the Interval and Survey reductions as possible to minimize the amount of time you spend surveying. The {{ItemIcon|Superior Cartography Skillcape}} gives <span style="color:green">-30% Survey Interval</span> which makes Skill XP boosts very valuable as well if you wish to go for full map mastery as well.
* {{ConstellationIcon|Nysa}}, unlocked at {{SkillReq|Astrology|45}}, provides upwards of <span style="color:green">+8% Skill XP</span> and <span style="color:green">-5% Survey Interval</span> at {{Icon|Mastery|Mastery Level 60|nolink=true}}.
* {{AgilityIcon|River Crossing}}, unlocked at {{SkillReq|Agility|10}} and requiring {{SkillReq|Cartography|15}}, provides <span style="color:green">-5% Survey Interval</span> and <span style="color:green">+5% Skill XP</span>.
* {{AgilityIcon|Ocean Drifting}}, unlocked at {{SkillReq|Agility|80}} and requiring {{SkillReq|Cartography|70}} and {{SkillReq|Archaeology|70}}, provides <span style="color:green">-5% Cartography Interval</span>.
 
Cartography has 8 '''Temporary''' <span style="color:green">-2% Survey Interval</span> Points of Interest that last for 10 moves. It's important that you know where these are located since they can only be discovered once. The locations can be seen in (SECOND GOAL).
 
You may want to gather the materials required to purchase all (SHIP TABLE) Ship Upgrades from the {{Icon|Shop}} before starting. It is not necessary to do so however it may reduce the amount of times you need to swap obstacles.
 
== Training Cartography ==
Since Skill XP boosts will change the pathing of this guide. This guide will be using the following to setup. Note this is not the most optimal setup. Check the (XP TABLE) and (INTERVAL TABLE) below for other boosts.
* {{ConstellationIcon|Nysa|Nysa's}} Survey Interval at -3% and Skill XP at 6%
* {{AgilityIcon|Pit Jump}}, {{AgilityIcon|Tree Climb}} and {{AgilityIcon|A Lovely Jog}} will built for 12% Skill XP
* {{ItemIcon|Firemaking Skillcape}} and {{ItemIcon|Book of Scholars}} will be worn for 8% Skill XP
This gives a total of 26% Skill XP out of the maximum 54% in the Base Game and 57% with {{TotH}}.
 
=== Getting the {{ItemIcon|Old Spyglass}} and {{UpgradeIcon|Cartographer's Enhancement}} ===
[[File:CartographyGuide1-4.png|thumb|Visual Representation for Steps 1-4]]
An image has been supplied as a visual aid on where to go.
{{Disclaimer|The amount of survey time you save getting the Captains Logbook is lost to upgrading maps. This guide will likely be changed to remove as much Arch as possible (Just need golden wreath and spyglass)}}
 
Follow the Red Diamond Path to the Port at (12, 19) and Survey this hex until you are level 10. You will not fully survey the Port yet. Make sure to Discover {{POIIcon|Old Village}} at (13, 17). If you Survey {{POIIcon|The Southern Lighthouse}} at (12, 18), make sure you do not Discover this POI. The temporary <span style="color:green">-2% Survey Interval</span> Discovery Reward will be used later.
 
Follow the Blue Pentagon Path until you Discover {{POIIcon|Monuments}} at (6, 11). Getting {{ItemIcon|Aranite Sieve|qty=25}} from {{POIIcon|Old Village}} should give you more than enough XP to hit {{SkillReq|Archaeology|24}} which is needed for {{POIIcon|Monuments}}. Digging for Tiny Artefacts at {{POIIcon|Monuments}} will allow you to get {{ItemIcon|Golden Leaf|qty=8}} which can be upgraded into {{ItemIcon|Golden Wreath}} for <span style="color:green">+3% Skill XP</span>. Spending the extra time at {{POIIcon|Monuments}} to get {{ItemIcon|Aranite Brush|qty=5}} will increase your chances of getting the {{ItemIcon|Old Spyglass}} in the next step. At {{SkillReq|Cartography|15}} you will be able to build {{AgilityIcon|River Crossing}}. At levels 20, 35, and 50 you will be able to purchase {{UpgradeIcon|Ship Hull Upgrade}}, {{UpgradeIcon|Ship Mast Upgrade}}, and {{UpgradeIcon|Ship Sails Upgrade}} respectively. If you are not already {{SkillReq|Cartography|50}}, continue North up the Purple Square Path before continuing.
 
Follow the Green Star Path and Discover {{POIIcon|Coral Wreckage}} at (7, 22). This will unlock the ability to get {{ItemIcon|Old Spyglass}} and thus Archaeology will need to be done. You are mainly looking for 1-2 key items.
# The {{ItemIcon|Old Spyglass}} from {{POIIcon|Coral Wreckage}} for <span style="color:green">-10% Survey Interval</span>
# If travel costs are an issue, you may also get {{ItemIcon|Sailor's Compass}} from Coral Wreckage for <span style="color:green">-6% Travel Costs</span>
It is recommended to upgrade the starting Coral Wreckage map to Perfect and, if you have the GP to do so, refine it to reduce the Medium Artefact Value to maximize the chance of getting the Old Spyglass. Getting the {{ItemIcon|Aranite Sieve|notext=true}}{{ItemIcon|Aranite Trowel|notext=true}}{{ItemIcon|Aranite Brush|notext=true}}{{ItemIcon|Aranite Shovel|notext=true}}Aranite Tool Set will be worth the time investment since {{ItemIcon|Captains Logbook}} will require {{SkillReq|Archaeology|105}} and finding Artefacts rewards more XP than finding nothing.
 
After obtaining the {{ItemIcon|Old Spyglass}}, you will want to Discover {{POIIcon|The Vibrant Coral Gardens}} at (6, 22) which rewards the {{ItemIcon|Coral|qty=500}} needed for {{AgilityIcon|Ocean Drifting}}, which will be built later.
 
Follow the Purple Square Path which will Discover {{POIIcon|The Jagged Labyrinth}} at (5, 7) and unlock the ability to purchase {{UpgradeIcon|Cartographer's Enhancement}} for {{GP|3000000}}. Upon reaching {{SkillReq|Cartography|60}}, you will be able to purchase {{UpgradeIcon|Ship Anchor Upgrade}}.
 
Discovering {{POIIcon|The Monolith}} at (5, 10) can help reduce the map making interval which will be useful soon. {{POIIcon|The Treacherous North}} is located at (4, 9) and rewards {{ItemIcon|Redwood Logs|qty=5000|nolink=true}} and {{POIIcon|The Ancient Wreckage}} is located at (7, 7) and rewards {{ItemIcon|Cursed Logs|qty=1000|nolink=true}}. These can be useful if you do not have {{ItemIcon|Redwood Logs|qty=28000|nolink=true}} for {{UpgradeIcon|Ship Rudder Upgrade}} and {{UpgradeIcon|Ship Crow's Nest Upgrade}} or the {{ItemIcon|Cursed Logs|qty=12000|nolink=true}} for {{UpgradeIcon|Ship Keel Upgrade}}.
 
Follow the (path) towards {{POIIcon|The Pirate's Treasure Trails}} at (10, 6) and Discover this hex. It is important this POI gets discovered before Surveying the entire map.
 
=== Fully Surveying all of the Temporary POI Hexes and Getting to {{SkillReq|Cartography|90}} for {{POIIcon|Cathedral}} ===
[[File:CartographyGuide5-10-min.png|thumb|Visual Representation for Steps 5-10]]
If you do not wish to train Archaeology, getting to {{SkillReq|Cartography|90}} can be skipped, as well as getting {{ItemIcon|Captains Logbook}}. Overall, getting {{ItemIcon|Captains Logbook}} saves about a day of surveying in Cartography (while spending more time in Archaeology). If you plan to go this route, just get the Temp POIs in this step and avoid going through the {{SkillReq|Cartography|80}} area in the third and fourth step. Instead, go through the Desert or Water below this area.
 
Following the Blue Pentagon Path, '''Survey''' {{POIIcon|The Pink Kraken}} at (4, 16) and {{POIIcon|The Western Lighthouse}} at (1, 18). '''Do not Discover''' these POIs. There is a Port at (2, 19) which can help reduce the travel costs later.
 
Next, use the Green Star Path to travel West towards the starting point and '''Survey''' {{POIIcon|The Southern Lighthouse}} at (12, 18), {{POIIcon|The Watchful Ship}} at (14, 20) and {{POIIcon|A Sadge Kraken}} at (12, 21). '''Do not Discover''' these POIs. There is a Port at (12, 19) which can help reduce the travel costs later.
 
Next we will take a small detour for experience and a Port while also heading towards the next Temporary POIs. Follow the (Path) and Survey (7, 9), (8, 10), (9, 9) (10, 9), then {{POIIcon|The Bustling Port}} at (11, 8). This port is good exp and will provide a cheaper return trip. At {{SkillReq|Cartography|70}}, you will unlock the Shop Purchase {{UpgradeIcon|Ship Rudder Upgrade}} as well as the Agility Obstacle, {{AgilityIcon|Ocean Drifting}}. It is recommended you grab both of these if possible.
 
The following hexes will require {{SkillReq|Cartography|80}}. There are plenty of {{SkillReq|Cartography|65}} hexes in the area which you can Survey until {{SkillReq|Cartography|80}}, a few of which are POIs; {{POIIcon|High Lands}} for {{ItemIcon|Dragon Claw Fragment|qty=10}} and {{ItemIcon|Ancient Claw Fragment|qty=10}} at (11, 9), {{POIIcon|The Molten Peak}} just to discover another POI for Township tasks at (12, 11), {{POIIcon|Bazaar}} for a port at (15, 11). Afterwards, head towards the {{POIIcon|Quarry}} at (20, 13) while also Surveying (20, 12), (19, 11), {{POIIcon|The Perilous Ascent}} at (19, 10), {{POIIcon|Perilous Peaks}} at (19, 9). This is mostly for experience purposes however if you wish to Discover Perilous Ascent and Perilous Peaks for the Discovery Rewards feel free to do so.
 
Next up is the Orange Circle Path. You will want to Discover both {{POIIcon|Old Mine}} at (23, 14) and {{POIIcon|The Abandoned Vein Mine}} at (22, 15). These POIs need to be discovered before Surveying the entire map.
 
Along the Gray Triangle Path there are 2 POIs, {{POIIcon|Capital City Lighthouse}} at (27, 13), and {{POIIcon|The Pushy Sailor}} at (29, 9). ''Do not Discover''' these POIs. There is a Port at (27, 14). You may grab this before heading to {{POIIcon|The Pushy Sailor|nolink=true}} which you should be able to reach from (27, 11). There are a group of 8 {{SkillReq|Cartography|80}} hexes to the East. If you are not {{SkillReq|Cartography|90}} yet, Survey these. At {{SkillReq|Cartography|85}}, you will be able to Purchase {{UpgradeIcon|Ship Keel Upgrade}}.
 
(This step has been altered from the current Image, needs update) The next POIs will be towards the South side of the map. Along the Purple Square Path to {{POIIcon|Fisherman's Enclave}} at (22, 22), there is a Port at (21, 20). You will need to Discover this POI before Surveying the entire map. Survey {{POIIcon|The Sea Noodle}} at (23, 25). '''Do not Discover''' this POI.
 
The final step will be reaching {{SkillReq|Cartography|90}} then Discovering the {{POIIcon|Cathedral}} at (6, 3). There are 16 {{SkillReq|Cartography|80}} around the {{POIIcon|Cathedral}} worth a Base XP of 988,416. You will want to Discover {{POIIcon|Ritual Site}} at (2, 2) to make leveling Archaeology a bit smoother. Upon reaching {{SkillReq|Cartography|90}}, Discover {{POIIcon|Cathedral}} at (6, 3).
 
=== Leveling Archaeology for {{ItemIcon|Captains Logbook}} ===
TODO:
# Get {{ItemIcon|Shipment Chart}} from {{POIIcon|Secret Mines}}
# Discover {{POIIcon|Ancient Forge}} at (20, 12)
# Get {{ItemIcon|Ancient Sieve|notext=true}}{{ItemIcon|Ancient Trowel|notext=true}}{{ItemIcon|Ancient Shovel|notext=true}}{{ItemIcon|Ancient Brush|notext=true}}Ancient Tool Set from {{POIIcon|Ancient Forge}}
# Get to {{SkillReq|Archaeology|105}} for {{POIIcon|Cathedral}} (Unsure if a step is needed before this)
# {{POIIcon|Shipwreck Cove}} at {{SkillReq|Archaeology|110}} for {{ItemIcon|Captains Logbook}}
 
 
=== Fully Surveying the Map ===
Moving to {{POIIcon|The Edge of Darkness}} will cost around 50m GP. If you wish to cut this cost down, you can Survey ONE of the following: {{POIIcon|Seashade Village}} at (7, 20), {{POIIcon|Willowshire}} at (25, 7), {{POIIcon|Rosedale}} at (27, 18) and then {{POIIcon|The Shimmering Sands Outpost}} at (18, 15). When you are ready to get the interval POIs, ensure you Discover one of the first ones first, then do {{POIIcon|The Shimmering Sands Outpost}} second since this one gives <span style="color:green">-10% Cartography travel costs</span> whereas the first ones only give <span style="color:green">-5% Cartography travel costs</span>.
 
With all of the Temporary <span style="color:green">-2% Survey Interval</span> POIs fully Surveyed, it's time to Discover all of them without traveling to any unnecessary hexes in between. These boosts will only last for 10 turns and there are 8 POIs. Even though you have 2 spare moves, it is important you do not waste these. You will need to move once at {{SkillReq|Cartography|100}} and again after fully Surveying the North East corner. The order for the first 7 are not important however you want to make sure you end on {{POIIcon|The Pushy Sailor}} at (29, 9).
 
You want to start Auto Surveying at (26, 8). This will require you to Survey (27, 9) and (27, 8) first. At {{SkillReq|Cartography|90}} you will want to restart the Auto Survey at (28, 12) so the Level 90 Hexes around (30, 16) get Surveyed. At {{SkillReq|Cartography|99}} the second last Ship Upgrade, {{UpgradeIcon|Ship Crow's Nest Upgrade}}, can be purchased.
 
Upon reaching {{SkillReq|Cartography|100}}, you want to manually Survey (30, 9) and (31, 8). From here, Auto Survey (31, 7) until the corner hex is Fully Survyed. Ideally you will want to be active when this happens otherwise you will need to move which will result in losing one of the -2% Survey Interval POIs 1 turn sooner. After you fully Survey {{POIIcon|The Edge of Darkness}} at (31, 0), you will want to move there. This will unlock the Shop Purchase, {{UpgradeIcon|Cartographer's Knowledge}} for {{GP|50000000}}. Traveling to this hex will also cost somewhere around 47.5m-52m GP.
 
To reach level 120 you will have to move 2-3 more times to areas with higher exp. Hex experience is based on the level of the hex, therefore the best exp is in the high level areas.
 
[https://cdn.discordapp.com/attachments/1149195171926376559/1154928653101183089/fullMap1x.png This map] can help visualize where the high exp zones are. The first location you will want to move to is the snowy area in the bottom middle, around (17, 25) since this is a dense, compact area. Upon reaching {{SkillReq|Cartography|110}}, the final Ship Upgrade, {{UpgradeIcon|Ship Combat Overhaul}}, can be purchased. The top middle is going to be the second location, around (12, 2) so you can grab the level 80 and 90 hexes to the East and West. Upon reaching {{SkillReq|Cartography|120}}, you will want to purchase and equip the {{ItemIcon|Superior Cartography Skillcape}}. If you still have not reached {{SkillReq|Cartography|120}} after the first 2 locations, move to the center of the map, around (16, 11) and start surveying the hexes to the East since they are higher level than the ones on the left.
 
 
(15, 26) - Bottom spot
(15, 11) - Middle spot / (15, 12) / Early Logbook: (17, 10)
 
Level 10 = 80xp
Level 35 = 282xp
Level 50 = 404xp
Level 65 = 525xp
Level 80 = 646xp
Level 90 = 727xp
Level 100 = 780xp
Level 100 = 808xp
 
TODO:
# Finish final section
# Fix These: (SHIP TABLE) (XP TABLE) (INTERVAL TABLE) (SECOND GOAL)
# Re-route second stage -> Green path first then blue path; This route is faster (Done, needs updated Image)
# Is it better to get Spyglass first or the shop purchase? (Spyglass->POI->361,208xp/6h33m) vs (POI->Spyglass->363,599xp/6h38m)
 
{{SkillReq|Cartography|50}, {{ItemIcon|}, {{POIIcon|}, {{AgilityIcon|}, {{UpgradeIcon|}, {{ConstellationIcon|}, {{Icon|Mastery}, {{TotH}
<span style="color:green"></span>
 
==Boosters==
===Ship Upgrades===
{{ShipUpgradeTable}}
 
===Other Shop Purchases===
{| class="wikitable sortable lighttable col-3-right"
! colspan="2" | Upgrade Name !! Level !! Cost !! Purchase Requirement !! X !! Y !! Modifiers
|-
|-
| {{UpgradeIcon|Cartographer's Enhancement|size=50|notext=true}} || {{AoD}} Cartographer's Enhancement || {{SkillReq|Cartography|0}} || {{GP|3000000}} || Discover {{POIIcon|The Jagged Labyrinth}} || 5 || 7 || <span style="color:green">+2% Cartography Skill XP<br>-5% Cartography survey interval<br>-5% Cartography travel costs</span>
! style="text-align:center;"rowspan=2| Standard
| style="text-align:center; | {{Melvor}}
| style="text-align:center;" | {{PrayerIcon|Thick Skin|size=16}} • {{PrayerIcon|Burst of Strength|size=16}} • {{PrayerIcon|Clarity of Thought|size=16}} • {{PrayerIcon|Sharp Eye|size=16}} • {{PrayerIcon|Mystic Will|size=16}} • {{PrayerIcon|Rock Skin|size=16}} • {{PrayerIcon|Superhuman Strength|size=16}} • {{PrayerIcon|Improved Reflexes|size=16}} • {{PrayerIcon|Rapid Heal|size=16}} • {{PrayerIcon|Protect Item|size=16}} • {{PrayerIcon|Hawk Eye|size=16}} • {{PrayerIcon|Mystic Lore|size=16}} • {{PrayerIcon|Steel Skin|size=16}} • {{PrayerIcon|Ultimate Strength|size=16}} • {{PrayerIcon|Incredible Reflexes|size=16}} • {{PrayerIcon|Protect from Magic|size=16}} • {{PrayerIcon|Protect from Ranged|size=16}} • {{PrayerIcon|Protect from Melee|size=16}} • {{PrayerIcon|Eagle Eye|size=16}} • {{PrayerIcon|Mystic Might|size=16}} • {{PrayerIcon|Redemption|size=16}} • {{PrayerIcon|Chivalry|size=16}} • {{PrayerIcon|Piety|size=16}} • {{PrayerIcon|Rigour|size=16}} • {{PrayerIcon|Augury|size=16}} • {{PrayerIcon|Stone Skin|size=16}} • {{PrayerIcon|Safeguard|size=16}} • {{PrayerIcon|Rejuvenation|size=16}} • {{PrayerIcon|Sharp Vision|size=16}} • {{PrayerIcon|Mystic Mastery|size=16}} • {{PrayerIcon|Battleheart|size=16}}
|-
|-
| {{UpgradeIcon|Cartographer's Knowledge|size=50|notext=true}} || {{AoD}} Cartographer's Knowledge || {{SkillReq|Cartography|100}} || {{GP|50000000}} || Discover {{POIIcon|The Edge of Darkness}} || 31 || 0 || <span style="color:green">+2% Cartography Skill XP<br>-5% Cartography survey interval<br>-5% Cartography travel costs</span>
| style="text-align:center; | {{TotH}}
| style="text-align:center;" | {{PrayerIcon|Valor|size=16}} • {{PrayerIcon|Avidity|size=16}} • {{PrayerIcon|Divination|size=16}} • {{PrayerIcon|Grace|size=16}} {{PrayerIcon|Holy Aegis|size=16}} {{PrayerIcon|Divine Precision|size=16}} {{PrayerIcon|Elusivity|size=16}} • {{PrayerIcon|Battleborn|size=16}}
|-
|-
| {{UpgradeIcon|Travel Token|size=50|notext=true}} || {{AoD}} Travel Token || {{SkillReq|Archaeology|80}} || {{ItemIcon|Museum Token|notext=true}} 100,000 || Donate 150 Artefacts to the Museum || || || <span style="color:green">-10% Cartography travel costs</span>
! style="text-align:center;"| Unholy
| style="text-align:center; | {{AoD}}
| style="text-align:center;" | {{PrayerIcon|Maim|size=16}} • {{PrayerIcon|Grudge|size=16}} • {{PrayerIcon|Profane|size=16}} • {{PrayerIcon|Consumption|size=16}} • {{PrayerIcon|Malice|size=16}} • {{PrayerIcon|Martyr|size=16}} • {{PrayerIcon|Shatter|size=16}} • {{PrayerIcon|Spite|size=16}} • {{PrayerIcon|Destruction|size=16}} • {{PrayerIcon|Punishment|size=16}} • {{PrayerIcon|Corruption|size=16}} • {{PrayerIcon|Defile|size=16}} • {{PrayerIcon|Retribution|size=16}} • {{PrayerIcon|Malevolence|size=16}} • {{PrayerIcon|Reckoning|size=16}} • {{PrayerIcon|Sacrilege|size=16}} • {{PrayerIcon|Eradicate|size=16}}
|-
! style="text-align:center;"| Abyssal
| style="text-align:center; | {{ItA}}
| style="text-align:center;" | {{PrayerIcon|Savagery|size=16}} • {{PrayerIcon|Menace|size=16}} • {{PrayerIcon|Volatility|size=16}} • {{PrayerIcon|Endure|size=16}} • {{PrayerIcon|Focused|size=16}} • {{PrayerIcon|Elusion|size=16}} • {{PrayerIcon|Ravage|size=16}} • {{PrayerIcon|Ferocity|size=16}} • {{PrayerIcon|Terrorize|size=16}} • {{PrayerIcon|Instability|size=16}} • {{PrayerIcon|Piercer|size=16}} • {{PrayerIcon|Drain|size=16}} • {{PrayerIcon|Vanish|size=16}} • {{PrayerIcon|Renewal|size=16}} • {{PrayerIcon|Cruelty|size=16}} • {{PrayerIcon|Opress|size=16}} • {{PrayerIcon|Devastation|size=16}} • {{PrayerIcon|Melee Shroud|size=16}} • {{PrayerIcon|Ranged Shroud|size=16}} • {{PrayerIcon|Magic Shroud|size=16}} • {{PrayerIcon|Evisceration|size=16}} • {{PrayerIcon|Deadshot|size=16}} • {{PrayerIcon|Brutality|size=16}} • {{PrayerIcon|Tyranny|size=16}} • {{PrayerIcon|Obliteration|size=16}} • {{PrayerIcon|Dissipation|size=16}} • {{PrayerIcon|Meticulous|size=16}} • {{PrayerIcon|Siphon|size=16}} • {{PrayerIcon|Dispersion|size=16}} • {{PrayerIcon|Unrelenting|size=16}} • {{PrayerIcon|Annihilation|size=16}}
|}
|}
 
<syntaxhighlight lang="javascript" line>
===XP===
let results = [`{| class="wikitable navigation-not-searchable" style="margin:auto; clear:both; width: 100%"\n! Prayers !! DLC !! {{Skill|Prayer|Prayers}}`],
The following things can be used to increase the amount of Cartography XP received.
nsMap = new Map([['melvorF', ['Standard', '{{Melvor}}']], ['melvorTotH', ['', '{{TotH}}']], ['melvorAoD', ['Unholy', '{{AoD}}']], ['melvorItA', ['Abyssal', '{{ItA}}']]]);
{{ModifierTable|increasedGlobalSkillXP,increasedSkillXP,increasedNonCombatSkillXP,increasedSurveyXP|XP Boost|false|skill=Cartography}}
game.prayers.namespaceMaps.forEach((prayers, ns) => {
 
let bookResults = '',
===Action Time===
nsValues = nsMap.get(ns),
This table lists most sources of boosts to Survey, Map Upgrade, and Paper Making intervals.
rowSpan = ns === 'melvorF' ? 'rowspan=2' : '',
{{ModifierTable|decreasedSkillIntervalPercent,decreasedSkillInterval,decreasedGlobalSkillIntervalPercent,decreasedMapUpgradeInterval,decreasedPaperMakingInterval,decreasedSurveyInterval|Action Interval|false|skill=Cartography}}
style = ns === 'melvorTotH' ? `| style="text-align:center; | ${nsValues[1]}` : `! style="text-align:center;"${rowSpan}| ${nsValues[0]}\n| style="text-align:center; | ${nsValues[1]}`
 
results.push(`\n|-\n${style}\n| style="text-align:center;" |`);
{{SkillGuideMenu}}
prayers.forEach(prayer => {
{{Menu}}
bookResults += ` {{PrayerIcon|${prayer.name}|size=16}} •`;
[[Category:Guides]]
});
[[Category:Skill Training]]
bookResults = bookResults.slice(0, bookResults.length - 2); results.push(bookResults);
});
let outputString = ``;
results.forEach(str => outputString += str);
outputString += '\n|}';
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(outputString, 'text') : copy(outputString);
console.log(outputString);
</syntaxhighlight>

Latest revision as of 22:08, 28 July 2024

let results = [`{| class="wikitable navigation-not-searchable" style="margin:auto; clear:both; width: 100%"\n! Prayers !! DLC !! {{Skill|Prayer|Prayers}}`],
	nsMap = new Map([['melvorF', ['Standard', '{{Melvor}}']], ['melvorTotH', ['', '{{TotH}}']], ['melvorAoD', ['Unholy', '{{AoD}}']], ['melvorItA', ['Abyssal', '{{ItA}}']]]);
game.prayers.namespaceMaps.forEach((prayers, ns) => {
	let bookResults = '',
		nsValues = nsMap.get(ns),
		rowSpan = ns === 'melvorF' ? 'rowspan=2' : '',
		style = ns === 'melvorTotH' ? `| style="text-align:center; | ${nsValues[1]}` : `! style="text-align:center;"${rowSpan}| ${nsValues[0]}\n| style="text-align:center; | ${nsValues[1]}`
	results.push(`\n|-\n${style}\n| style="text-align:center;" |`);
	prayers.forEach(prayer => {
		bookResults += ` {{PrayerIcon|${prayer.name}|size=16}} •`;
	});
	bookResults = bookResults.slice(0, bookResults.length - 2); results.push(bookResults);
});
let outputString = ``;
results.forEach(str => outputString += str);
outputString += '\n|}';
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(outputString, 'text') : copy(outputString);
console.log(outputString);