Module:Sandbox/User:Alsang/NodeDescriptionChecker: Difference between revisions

no edit summary
m (typo)
No edit summary
Line 19:
local query = {
--'[[Uses facility::One Handed Range (bonewright)||One Handed Melee Workbench (bonewright)||Two Handed Range Workbench (bonewright)||Two Handed Melee Workbench (bonewright)||Shield Vice (bonewright)]]', -- bonewright active
--'[[Uses facility::Knickknacks workbench]] OR [[Variant of::Knickknacks||Divination||Sabertooth Cat Skeleton||Wooly Mammoth Skeleton||Triceratops Skeleton||T-Rex Skeleton||Wendigo Skeleton||Bonemeal Cement]]', -- bonewright passive
--'[[Uses facility::One Handed Range (stonemason)||One Handed Melee Workbench (stonemason)||Two Handed Range Workbench (stonemason)||Two Handed Melee Workbench (stonemason)||Shield Vice (stonemason)]]', -- stonemason active
'[[Uses facility::Stoneware Bench]] OR [[Variant of::Statue Sculpture||Ornamental Sculpture||Column Sculpture||Bust Sculpture]]', -- stonemason passive
--'[[Uses facility::Goblin Forge||Gnome Forge (skill node)]]', -- blacksmith active
'?Variant of #- = variant',
--'[[Uses facility::Jewelry Bench]]', -- blacksmith passive, no non-recipe
'?Uses facility #- = facility',
'?Profession Level A = lvl',
'? #- = name',
Line 39 ⟶ 37:
-- criterion for if an entry is a recipe, or a passive activity
for _, item in ipairs(results) do
item.passiveActivity = not(item.variant=='Knickknacks' or item.variant=='Bonemeal Cement' )
--item.passiveActivity = false -- can delete this entire FOR statement unless there are non-recipe passive activities on the table
item.passiveActivity = not(item.facility=='Stoneware Bench') -- leatherworker has not got upholstery implemented yet, do not use
end
21,287

edits