User contributions for Alex

A user with 47,390 edits. Account created on 10 October 2024.
Jump to navigation Jump to search
Search for contributionsshowhide
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

17 October 2024

  • 01:1301:13, 17 October 2024 diff hist +12,508 N Module:Sandbox/User:Riblet15/Skill infoCreated page with "-------------------------- -- Module for Template:Skill info -------------------------- local p = {} local onmain = require('Module:Mainonly').on_main local paramtest = require('Module:Paramtest') local infobox = require('Module:Infobox') local yesno = require('Module:Yesno') local scp = require('Module:SCP')._main local qty = require('Module:Quantity box')._main local editbutton = require('Module:Edit button') local edit = editbutton("'''?''' (edit)") local preset..."
  • 01:1301:13, 17 October 2024 diff hist +2,469 N Module:Sandbox/User:Jakesterwars/Skill calc/WoodcuttingCreated page with "return { { name = 'Logs', level = 1, xp = 25, members = 'No', type = 'Regular' }, { name = 'Achey tree logs', level = 1, xp = 25, members = 'Yes', type = 'Regular' }, { name = 'Charcoal', level = 1, xp = 25, members = 'No', type = 'Regular' }, { name = 'Thatch spar light', level = 10, xp = 32, members = 'Yes'..." current
  • 01:1301:13, 17 October 2024 diff hist +9,680 N Module:Sandbox/User:Jakesterwars/Skill calc/ThievingCreated page with "return { { name = 'Man', pic = 'Thief Man', level = 1, xp = 8, members = 'Yes', type = 'Pickpocket' }, { name = 'Winter sq\'irkjuice', level = 1, xp = 350, members = 'Yes', type = 'Other' }, { name = 'Vegetable stall', pic = 'Cabbage', level = 2, xp = 10, members = 'Yes', type = 'Stalls' }, { name = 'Bakery stall', pi..." current
  • 01:1301:13, 17 October 2024 diff hist +38,872 N Module:Sandbox/User:Jakesterwars/Skill calc/SmithingCreated page with "return { { name = 'Bronze bar', level = 1, xp = 6.2, materials = { { name = 'Copper ore', quantity = 1 }, { name = 'Tin ore', quantity = 1 } }, members = 'No', type = 'Smelting' }, { name = 'Blurite bar', level = 8, xp = 8, materials = { { name = 'Blurite ore', quantity = 1 } }, members = 'No', type = 'Smelting' }, {..." current
  • 01:1301:13, 17 October 2024 diff hist +14,316 N Module:Sandbox/User:Jakesterwars/Skill calc/RunecraftCreated page with "return { { name = 'Air rune', level = 1, xp = 5, materials = { { name = 'Pure essence', quantity = 1 } }, members = 'No', type = 'Regular' }, { name = 'Air tiara', level = 1, xp = 25, materials = { { name = 'Tiara', quantity = 1 }, { name = 'Air talisman', quantity = 1 } }, members = 'No', type = 'Tiara' }, { name = '..." current
  • 01:1301:13, 17 October 2024 diff hist +21,753 N Module:Sandbox/User:Jakesterwars/Skill calc/PrayerCreated page with "return { { name = 'Bones', level = 1, xp = 4.5, materials = { { name = 'Bones', quantity = 1 } }, members = 'No', type = 'Regular' }, { name = 'Blessed bone shards', level = 30, xp = 5, materials = { { name = 'Blessed bone shards', quantity = 1 }, { name = 'Jug of blessed wine', quantity = 0.0025 }, }, members = 'Yes', type = 'Bless..." current
  • 01:1301:13, 17 October 2024 diff hist +4,200 N Module:Sandbox/User:Jakesterwars/Skill calc/MiningCreated page with "return { { name = 'Clay', level = 1, xp = 5, members = 'No', type = 'Regular' }, { name = 'Rune essence', level = 1, xp = 5, members = 'No', type = 'Regular' }, { name = 'Copper ore', level = 1, xp = 17.5, members = 'No', type = 'Regular' }, { name = 'Tin ore', level = 1, xp = 17.5, members = 'No', ty..." current
  • 01:1301:13, 17 October 2024 diff hist +78,131 N Module:Sandbox/User:Jakesterwars/Skill calc/MagicCreated page with "return { { name = 'Wind Strike', level = 1, xp = 5.5, materials = { { name = 'Air rune', quantity = 1 }, { name = 'Mind rune', quantity = 1 } }, members = 'No', type = 'Combat' }, { name = 'Confuse', level = 3, xp = 13, materials = { { name = 'Body rune', quantity = 1 }, { name = 'Earth rune', quantity = 2 }, { name = 'Water rune', qua..." current
  • 01:1301:13, 17 October 2024 diff hist +18,890 N Module:Sandbox/User:Jakesterwars/Skill calc/HunterCreated page with "return { { name = 'Crimson swift', pic = 'Crimson swift icon', level = 1, xp = 34, members = 'Yes', type = 'Bird snare' }, { name = 'Polar kebbit', pic = 'Polar kebbit icon', level = 1, xp = 30, members = 'Yes', type = 'Tracking' }, { name = 'Common kebbit', pic = 'Common kebbit icon', level = 3, xp = 36, members = 'Yes', type =..." current
  • 01:1301:13, 17 October 2024 diff hist +31,524 N Module:Sandbox/User:Jakesterwars/Skill calc/HerbloreCreated page with "return { { name = 'Guam leaf', level = 3, xp = 2.5, materials = { { name = 'Grimy guam leaf', quantity = 1 } }, members = 'Yes', type = 'Cleaning grimy herbs' }, { name = 'Attack potion(3)', title = 'Attack potion', level = 3, xp = 25, materials = { { name = 'Guam potion (unf)', quantity = 1 }, { name = 'Eye of newt', quantity = 1 } }..." current
  • 01:1301:13, 17 October 2024 diff hist −3 Module:Skill calc/Helpers/docNo edit summary current Tag: Manual revert
  • 01:1301:13, 17 October 2024 diff hist +3,965 N Module:Sandbox/User:Jakesterwars/Skill calc/HelpersCreated page with "local p = {} local yesNo = require('Module:Yesno') local xp = require('Module:Experience').xp_at_level local level = require('Module:Experience').level_at_xp_unr local commas = require('Module:Addcommas')._add function p.filterData(data, method, dataCriteria, goalLevel) local methodData = {} local addRow = false for i, v in ipairs(data) do if dataCriteria ~= 'Hide' or tonumber(v.level) <= tonumber(goalLevel) then if method == 'All' then table.insert(method..." current
  • 01:1301:13, 17 October 2024 diff hist +43,745 N Module:Sandbox/User:Jakesterwars/Skill calc/FletchingCreated page with "return { { name = 'Headless arrow', level = 1, xp = 15, materials = { { name = 'Arrow shaft', quantity = 15 }, { name = 'Feather', quantity = 15 } }, outputQuantity = 15, members = 'Yes', type = 'Arrows' }, { name = 'Bronze arrow', level = 1, xp = 19.5, materials = { { name = 'Bronze arrowtips', quantity = 15 }, { name = 'Headless arro..." current
  • 01:1301:13, 17 October 2024 diff hist +6,795 N Module:Sandbox/User:Jakesterwars/Skill calc/FishingCreated page with "return { { name = 'Raw shrimps', level = 1, xp = 10, members = 'No', type = 'Small net' }, { name = 'Raw sardine', level = 5, xp = 20, materials = { { name = 'Fishing bait', quantity = 1 } }, members = 'No', type = 'Bait' }, { name = 'Raw karambwanji', level = 5, xp = 5, members = 'Yes', type = 'Small net' }, {..." current
  • 01:1301:13, 17 October 2024 diff hist +5,121 N Module:Sandbox/User:Jakesterwars/Skill calc/FiremakingCreated page with "return { { name = 'Logs', level = 1, xp = 40, materials = { { name = 'Logs', quantity = 1 } }, members = 'No', type = 'Regular' }, { name = 'Achey tree logs', level = 1, xp = 40, materials = { { name = 'Achey tree logs', quantity = 1 } }, members = 'Yes', type = 'Regular' }, { name = 'Pyre logs', level = 5, boo..." current
  • 01:1301:13, 17 October 2024 diff hist +18,077 N Module:Sandbox/User:Jakesterwars/Skill calc/FarmingCreated page with "return { { name = 'Potato', level = 1, xp = 9, plantXp = 8, materials = { { name = 'Potato seed', quantity = 3 } }, members = 'Yes', type = 'Allotment' }, { name = 'Marigolds', level = 2, xp = 55.5, materials = { { name = 'Marigold seed', quantity = 1 } }, members = 'Yes', type = 'Flower' }, { name = 'Barley',..." current
  • 01:1301:13, 17 October 2024 diff hist +3 Module:Skill calc/Helpers/docNo edit summary Tag: Reverted
  • 01:1301:13, 17 October 2024 diff hist +41,405 N Module:Sandbox/User:Jakesterwars/Skill calc/CraftingCreated page with "return { { name = 'Ball of wool', level = 1, xp = 2.5, materials = { { name = 'Wool', quantity = 1 } }, members = 'No', type = 'Spinning' }, { name = 'Molten glass', level = 1, xp = 20, materials = { { name = 'Bucket of sand', quantity = 1 }, { name = 'Soda ash', quantity = 1 } }, members = 'Yes', type = 'Other' }, {..." current
  • 01:1301:13, 17 October 2024 diff hist +58,551 N Module:Sandbox/User:Jakesterwars/Skill calc/CookingCreated page with "return { { name = 'Bread', level = 1, xp = 40, materials = { { name = 'Bread dough', quantity = 1 } }, steps = 1, members = 'No', type = 'Baked' }, { name = 'Cooked meat', level = 1, xp = 30, materials = { { name = 'Raw beef', quantity = 1 } }, steps = 1, members = 'No', type = 'Meat' }, { name = 'Sinew',..." current
  • 01:1301:13, 17 October 2024 diff hist +6,247 N Module:Sandbox/User:Jakesterwars/Skill calc/ConstructionCreated page with "return { { name = 'Plank', level = 1, xp = 29, materials = { { name = 'Plank', quantity = 1 } }, members = 'Yes', type = 'Supplies' }, { name = 'Bagged plant 1', level = 1, xp = 31, materials = { { name = 'Bagged plant 1', quantity = 1 } }, members = 'Yes', type = 'Supplies' }, { name = 'Crude wooden chair', pic = 'Crude wooden chair icon',..." current
  • 01:1301:13, 17 October 2024 diff hist +8,741 N Module:Sandbox/User:Jakesterwars/Skill calc/AgilityCreated page with "return { { name = 'Gnome Stronghold Agility Course', title = 'Gnome Stronghold', pic = 'Swamp toad (item)', level = 1, xp = 110.5, members = 'Yes', type = 'Agility Course' }, { name = 'Rope swing (Brimhaven Agility Arena)', title = 'Rope swing', pic = 'Agility arena ticket', level = 1, xp = 20, members = 'Yes', type = 'Brimhaven Agility Arena' }, { name =..." current
  • 01:1301:13, 17 October 2024 diff hist +19,254 N Module:Sandbox/User:Jakesterwars/Skill calcCreated page with "local p = {} local helpers = require(string.format('%s/Helpers', mw.getCurrentFrame():getTitle())) local commas = require('Module:Addcommas')._add local coins = require('Module:Coins')._amount local gePrices = mw.loadJsonData('Module:GEPrices/data.json') local farmingCTS = { ['Potato'] = { 101, 180 }, ['Onion'] = { 105, 180 }, ['Cabbage'] = { 107, 180 }, ['Tomato'] = { 112, 180 }, ['Sweetcorn'] = { 88, 180 }, ['Strawberry'] = { 103, 180 }, ['Watermelon'] = { 126..." current
  • 01:1301:13, 17 October 2024 diff hist +3 Module:Similar Vars/docNo edit summary Tag: Reverted
  • 01:1301:13, 17 October 2024 diff hist 0 Module:Shortcut/docNo edit summary current
  • 01:1301:13, 17 October 2024 diff hist +3,501 N Module:ShopPriceCreated page with "-- <pre> local p = {} local commas = require("Module:Addcommas")._add local params = require('Module:Paramtest') local currencyImage = require("Module:Currency Image") local purge = require("Module:Purge")._purge function p.getLowestPrice(item) local item = item.args[1] mw.log(string.format('Searching for shops that sell: %s', item)) -- Get parsed smw data local data = p.getData(item) -- Create the header of the output local priceData = {..." current
  • 01:1301:13, 17 October 2024 diff hist 0 Module:ShopLocLine/docNo edit summary current
  • 01:1301:13, 17 October 2024 diff hist +1,653 N Module:Sandbox/User:Als Toy Barn/ShopLocLineCreated page with "local p = {} local editBtn = '<small>' .. require('Module:Edit button')() .. '</small>' local isEmpty = require('Module:Paramtest').is_empty local hc = require('Module:Paramtest').has_content local na = require('Module:NA') local map = require('Module:Map') function p.main(frame) local args = frame:getParent().args local locationRow = mw.html.create('tr') locationRow:tag('td'):wikitext(args.name) locationRow:tag('td'):wikitext(args.location) if args.notes ~= n..." current
  • 01:1301:13, 17 October 2024 diff hist +5,197 N Module:Shop calculatorCreated page with "local p = {} local paramTest = require('Module:Paramtest') local yesNo = require('Module:Yesno') function truncate(num) local whole, decimal = math.modf(num + 0.000001) -- addition is to prevent floating point rounding issues return whole end function sell(basePrice, shopBuysAt, delta, baseStock, currentStock, quantitySold, itemValue) local total = 0 local upperBound = truncate(itemValue + (shopBuysAt * itemValue)) -- Item value + base price shop buys at local..." current
  • 01:1301:13, 17 October 2024 diff hist +1,770 N Module:Shop calcCreated page with "local p = {} local commas = require('Module:Addcommas')._add function expr(x) x = tostring(x) local expr_good, expr_val = pcall(mw.ext.ParserFunctions.expr, x) if expr_good then return tonumber(expr_val) end return nil end function p.main(frame) local input = frame:getParent().args local shopIncPercent = (input.shop_inc ~= nil and input.shop_inc ~= '') and tonumber(input.shop_inc) * .01 or 0 local calcTotal = p.calc(input.base_price, shopIncPercent, input.nu..." current
  • 01:1301:13, 17 October 2024 diff hist +53,753 N Module:Shattered Relics quests/dataCreated page with "-- { XP Amount, Choose 1 out of all skills } : X Marks the Spot, Client of Kourend, -- Duplicate lines mean multiple reward instances : Client of Kourend, -- 'All' means every skill -- ['Choose>#'] means the following options must be over level # : Architectural Alliance, Curse of the Empty Lord, In Search of Knowledge, -- Monkey Madness I is jank as fuck (XP1, skill group 1, xp2, skill group 2) return { -- Other ['Natural history quiz'] = { rewards = { skills =..." current
  • 01:1301:13, 17 October 2024 diff hist +1,241 N Module:Sandbox/User:Riblet15/Set drops varsCreated page with "local var = mw.ext.VariablesLua local p = {} function p.main(frame) return p._main(frame:getParent().args) end function p._main(args) local type = args.type or '' local levels = args.level or '' local versions = args.version or '' -- All levels are additionally saved to the DEFAULT drop version versions = versions .. ',DEFAULT' local valuesToSet = {} for dropVersion in string.gmatch(versions, ' *([^,]+) *') do local varName = string.format('DropLevel_%s_%s..." current
  • 01:1301:13, 17 October 2024 diff hist +140 N Module:Set CSV/docCreated page with "{{Documentation}} Converts a CSV for each named parameter to a list of values to set for the property name corresponding to that parameter." current
  • 01:1301:13, 17 October 2024 diff hist +238 N Module:Set CSVCreated page with "local p = {} function p.main(frame) return p._main( frame:getParent().args ) end function p._main(args) local set = {} for prop, val in pairs(args) do set[prop] = mw.text.split(val, "%s*,%s*") end mw.smw.set(set) end return p" current
  • 01:1301:13, 17 October 2024 diff hist 0 Module:SeedPackValue/docNo edit summary current
  • 01:1201:12, 17 October 2024 diff hist +4,044 N Module:SCP/SandboxCreated page with "-- <pre> local p = {} local pics = { quests = { image = 'Quest point icon', link = 'Quest points' }, quest = { image = 'Quest point icon', link = 'Quest points' }, ['quest points'] = { image = 'Quest point icon', link = 'Quest points' }, combat = { image = 'Attack style icon', link = 'Combat level' }, all = { image = 'Attack style icon', link = 'Combat styles' }, music = { image = 'Music', link = 'Music' }, favour = { image = 'Kourend Favour icon', link = 'Great..." current
  • 01:1201:12, 17 October 2024 diff hist +751 N Module:Sandbox/User:Als Toy Barn/Map/docCreated page with "{{Documentation}} '''This is the general purpose sandbox for lua modules.''' It can be used to test changes to existing modules, prototype new modules, experimenting with lua features, or for any other purpose. Much like RuneScape:Sandbox, this page is free to edit for all - if you want to use code personally or for long periods without others editing it, make a personal module sandbox at <code>Module:Sandbox/User:{{USERNAME}}</code> or subpages of that. Invocation..." current
  • 01:1201:12, 17 October 2024 diff hist +20 N Module:Sandbox/data.jsonCreated page with "{ "a": 1, "b": 2 }" current
  • 01:1201:12, 17 October 2024 diff hist −3,050 Module:Average drop value/SandboxNo edit summary Tag: Reverted
  • 01:1201:12, 17 October 2024 diff hist +5,118 N Module:RuneReqCreated page with "local p = {} local paramTest = require('Module:Paramtest') local onMain = require('Module:Mainonly').on_main local yesNo = require('Module:Yesno') local trim = mw.text.trim local jsonDecode = mw.text.jsonDecode -- Get Spell JSON from specific spell page function p.loadData(spell) local query = { '' .. spell .. '', 'Spell JSON::+', '?=#-', '?Spell JSON = json', offset = 0, limit = 500, } local t1 = os.clock() local smwData = mw.smw.ask(query) l..." current
  • 01:1201:12, 17 October 2024 diff hist +2,020 N Module:Exchange/Rune pouch noteCreated page with "local p = {} local trim = mw.text.trim -- Get a rune's name, and the quantity to display function getItem(str) backSlash, _ = str:find('\\') if(backSlash) then itemName = str:sub(0, backSlash - 1) amountOfItem = tonumber(str:sub(backSlash + 1)) or 1 if(amountOfItem < 1) then amountOfItem = 1 elseif(amountOfItem > 16000) then amountOfItem = 16000 end return itemName, amountOfItem else return str, 1 end end -- Get page alignement setting function..." current
  • 01:1201:12, 17 October 2024 diff hist 0 Module:Rsday/docNo edit summary current
  • 01:1201:12, 17 October 2024 diff hist +7,380 N Module:Rocky Horror/SandboxCreated page with "-- Rewrite of Template:RockLine and Template:Mine locations, -- which were originally made by Towelcat and Jakesterwars. local p = {} local yesno = require('Module:Yesno') local pt = require('Module:Paramtest') -- Table format: argument = page, name, picture, level, experience local rocks = { ['clay'] = { 'Clay rock', 'Clay', 'Clay', '1', '5' }, ['rune essence'] = { 'Rune Essence (rock)', 'Rune Essence', 'Rune essence', '1', '5' }, ['copper']..." current
  • 01:1201:12, 17 October 2024 diff hist 0 Module:Rocky Horror/docNo edit summary current
  • 01:1201:12, 17 October 2024 diff hist +133 N Module:Respell/docCreated page with "{{Documentation}} This module implements {{T|Respell}}. Please see the template page for documentation. {{Wikipedia|Module:Respell}}" current
  • 01:1201:12, 17 October 2024 diff hist +786 N Module:RespellCreated page with "local p = {} function p._main(args) local ret = {} for i, v in ipairs(args) do v = mw.text.trim(v) -- Compatibility: Ignore arguments that only contain an apostrophe if v ~= '' and v ~= "'" then if ret[#ret] and not (ret[#ret]:find('_') or ret[#ret]:find('%-%)?$')) and not (v:find('_') or v:find('^%(?%-')) then table.insert(ret, '-') end if v:find('^[%u%(%)]+$') then v = '<span style="font-size:90%">' .. v .. '</span>' end table..." current
  • 01:1201:12, 17 October 2024 diff hist +17 N Module:Required for completing/docCreated page with "{{Documentation}}" current
  • 01:1201:12, 17 October 2024 diff hist +4,568 N Module:Required for completingCreated page with "--<nowiki> -- essentially the inverse of Module:Questreq, though with the option of expanding into other types of reqs (eg achievements - will need SMW work for those though) local quests = mw.loadData('Module:Questreq/data') local p = {} local yesno = require('Module:Yesno') function _sortFunc(a,b) local _a, _b _a = tostring(a):lower():gsub('^full:', ''):gsub('^started:', '') _b = tostring(b):lower():gsub('^full:', ''):gsub('^started:', '') return _a < _b end..." current
  • 01:1201:12, 17 October 2024 diff hist +20 N Module:Repeat/docCreated page with "{{No documentation}}" current
  • 01:1201:12, 17 October 2024 diff hist +522 N Module:RepeatCreated page with "-- -- Repeats a string a certain number of times -- Template:Multi -- local p = {} function p.rep(frame) local args = frame:getParent().args local inp = args[1] local count = tonumber(args[2]) if not count then return error('You must pass a number to the second argument') end -- We very rarely use any of these templates; no need to facilitate a ton of potential spam; 500 is a fine maximum count = math.floor(count) if count > 500 then count = 500 en..." current
  • 01:1201:12, 17 October 2024 diff hist +3 Module:References/Postbag/docNo edit summary Tag: Reverted
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)