Module:Infobox Recipe: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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: | Line 99: | ||
args.displayDuration = tonumber(args.duration) and searchResult.duration and searchResult.duration + tonumber(args.duration) |
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 |
else |
||
rawMaterials = argsMaterials |
rawMaterials = argsMaterials |