Module:GetMostExpensiveArmorPiece: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:1200:12, 17 October 2024Alex talk contribs 892 bytes +892 Created page with "-- Module:GetMostExpensiveArmorPiece local p = {} -- Define the equipment slots local slotOptions = {'head', 'cape', 'neck', 'ammo', 'weapon', 'shield', 'body', 'legs', 'hands', 'feet', 'ring', '2h'} function p.getMostExpensiveArmorPiece() local geprices = mw.loadJsonData('Module:GEPrices/data.json') -- Check if the specified slot is valid -- local slotName = slotOptions[slot] -- if not slotName then -- return "Invalid equipment slot" -- end..."