No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 45: | Line 45: | ||
result = [[ | result = [[ | ||
{ | {{{!}} class="wikitable sortable" | ||
! colspan="2" style="width: 30%" {{!}}Item | ! colspan="2" style="width: 30%" {{!}}Item | ||
| Line 84: | Line 84: | ||
return result .. [[ | return result .. [[ | ||
{{!}}}]] | |||
end | end | ||
return p | return p | ||
Revision as of 09:59, 4 November 2024
This module uses the data from Module:Crafting_DB to create a exhibition of all the craftable items of the game
{{#invoke:Lua|crafting}}
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |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
35 Promethium Bars
|Upgrades your furnace capacity.
|2,999xp
|-
|
|Titanium Furnace
|73
|300,000 Stone
15 Titanium Bars
|Upgrades your furnace capacity.
|6,666xp
|-
|
|Ancient Furnace
|81
|400,000 Stone
5 Ancient Bars
|Upgrades your furnace capacity.
|10,000xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |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
50 Titanium Bars
|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
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |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 Blood
1 Invention
|Ability to pray to the gods and convert evil blood into saint blood.
|6,788xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |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
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |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
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |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
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
|-
|
|Wooden Arrows
|1
|15 Feathers
5 Logs
5 Iron Bars
|Arrows for your bow for Combat.
|15xp
|-
|
|Fire Arrows
|20
|15 Fire Feathers
5 Oak Logs
5 Silver Bars
|Fire Arrows for your bow for Combat.
|150xp
|-
|
|Ice Arrows
|40
|15 Ice Feathers
5 Willow Logs
5 Gold Bars
|Very powerful againsts fire based monsters.
|315xp
|-
|
|Ancient Arrows
|90
|15 Ancient Feathers
5 Redwood Logs
5 Ancient Bars
|Strong arrows
|0xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
|-
|
|Drills
|3
|7 Bronze Bars
|Can be used to mine faster and higher level Ores. (Requires Oil).
|24xp
|-
|
|Crushers
|15
|100 Iron Bars
5 Gold Bars
|Machinery that runs on oil and collects ores.
|250xp
|-
|
|Giant Drills
|42
|500 Iron Bars
300 Silver Bars
|Can be used to mine faster and higher level ores. (Requires Oil)
|900xp
|-
|
|Excavator
|65
|1,000 Iron Bars
500 Gold Bars
100 Promethium Bars
|Can be used to mine faster and higher level ores. (Requires Oil)
|4,200xp
|-
|
|Giant Excavator
|80
|100 Titanium Bars
200 Promethium Bars
|Can be used to mine faster and higher level ores. (Requires Oil)
|9,857xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
|-
|
|Row Boat
|24
|100 Normal Logs
Easy Fishing Achievements
|Allows you to send out a boat to gather fish for you.
|485xp
|-
|
|Canoe
|39
|200 Oak Logs
100 Willow Logs
50 Maple Logs
Easy Fishing Achievements
|Can be sent out to collect fish for you.
|555xp
|-
|
|Stardust Ship
|60
|200 Stardust Logs
Easy Fishing Achievements
|Boat that can gather stardust fish.
|3,152xp
|-
|
|Pirate Ship
|92
|500 Redwood Logs
10 Pirates
Easy Fishing Achievements
|Ability to send your boat but not for fish, but to kidnap evil pirates who steal from cargo ships.
|31,584xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
|-
|
|Fight Points Medallion
|31
|3 Sapphire
900 Fight Points
|Increases your Fight Points cap.(2000)
|788xp
|-
|
|Fight Points Medallion
|55
|3 Emerald
2,000 Fight Points
|Increases your Fight Points cap.(4000)
|2,212xp
|-
|
|Fight Points Medallion
|75
|3 Ruby
4,000 Fight Points
|Increases your Fight Points cap.(8000)
|6,857xp
|-
|
|Fight Points Medallion
|90
|3 Diamond
8,000 Fight Points
|Increases your Fight Points cap.(12 000)
|25,142xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
|-
|
|Wooden Sword
|5
|5 Normal Logs
|Unlocks the combat skill.
|80xp
|-
|
|Poison Stinger
|17
|1 Stinger
1 Poison
|Deals extra damage and ignores enemy defence. Also needed for Quest "The Tank".
|150xp
|-
|
|Longbow
|40
|50 String
1 Long Bow Frame
|More accurate bow.
|2,000xp
|-
|
|Spiked Club
|45
|1 Club
100 Ant Needles
|Add spikes to a club, increasing its damage by 4.
|2,346xp
|-
|
|Haunted Bow
|50
|2 Long Bow Frame
1 Haunted Bow Frame
|Double damage on ghost type monsters.
|0xp
|-
|
|Balista
|100
|700 String
500 Flexible Logs
5 Dragon Bars
|A very strong range weapon - uses 5 arrows per hit.
|135,141xp
! colspan="2" style="width: 30%" |Item
! Level Needed
! style="width: 20%" |Materials
! style="width: 25%" |Description
!XP
|-
|
|Axe
|4
|1 Iron Bar
|Unlocks Woodcutting.
|78xp
|-
|
|Rake
|5
|5 Iron Bars
|Required for the Quests The Achiever.
|500xp
|-
|
|Brewing Kit
|21
|100 Iron Bars
1 Stardust Potion
1 Energy Potion
1 Anti-Disease Potion
1 Tree Speed Potion
1 Smelting Upgrade Potion
1 Farming Speed Potion
1 Strange Leaf
|When upgraded, increases the duration for all potions.
|322xp
|-
|
|Magnet
|78
|80 Promethium Bars
100 Iron Bars
10 Lava
|A tool used to filter through junk from gathering.
|7,011xp
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','Mining Machinery','Boat','Fight Points Medallion','Weapon','Tool'}
function p.craftingTable()
local tableText = [[{{tabs
]]
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 .. [[|name]] .. groupIndex .. [[=]] .. groups[groupIndex] .. [[
|tab]] .. groupIndex .. [[=]] .. p.table(recipes)
end
tableText = tableText .. [[
}}]]
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] .. ']]'
materialStr = materialStr .. "<br>"
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