17,097
edits
(_getItemUseTable: Resolve error when Summoning recipe uses GP or Slayer coins) |
m (_getItemUseTable: Replace hard-coded Summoning GP/SC cost value with in-game data) |
||
Line 519: | Line 519: | ||
elseif matID == -4 then | elseif matID == -4 then | ||
-- GP | -- GP | ||
matText = Icons.GP( | matText = Icons.GP(SkillData.Summoning.Settings.recipeGPCost) | ||
elseif matID == -5 then | elseif matID == -5 then | ||
-- Slayer Coins | -- Slayer Coins | ||
matText = Icons.SC( | matText = Icons.SC(SkillData.Summoning.Settings.recipeGPCost) | ||
else | else | ||
matText = 'ERROR: Unknown item ID: ' .. matID .. ' [[Category:Pages with Script Errors]]' | matText = 'ERROR: Unknown item ID: ' .. matID .. ' [[Category:Pages with Script Errors]]' |