Module:Infobox Recipe: Difference between revisions

remove the Pole special case for display XP, and instead make pole recipes themselves work properly
(remove some comment lines that dont apply anymore, further data sanitation for display xp and display duration)
(remove the Pole special case for display XP, and instead make pole recipes themselves work properly)
Line 99:
args.displayDuration = tonumber(args.duration) and searchResult.duration and searchResult.duration + tonumber(args.duration)
-- "Pole" exception, because I cannot figure out how else to deal with these recipes (yet)
if string.find(args.output1,'Pole') and string.find(args.rawmat1,'Post') then
args.displayXP = args.displayXP and args.exp and args.displayXP + args.exp
end
 
else
rawMaterials = argsMaterials
21,691

edits