This module uses the data from Module:Crafting_DB to create a exhibition of all the craftable items of the game
{{#invoke:Lua|crafting}}
<tabber> Furnace =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Stone Furnace | 2 |
10 Stone | Allow you to smelt Ores into Bars. | 24xp | |
| Bronze Furnace | 12 |
1,000 Stone
30 Bronze Bars |
Upgrades your furnace capacity. | 155xp | |
| Iron Furnace | 27 |
28,000 Stone
200 Iron Bars |
Upgrades your furnace capacity. | 545xp | |
| Silver Furnace | 40 |
40,000 Stone
200 Silver Bars |
Upgrades your furnace capacity. | 898xp | |
| Gold Furnace | 51 |
70,000 Stone
200 Gold Bars |
Upgrades your furnace capacity. | 1,500xp | |
| Promethium Furnace | 59 |
120,000 Stone | Upgrades your furnace capacity. | 2,999xp | |
| Titanium Furnace | 73 |
300,000 Stone | Upgrades your furnace capacity. | 6,666xp | |
| Ancient Furnace | 81 |
400,000 Stone | Upgrades your furnace capacity. | 10,000xp | |
|-| Oven =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Bronze Oven | 10 |
1,000 Stone
30 Bronze Bars |
Unlocks the Cooking skill. | 112xp | |
| Iron Oven | 22 |
10,000 Stone
250 Iron Bars |
Decrease the chance of burning food. | 351xp | |
| Silver Oven | 31 |
20,000 Stone
250 Silver Bars |
Decrease the chance of burning food. | 700xp | |
| Gold Oven | 48 |
50,000 Stone
250 Gold Bars |
Decrease the chance of burning food. | 1,300xp | |
| Promethium Oven | 62 |
300,000 Stone
100 Promethium Bars |
Decrease the chance of burning food. | 3,585xp | |
| Titanium Oven | 77 |
500,000 Stone | Decrease the chance of burning food. | 8,758xp | |
| Ancient Oven | 89 |
1,000,000 Stone
50 Ancient Bars |
Decrease the chance of burning food. | 21,585xp | |
|-| Statue =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Stone Statue | 1 |
3 Stone | Can be sold to the dwarf for Quest. | 10xp | |
| Bronze Statue | 9 |
20 Bronze Bars | Can be traded to the Dwarf for coins. | 500xp | |
| Glass Statue | 32 |
1 Molten Glass | A glass statue. Im sure the dwarf would love this. | 811xp | |
| File:BloodGlassStatue.png | Blood Glass Statue | 65 |
100 Molten Glass
500 Evil Blood1 Invention |
Ability to pray to the gods and convert evil blood into saint blood. | 6,788xp |
|-| Oil Well =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Bronze Oil Well | 1 |
5 Bronze Bars | Allows you to gather Oil. | 15xp | |
| Iron Oil Well | 11 |
25 Iron Bars | Allows you to gather Oil. | 200xp | |
| Gold Oil Well | 38 |
50 Gold Bars | Upgrade oil well to increase oil rate. | 555xp | |
| Promethium Oil Well | 50 |
50 Promethium Bars | Upgrade oil well to increase oil rate. | 1,500xp | |
| Titanium Oil Well | 72 |
20 Titanium Bars | Upgrade oil well to increase oil rate. | 6,000xp | |
| Ancient Oil Well | 83 |
20 Ancient Bars | Upgrade oil well to increase oil rate. | 12,414xp | |
|-| Community Center =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Community Center | 11 |
30 Normal Logs | NPC shop, unlocks more buyables. | 124xp | |
| Community Center 2 | 30 |
250 Oak Logs
100 Willow Logs |
Upgrades the npc shop. | 666xp | |
| Community Center 3 | 43 |
50 Maple Logs | Upgrades the shop to sell more items. | 954xp | |
| Community Center 4 | 58 |
50 Stardust Logs | Upgrades the shop to sell more items, including the unlockable criptoe market. | 2,898xp | |
|-| Oil Silo =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Silver Oil Silo | 7 |
3 Silver Bars | Increases your Oil capacity. | 88xp | |
| Gold Oil Silo | 20 |
20 Gold Bars | Further increases your Oil capacity. | 301xp | |
| Promethium Oil Silo | 46 |
20 Promethium Bars | Increases your oil capacity. | 1,241xp | |
| Titanium Oil Silo | 67 |
10 Titanium Bars | Increases your oil capacity. | 5,175xp | |
| Ancient Oil Silo | 85 |
10 Ancient Bars | Increases your oil capacity. | 14,585xp | |
|-| Arrow =
| Item | Level Needed | Materials | Description | XP | |
|---|---|---|---|---|---|
| Wooden Arrows | 1 |
15 Feathers | Arrows for your bow for Combat. | 15xp | |
| Fire Arrows | 20 |
15 Fire Feathers | Fire Arrows for your bow for Combat. | 150xp | |
| Ice Arrows | 40 |
15 Ice Feathers | Very powerful againsts fire based monsters. | 315xp | |
| Ancient Arrows | 90 |
15 Ancient Feathers | Strong arrows | 0xp | |
|-| </tabber>
u = require("Module:Util")
db = require("Module:Crafting_DB")
inspect = require("Module:InspectLua")
local p = {}
local groups = {'Furnace','Oven','Statue','Oil Well','Community Center','Oil Silo','Arrow'}
function p.craftingTable()
local tableText = '<tabber>'
for groupIndex, group in ipairs(groups) do
local recipes = {}
local itemIndex = 0
for _, e in ipairs(db) do
if e[6] == groupIndex then
itemIndex = itemIndex + 1
if not recipes[itemIndex] then
recipes[itemIndex] = {
item = e[1],
itemImage = e[2],
level = e[3],
description = e[7],
xp = e[4],
materials = {}
}
end
for _, f in ipairs(e[5]) do
table.insert(recipes[itemIndex].materials, f)
end
end
end
tableText = tableText .. [[
]] .. group .. [[ = ]] .. p.table(recipes) .. [[
|-|]]
end
tableText = tableText .. [[
</tabber>]]
return tableText
end
function p.table(recipes)
result = [[
{| class="wikitable sortable"
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
]]
for _, e in pairs(recipes) do
local materialStr = ''
for i, m in ipairs(e.materials) do
materialStr = materialStr .. u.c(m[2]) .. " " .. '[[' .. m[1] .. ']]'
if i < #m then
materialStr = materialStr .. "\n"
end
end
result = result .. [[
|-
|]] .. '[[File: ' .. e.itemImage .. '.png|35px|link=' .. e.item .. ']]' .. [[
|]] .. '[[' .. e.item .. ']]' .. [[
|]] .. e.level .. '[[File:CraftingSigil.png|20px|link=]]' .. [[
|]] .. materialStr .. [[
|]] .. e.description .. [[
|]] .. u.c(e.xp) .. 'xp' .. [[
]]
end
return result .. [[
|}
]]
end
return p