Search results
From Melvor Idle
- Mod Creation/Mod Context API Reference (section addPackage(data: string | GameDataPackage): Promise<void>)com/assets/schema/gameData.json", "data": { // data objects here } } Comments in JSON are purely illustrative and not valid markup await ctx.gameData.addPackage('data.json');35 KB (3,841 words) - 01:31, 18 March 2024
- "'", "'") for i, item in pairs(ItemData.Items) do local itemName = string.gsub(item.name, '#', '') if(name == itemName) then result15 KB (2,010 words) - 23:05, 29 September 2021
- Mod Creation/Essentials (section Load Data from JSON)setup.mjs export async function setup({ loadData }) { const data = await loadData('my-data.json'); console.log(data.coolThings[0]); // ['rocks'] } Nearly any35 KB (4,465 words) - 14:49, 26 June 2023
- Money Making/Development (section How to collect data)replace(function(o) {}); Lastly, run the following to collect the data: game.testForOffline(1000) Enter all the data gathered in the Template:MoneyMakingGuide template4 KB (359 words) - 13:00, 7 April 2024
- Shared = require('Module:Shared') local ItemData = mw.loadData('Module:Items/data') local Items = require('Module:Items') local Icons = require('Module:Icons')2 KB (221 words) - 16:40, 30 January 2022
- getItems(checkFunc) local result = {} local itemCount = 0 for i, item in ipairs(ItemData.Items) do if checkFunc(item) then itemCount = itemCount25 KB (3,315 words) - 21:51, 27 February 2022
- tableIsEmpty(costs.items) then for i, itemCost in ipairs(costs.items) do local item = GameData.getEntityByID('items', itemCost.id) if item ~= nil then10 KB (1,250 words) - 20:05, 1 April 2024
- healing amount for items that can be consumed Adds the Item Source Template for that specific item Creates Item source templates for each item, and maintains4 KB (572 words) - 09:41, 31 December 2021
- local p = {} local ItemData = mw.loadData('Module:Sandbox/Items/data') local SkillData = mw.loadData('Module:Sandbox/Skills/data') local Constants =23 KB (3,072 words) - 01:22, 4 March 2022
- local p = {} local ItemData = mw.loadData('Module:FalterTest/Items/data') local SkillData = mw.loadData('Module:FalterTest/Skills/data') local Constants22 KB (2,873 words) - 23:13, 29 September 2021
- Usually they are independent reference tools or interact with game data via the save data export. - Main article: In-game Functions It is possible to interact2 KB (215 words) - 19:46, 30 July 2023
- local MonsterData = mw.loadData('Module:Monsters/data') local ItemData = mw.loadData('Module:Items/data') local SkillData = mw.loadData('Module:AuronTest/data')26 KB (3,597 words) - 23:28, 2 February 2022
- tableIsEmpty(upgrade.rootItemIDs) then -- Some items (e.g. FEZ) may have multiple root items. Simply use the first one local rootItem = Items.getItemByID(upgrade26 KB (3,322 words) - 21:07, 18 May 2024
- .iCat..'||'..item.type) table.insert(itemRow, '|| '..Items._getItemStat(item, 'completionReq')) table.insert(itemRow, '||data-sort-value="'2 KB (269 words) - 01:17, 7 October 2023
- local MonsterData = mw.loadData('Module:Monsters/data') local ItemData = mw.loadData('Module:Items/data') local SkillData = mw.loadData('Module:AuronTest/data')42 KB (5,778 words) - 21:45, 2 February 2022
- collect items from your Town. Integrated Task system with some fantastic rewards for all players at any stage of the game. Brand new Shop items that can28 KB (3,793 words) - 21:02, 4 March 2023
- internal game data is flawed, or there has been a recent hotfix (hidden update without a version number change) to the game code and the Lua data modules need11 KB (1,019 words) - 08:44, 9 May 2024
- successful, the game data should appear within the console Copy the game data & update Module:GameData/data and Module:GameData/data2 accordingly50 KB (179 words) - 23:09, 3 October 2023
- Items.getItems(function(item) return item.runecraftingCategory == 3 end) elseif category == "WaterGear" then data = Items.getItems(function(item)13 KB (1,682 words) - 22:55, 29 September 2021
- Module:FalterTest/Skills Module:FalterTest/Skills/data Module:FalterTest/Items Module:FalterTest/Items/data Module:FalterTest/Artisan186 bytes (15 words) - 14:59, 30 September 2021
- XP rates with a given loadout The Combat Simulator can also give necessary data to calculate an important metric - the Adjusted Clear Time, being the time3 KB (506 words) - 16:36, 15 April 2024
- chance to obtain 2 items"},{"level":20,"unlock":"5% base chance to preserve resources"},{"level":30,"unlock":"10% base chance to obtain 2 items"},{"level":4077 KB (9,900 words) - 22:58, 29 September 2021
- Version: " + getGameVersion() var itemsAdj = [] for (var i = 0; i < items.length; i++) { itemsAdj[i] = {...items[i]} // Amend elements of specialAttacks546 KB (62,526 words) - 16:04, 28 February 2022
- Version: " + getGameVersion() var itemsAdj = [] for (var i = 0; i < items.length; i++) { itemsAdj[i] = {...items[i]} // Amend elements of specialAttacks535 KB (63,059 words) - 23:04, 29 September 2021
- if (Items._getItemStat(item, 'defenceLevelRequired') ~= nil or Items._getItemStat(item, 'rangedLevelRequired') ~= nil or Items._getItemStat(item, 'magicLevelRequired')22 KB (2,900 words) - 22:35, 5 September 2021
- allows you to quickly equip items for the respective Skill. The GEAR icon represents the quick equip. You can customize what items display in this menu for7 KB (1,059 words) - 06:26, 28 February 2022
- Claw" and "Volcano → Claw", but we need the data on "Rapier → Volcano" and "Claw → Volcano". We take this data from Volcanic Cave/Guide#Weapon choice. The9 KB (979 words) - 00:53, 6 August 2023
- Easter Eggs (section Monster and Item Names)Cave Fish. These items must be manually placed in the aforementioned order, so that the first 6 slots of the Bank contain them. The items were previously17 KB (2,052 words) - 00:11, 4 May 2024
- "'", "'") return GameData.getEntityByName('items', name) end function p.getItems(checkFunc) return GameData.getEntities('items', checkFunc) end function34 KB (4,372 words) - 06:13, 13 January 2024
- loaded, if installed at the same time. In order for a local mod to persist data (characterStorage, accountStorage, and settings values), the mod must be3 KB (475 words) - 18:29, 8 January 2023
- "'", "'") return GameData.getEntityByName('items', name) end function p.getItems(checkFunc) return GameData.getEntities('items', checkFunc) end function36 KB (4,650 words) - 14:24, 4 May 2024
- stats/gear with the Combat Simulator for optimal builds. Do note that all UW items, with the exception of Spiked Shell Gloves & Spiked Shell Ring, are heavily14 KB (1,789 words) - 23:40, 2 June 2023
- Show current quantity of item in your Bank in Item Notification. - Default: Enabled If enabled, the current amount of acquired items will be shown next to14 KB (1,927 words) - 16:34, 15 April 2024
- function getItemValues(items) local gpVal = 0 if items ~= nil then for _, item in pairs(items) do gpVal = gpVal + Items.getItemValueByID(item['id'])5 KB (611 words) - 19:37, 6 May 2024
- Lua module for generating various item tables. Pulls data from Module:GameData/data87 bytes (12 words) - 22:00, 29 October 2022
- local seedItem = Items.getItemByID(seed.seedCost.id) local productItem = Items.getItemByID(seed.productId) if seedItem ~= nil and productItem ~= nil then34 KB (4,480 words) - 17:32, 26 March 2024
- V0.20 (section New Items and Content)of a new Skill, there is also new items and content that come along with it. This includes: Four new equippable items in the Slayer Shop to assist with23 KB (3,230 words) - 11:27, 4 June 2023
- not isPlain and Items ~= nil then local item = Items.getItem(v) if item ~= nil then statValue = Items._getItemStat(item, 'damageReduction'8 KB (1,200 words) - 23:00, 18 November 2023
- event.itemRewardIDs) end end for i, itemList in ipairs(itemLists) do for j, rewardID in ipairs(itemList) do local rewardItem = Items.getItemByID(rewardID)9 KB (1,099 words) - 21:53, 6 October 2023
- local item = Items.getItemByID(recipe.productID) local perfectItem = nil if recipe.perfectCookID ~= nil then perfectItem = Items.getItemByID(recipe20 KB (2,477 words) - 22:27, 26 March 2024
- colspan="2"|Item!!Value') local itemArray = {} for i, itemID in ipairs(SkillData.Fishing.JunkItems) do local item = Items.getItemByID(itemID) if item ~=33 KB (4,641 words) - 11:19, 5 March 2022
- ipairs(Familiars) do local item = Items.getItemByID(Fam.productID) if item ~= nil then local maxHit, maxHitText = Items._getItemStat(item, 'summoningMaxhit')10 KB (1,277 words) - 09:58, 30 December 2022
- end local itemArray = {} if cost.items ~= nil then for i, itemCost in Shared.skpairs(cost.items) do local item = Items.getItemByID(itemCost[1])28 KB (3,556 words) - 01:04, 4 March 2022
- require('Module:Constants') local GameData = require('Module:GameData') local SkillData = GameData.skillData local Items = require('Module:Items') local Icons = require('Module:Icons')18 KB (2,323 words) - 20:01, 12 September 2023
- p._TraderData() -- Builds the table of trader items function p.GetTraderTable(frame) -- Get the resources data with associated trader data -- Build37 KB (4,895 words) - 16:32, 24 November 2022
- elseif purch.contains.items ~= nil and Shared.tableCount(purch.contains.items) == 1 then item = Items.getItemByID(purch.contains.items[1].id) elseif purch42 KB (4,986 words) - 16:09, 6 May 2024
- for k, v in pairs(items) do items[k] = math.ceil(items[k] * (1 - item)) end end itemCosts['Items'] = items return itemCosts end --- Gets all7 KB (992 words) - 20:28, 23 April 2024
- require('Module:Constants') local GameData = require('Module:GameData') local SkillData = GameData.skillData local Items = require('Module:Items') local Icons = require('Module:Icons')21 KB (2,761 words) - 00:12, 26 March 2024
- end) for i, data in ipairs(dropRows) do table.insert(resultPart, buildRow(data.source, data.type, data.minqty, data.qty, data.weight, data.totalWeight42 KB (5,511 words) - 14:45, 22 November 2022
- j, itemCost in ipairs(obstacle.itemCosts) do local item = Items.getItemByID(itemCost.id) table.insert(costs, Icons.Icon({item.name, type='item', qty8 KB (999 words) - 11:08, 11 September 2023