Module:ModifierTables/Sandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 18: Line 18:
local GameData = require('Module:GameData')
local GameData = require('Module:GameData')
local Num = require('Module:Number')
local Num = require('Module:Number')
local SkillTree = require('Module:Sandbox/SkillTree')


--First up, functions to get all the things in a category that have a given modifier:
--First up, functions to get all the things in a category that have a given modifier:
Line 35: Line 37:


function p.getSkillTreeNodesWithModifier(modifierCriteria)
function p.getSkillTreeNodesWithModifier(modifierCriteria)
     local nodesWithModifier = p.getSkillTreeNodes(
     local nodesWithModifier = SkillTree.getSkillTreeNodes(
         function(node)
         function(node)
             if node.modifiers ~= nil then
             if node.modifiers ~= nil then
393

edits