Binding of Isaac: Rebirth Wiki
Explore
Main Page
All Pages
Interactive Maps
Navigation
Items and more
Items
Collection Page
Item Pool
Trinkets
Pickups
Bestiary
Bosses
Monsters
Characters
Characters
Familiar
Co-op Baby
Progress
Achievements
Completion Marks
Challenges
Endings
Environment
Chapters
Rooms
Beggars
Machines
Obstacles
Mechanics
Transformations
Attributes
Curses
Player Effects
Seeds
Item Quality
Damage Scaling
More
Modes
Greed Mode
Hard mode
Co-op
Daily Challenges
Victory Lap
RERUN
Community
Other pages
Music
Version History
Debug Console
Bugs
Modding
Community portal
Discord server
IRC channel
The Binding of Isaac Wiki (Flash)
The Modding of Isaac Wiki
External Communities
Isaac on Reddit
Edmund's Blog
Isaac's Blog
Platinum God
Wiki
Recent Changes
Wiki Rules
Admin Noticeboard
Wiki Help
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Binding of Isaac: Rebirth Wiki
1,632
pages
Explore
Main Page
All Pages
Interactive Maps
Navigation
Items and more
Items
Collection Page
Item Pool
Trinkets
Pickups
Bestiary
Bosses
Monsters
Characters
Characters
Familiar
Co-op Baby
Progress
Achievements
Completion Marks
Challenges
Endings
Environment
Chapters
Rooms
Beggars
Machines
Obstacles
Mechanics
Transformations
Attributes
Curses
Player Effects
Seeds
Item Quality
Damage Scaling
More
Modes
Greed Mode
Hard mode
Co-op
Daily Challenges
Victory Lap
RERUN
Community
Other pages
Music
Version History
Debug Console
Bugs
Modding
Community portal
Discord server
IRC channel
The Binding of Isaac Wiki (Flash)
The Modding of Isaac Wiki
External Communities
Isaac on Reddit
Edmund's Blog
Isaac's Blog
Platinum God
Wiki
Recent Changes
Wiki Rules
Admin Noticeboard
Wiki Help
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Module:Bag of crafting recipes
Back to page
Edit source
View history
Talk (0)
Edit Page
Module:Bag of crafting recipes
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local p = {} local cargo = mw.ext.cargo local w_frame = require( 'module:frame' ) local data = mw.loadData( 'module:bag of crafting recipes/data' ) function p.recipe( f ) return recipe( w_frame.args( f ) ) end function recipe( r ) local intro = '<div class="crafting-recipe' if r[2] then intro = intro .. ' crafting-recipe-async" data-next-crafting-recipe="' .. r[2] local n = ipairs( r ) for _, v in n, r, 2 do intro = intro .. '|' .. v end end r = r[1] return intro .. '">' .. data.components[r:byte( 1 ) - 0x61] .. data.components[r:byte( 2 ) - 0x61] .. data.components[r:byte( 3 ) - 0x61] .. data.components[r:byte( 4 ) - 0x61] .. data.components[r:byte( 5 ) - 0x61] .. data.components[r:byte( 6 ) - 0x61] .. data.components[r:byte( 7 ) - 0x61] .. data.components[r:byte( 8 ) - 0x61] .. '</div>' end function p.tableOfRecipes( f ) return '|-\n| Recipes unavailable at this time' end p['table'] = function ( f ) local args = w_frame.args( f ) local frame = mw.getCurrentFrame() local where = 'id >= ' .. ( args[1] or '1' ) if args[2] then where = where .. ' and id < ' .. args[2] end if args.type == 'active' then where = where .. ' and is_activated' elseif args.type == 'passive' then where = where .. ' and not is_activated' end local qres = cargo.query( 'collectible', '_pageName = page, dlc, alias, name, image, id', { where = where, orderBy = 'id', limit = 800 } ) -- Expand the row templates once per item local lines = {} for _, v in ipairs( qres ) do local recipes = data.recipes[tonumber( v.id )] if recipes ~= nil then table.insert( lines, '|-' ) table.insert( lines, '| ' .. frame:expandTemplate{ title = 'i/query', args = v } ) table.insert( lines, '| ' .. tostring( v.id ) ) table.insert( lines, '| ' .. recipe( recipes ) ) end end return table.concat( lines, '\n' ) end return p
Summary:
Please note that all contributions to the Binding of Isaac: Rebirth Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Bag of crafting recipes/doc
(
edit
)
Follow on IG
TikTok
Join Fan Lab