Module:StoreLine: Difference between revisions

Jump to navigation Jump to search
21 bytes added ,  12:26, 3 April 2022
no edit summary
No edit summary
No edit summary
Line 30: Line 30:
      
      
     -- Check precached Module:DropsLine/itemData - gets GE alch so inaccurate
     -- Check precached Module:DropsLine/itemData - gets GE alch so inaccurate
     if itemvalue == '' then
     -- if itemvalue == '' then
        local droppeditem_data = mw.loadData('Module:DropsLine/itemData')
    --    local droppeditem_data = mw.loadData('Module:DropsLine/itemData')
        local cached_dropdata = droppeditem_data[name]
    --    local cached_dropdata = droppeditem_data[name]
        if type(cached_dropdata) == 'table' and type(cached_dropdata[2]) == 'number' then
    --    if type(cached_dropdata) == 'table' and type(cached_dropdata[2]) == 'number' then
            itemvalue = cached_dropdata[2]/.6
    --        itemvalue = cached_dropdata[2]/.6
        end
    --    end
     end
     -- end
      
      
     local buymultiplier = var.var('BuyMultiplier', 1000)
     local buymultiplier = var.var('BuyMultiplier', 1000)

Navigation menu