Module:Sandbox/User:Fjara/Diary calculator/Kandarin

From Old School RuneScape Wiki
Jump to navigation Jump to search
Module documentation
This documentation is transcluded from Template:Module sandbox/doc. [edit] [history] [purge]
Module:Sandbox/User:Fjara/Diary calculator/Kandarin requires Module:Currencies.
Module:Sandbox/User:Fjara/Diary calculator/Kandarin requires Module:Fairycode.
Module:Sandbox/User:Fjara/Diary calculator/Kandarin requires Module:FloorNumber.
Module:Sandbox/User:Fjara/Diary calculator/Kandarin is required by Module:Sandbox/User:Fjara/Diary calculator.
Module:Sandbox/User:Fjara/Diary calculator/Kandarin is required by Module:Sandbox/User:Jakesterwars/Diary calculator.

This module is a sandbox for Fjara. It can be used to test changes to existing modules, prototype new modules, or just experimenting with lua features.

Invocations of this sandbox should be kept in userspace; if the module is intended for use in other namespaces, it should be moved out of the sandbox into a normal module and template.

This default documentation can be overridden by creating the /doc subpage of this module, as normal.

local fairyCode = require('Module:Fairycode')._code
local floorNumber = require('Module:FloorNumber')._main
local currency = require('Module:Currencies')._amount

return {
	{
		{
			task = "Catch a [[Mackerel]] at [[Catherby]].",
			notes = "[[Big fishing net]] can be purchased at [[Harry's Fishing Shop]] for " .. currency(20, 'NoCoins') .. ".",
			items = {
				{ name = 'Big fishing net' , quantity = 0 }
			},
			skills = {
				{ name = 'Fishing', level = 16, boostable = true }
			}
		},{
			task = "Buy a [[candle]] from the [[Chandler]] in [[Catherby]].",
			notes = "None",
			items = {
				{ name = 'Coins', quantity = 3 }
			}
		},{
			task = "Collect 5 [[flax]] from the [[Seers' Village]] [[flax fields]].",
			notes = "None",
		},{
			task = "Play the [[Organ]] in the [[Seers' Church]].",
			notes = "None"
		},{
			task = "Plant some [[Jute seed]]s in the patch north of [[McGrubor's Wood]].",
			notes = "The patch does not need to survive.",
			items = {
				{ name = 'Jute seed', quantity = 3 },
				{ name = 'Seed dibber', quantity = 0 },
				{ name = 'Rake', quantity = 0 }
			},
			skills = {
				{ name = 'Farming', level = 13, boostable = true }
			}
		},{
			task = "Have [[Galahad]] make you a [[cup of tea]].",
			notes = "West of [[McGrubor's Wood]].",
		},{
			task = "Defeat one of each [[elemental]] in the [[Elemental workshop|workshop]].",
			notes = "Complete [[Elemental Workshop I]] up to entering the workshop.",
			items = {
				{ name = 'Battered key', quantity = 0 },
				{ name = 'Pickaxe', quantity = 0 }
			},
			quests = { 'Partial Elemental Workshop I' }
		},{
			task = "Get a [[pet fish]] from [[Harry]] in [[Catherby]].",
			notes = "You '''must''' have all the items when talking to [[Harry]].",
			items = {
				{ name = 'Coins', quantity = 10 },
				{ name = 'Fishbowl#Water', quantity = 1 },
				{ name = 'Seaweed', quantity = 1 }
			}
		},{
			task = "Buy a [[Stew]] from the [[Seers' pub]].",
			notes = "None",
			items = {
				{ name = 'Coins', quantity = 20 }
			}
		},{
			task = "Speak to [[Sherlock]].",
			notes = "[[Sherlock]] is between [[Sorcerer's Tower]] and [[Keep Le Faye]]."
		},{
			task = "Cross the [[Coal truck]] [[Log balance (Coal Trucks)|log shortcut]].",
			notes = "None",
			skill = {
				{ name = 'Agility', level = 20, boostable = true }
			}
		}
	},
	{
		{
			task = "Complete a lap of the [[Barbarian Outpost Agility Course|Barbarian agility course]].",
			notes = "None",
			quests = { 'Alfred Grimhand\'s Barcrawl' },
			skills = {
				{ name = 'Agility', level = 35, boostable = true }
			}
		},{
			task = "Create a [[Super Antipoison]] potion from scratch in the [[Seers]]/[[Catherby]] Area.",
			notes = "None",
			items = {
				{ name = 'Irit potion (unf)', quantity = 1 },
				{ name = 'Unicorn horn dust', quantity = 1 }
			},
			skills = {
				{ name = 'Herblore', level = 48, boostable = true }
			}
		},{
			task = "Enter the [[Ranging guild]].",
			notes = "None",
			skills = {
				{ name = 'Ranged', level = 40, boostable = true }
			}
		},{
			task = "Use the [[Shortcuts|grapple shortcut]] to get from the [[water obelisk]] to [[Catherby]] shore.",
			notes = "A [[Hallowed grapple]] works too.<br/>A [[steel key ring]] with the dusty key or 70 [[Agility]] work too.<br/>[[Dragonfire]] protection and [[antipoison]] are recommended.",
			items = {
				{ name = 'Mith grapple', quantity = 0 },
				{ name = 'Crossbow', quantity = 0 },
				{ name = 'Dusty key', quantity = 0 }
			},
			skills = {
				{ name = 'Agility', level = 36, boostable = true },
				{ name = 'Strength', level = 22, boostable = true },
				{ name = 'Ranged', level = 39, boostable = true }
			}
		},{
			task = "Catch and cook a [[Bass]] in [[Catherby]].",
			notes = "[[Big fishing net]] can be bought in the [[Catherby Fishing Shop]] for " .. currency(20, 'NoCoins') .. ".",
			items = {
				{ name = 'Big fishing net', quantity = 0 }
			},
			skills = {
				{ name = 'Cooking', level = 43, boostable = true },
				{ name = 'Fishing', level = 46, boostable = true }
			}
		},{
			task = "[[Camelot Teleport|Teleport to Camelot]].",
			notes = "None",
			items = {
				{ name = 'Air rune', quantity = 5 },
				{ name = 'Law rune', quantity = 1 }
			},
			skills = {
				{ name = 'Magic', level = 45, boostable = true }
			}
		},{
			task = "String a [[Maple shortbow]] in [[Seers' Village#Bank|Seer's Village bank]].",
			notes = "None",
			items = {
				{ name = 'Maple shortbow (u)', quantity = 1 },
				{ name = 'Bow string', quantity = 1 }
			},
			skills = {
				{ name = 'Fletching', level = 50, boostable = true }
			}
		},{
			task = "Pick some [[Limpwurt root]] from the farming [[Flower patch|patch]]] in [[Catherby]].",
			notes = "[[Ultracompost]] is recommended.",
			items = {
				{ name = 'Limpwurt seed', quantity = 1 },
				{ name = 'Rake', quantity = 0 },
				{ name = 'Seed dibber', quantity = 0 }
			},
			skills = {
				{ name = 'Farming', level = 26, boostable = true }
			}
		},{
			task = "Create a [[Mind helmet]].",
			notes = "Same process as in [[Elemental Workshop II]], just make a [[mind helmet]].",
			items = {
				{ name = 'Coal', quantity = 4 },
				{ name = 'Hammer', quantity = 0 },
				{ name = 'Beaten book', quantity = 0 },
				{ name = 'Battered book', quantity = 0 },
				{ name = 'Elemental ore', quantity = 0 },
			},
			quests = { 'Elemental Workshop II' },
			skills = {
				{ name = 'Smithing', level = 30, boostable = true }
			}
		},{
			task = "Kill a [[Fire Giant]] inside [[Baxtorian Waterfall]].",
			notes = "Complete the [[Waterfall Quest]] up to entering the [[Waterfall Dungeon]].<br/>[[Glarial's amulet]] is only needed if [[Waterfall Quest]] is not completed.<br/>Combat equipment is recommended.",
			items = {
				{ name = 'Rope', quantity = 0 },
				{ name = 'Glarial\'s amulet', quantity = 0 }
			},
			quests = { 'Partial Waterfall Quest' }
		},{
			task = "Complete a wave of [[Barbarian Assault]].",
			notes = "Decent combat level and equipment are recommended, but not required."
		},{
			task = "Steal from the [[Chest (steel arrowtips)|chest]] in [[Hemenster]].",
			notes = "None",
			items = {
				{ name = 'Lockpick', quantity = 0 }
			},
			skills = {
				{ name = 'Thieving', level = 47, boostable = true }
			}
		},{
			task = "Travel to [[McGrubor's Wood]] by [[Fairy Ring]].",
			notes = "[[Lunar staff]] or none after completing [[elite Lumbridge & Draynor Diary]] work too.<br/>Fairy code: " .. fairyCode('als'),
			items = {
				{ name = 'Dramen staff', quantity = 0 }
			},
			quests = { 'Partial Fairytale II - Cure a Queen' }
		},{
			task = "Mine some [[coal]] near the [[coal trucks]].",
			notes = "None",
			items = {
				{ name = 'Pickaxe', quantity = 0 }
			},
			skills = {
				{ name = 'Mining', level = 30, boostable = true }
			}
		},
	},
	{
		{
			task = "Catch a [[Leaping Sturgeon]].",
			notes = "[[Pearl barbarian rod]] works too.<br/>Bring more [[feather]]s in the case that it is not the first fish caught.",
			items = {
				{ name = 'Feather', quantity = 1 },
				{ name = 'Barbarian rod', quantity = 0 }
				
			},
			quests = { 'Barbarian Heavy Rod Fishing' },
			skills = {
				{ name = 'Agility', level = 45, boostable = true },
				{ name = 'Fishing', level = 70, boostable = true },
				{ name = 'Strength', level = 45, boostable = true }
			}
		},{
			task = "Complete a lap of the [[Seers' Village Rooftop Course|Seers' Village agility course]].",
			notes = "None",
			skills = {
				{ name = 'Agility', level = 60, boostable = true }
			}
		},{
			task = "Create a [[Yew longbow]] from scratch around [[Seers' Village]].",
			notes = "The bow '''must''' be finished on the " .. tostring(floorNumber({2})).. " of the house with the [[spinning wheel]].",
			items = {
				{ name = 'Bow string', quantity = 1 },
				{ name = 'Axe', quantity = 0 },
				{ name = 'Knife', quantity = 0 }
			},
			skills = {
				{ name = 'Fletching', level = 70, boostable = true }
			}
		},{
			task = "Enter the [[Seers' Village#Courthouse|Seers' Village courthouse]] with [[piety]] turned on.",
			notes = "None",
			quests = { 'Knight Waves Training Grounds' },
			skills = {
				{ name = 'Defence', level = 70, boostable = false },
				{ name = 'Prayer', level = 70, boostable = false }
			}
		},{
			task = "Charge a [[Water Orb]].",
			notes = "A [[steel key ring]] with the dusty key or 70 [[Agility]] work too.<br/>[[Dragonfire]] protection and [[antipoison]] are recommended.",
			items = {
				{ name = 'Water rune', quantity = 30 },
				{ name = 'Cosmic rune', quantity = 3 },
				{ name = 'Unpowered orb', quantity = 1 },
				{ name = 'Dusty key', quantity = 0 }
			},
			skills = {
				{ name = 'Magic', level = 56, boostable = true }
			}
		},{
			task = "Burn some [[maple logs]] with a [[bow]] in [[Seers' Village]].",
			notes = "The following bows do not work: [[Ogre bow]], [[Crystal bow]], [[Twisted bow]], [[Dark bow]], [[Craw's bow]], and [[Cursed goblin bow]].",
			items = {
				{ name = 'Maple logs', quantity = 1 },
				{ name = 'Bow', quantity = 0 },
			},
			quests = { 'Barbarian Firemaking' },
			skills = {
				{ name = 'Firemaking', level = 65, boostable = true }
			}
		},{
			task = "Kill a [[Shadow Hound]] in the [[Shadow dungeon]].",
			notes = "[[Desert Treasure]] must be completed to the point of gaining access to the [[Shadow Dungeon]].<br/>Combat equipment is recommended.",
			items = {
				{ name = 'Ring of visibility', quantity = 0 }
			},
			quests = { 'Partial Desert Treasure Shadow' },
			skills = {
				{ name = 'Thieving', level = 53, boostable = false }
			}
		},{
			task = "Kill a [[Mithril Dragon]].",
			notes = "High combat, [[protection prayer]]s, good combat equipment, and [[dragonfire]] protection are '''highly''' recommended.",
			quests = { 'Barbarian Firemaking' }
		},{
			task = "Purchase and equip a [[granite body]] from [[Barbarian Assault]].",
			notes = "Decent combat level and equipment are recommended, but not required.",
			items = {
				{ name = 'Coins', quantity = 90000 }
			},
			skills = {
				{ name = 'Defence', level = 50, boostable = false },
				{ name = 'Strength', level = 50, boostable = false }
			}
		},{
			task = "Have the [[Seers']] [[estate agent]] decorate your house with [[Fancy Stone]].",
			notes = "You '''must''' finish the dialogue.<br/>Another " .. currency(5000, 'NoCoins') .. " coins are required if your house is already [[Fancy Stone]].",
			items = {
				{ name = 'Coins', quantity = 25000 }
			},
			skills = {
				{ name = 'Construction', level = 50, boostable = false }
			}
		},{
			task = "Smith an [[Adamant spear]] at [[Otto's Grotto]].",
			notes = "The [[Barbarian anvil]] in [[Barbarian Village]] works too.",
			items = {
				{ name = 'Yew logs', quantity = 1 },
				{ name = 'Adamantite bar', quantity = 1 },
				{ name = 'Hammer', quantity = 0 }
			},
			quests = { 'Barbarian Smithing' },
			skills = {
				{ name = 'Smithing', level = 75, boostable = true }
			}
		},
	},
	{
		{
			task = "Read the Blackboard at [[Barbarian Assault]] after reaching level 5 in every role.",
			notes = "None",
		},{
			task = "Pick some [[Dwarf weed]] from the [[herb patch]] at [[Catherby]].",
			notes = "[[Ultracompost]] is recommended.",
			items = {
				{ name = 'Dwarf weed seed', quantity = 1 },
				{ name = 'Spade', quantity = 0 },
				{ name = 'Seed dibber', quantity = 0 },
				{ name = 'Rake', quantity = 0 }
			},
			skills = {
				{ name = 'Farming', level = 79, boostable = true }
			}
		},{
			task = "Fish and Cook 5 [[Shark]]s in [[Catherby]] using the [[Cooking gauntlets]].",
			notes = "You can also use [[Barbarian Bare-Handed Fishing]] but it has much higher requirements.",
			items = {
				{ name = 'Harpoon', quantity = 0 },
				{ name = 'Cooking gauntlets', quantity = 0 }
			},
			quests = { 'Family Crest' },
			skills = {
				{ name = 'Cooking', level = 80, boostable = true },
				{ name = 'Fishing', level = 76, boostable = true }
			}
		},{
			task = "Mix a [[Stamina Mix]] on top of the [[Seer's Village#Bank|Seer's Village bank]]",
			notes = "None",
			items = {
				{ name = 'Stamina potion(2)', quantity = 1 },
				{ name = 'Caviar', quantity = 1 },
			},
			quests = { 'Barbarian Herblore' },
			skills = {
				{ name = 'Agility', level = 60, boostable = true },
				{ name = 'Herblore', level = 86, boostable = true }
			}
		},{
			task = "Smith a [[Rune Hasta]] at [[Otto's Grotto]].",
			notes = "The [[Barbarian anvil]] in [[Barbarian Village]] works too.",
			items = {
				{ name = 'Hammer', quantity = 0 }, 
				{ name = 'Magic logs', quantity = 1 },
				{ name = 'Runite bar', quantity = 1 },
			},
			quests = { 'Barbarian Smithing' },
			skills = {
				{ name = 'Smithing', level = 90, boostable = true }
			}
		},{
			task = "Construct a [[Pyre ship]] from [[Magic Logs]]. (Requires [[Chewed Bones]].)",
			notes = "None",
			items = {
				{ name = 'Magic logs', quantity = 1 },
				{ name = 'Chewed bones', quantity = 1 },
				{ name = 'Tinderbox', quantity = 0 },
				{ name = 'Axe', quantity = 0 }
			},
			quests = { 'Barbarian Firemaking' },
			skills = {
				{ name = 'Crafting', level = 85, boostable = true },
				{ name = 'Firemaking', level = 85, boostable = true }
			}
		},{
			task = "[[Catherby Teleport|Teleport to Catherby]]",
			notes = "Using the [[Portal nexus]] does '''not''' work.",
			items = {
				{ name = 'Water rune', quantity = 10 },
				{ name = 'Astral rune', quantity = 3 },
				{ name = 'Law rune', quantity = 3 }
			},
			quests = { 'Lunar Diplomacy' },
			skills = {
				{ name = 'Magic', level = 87, boostable = true }
			}
		}
	}
}