This is the documentation page for Module:Lua
Enemy Infobox
| Bee
|
|
| Damage
|
4
|
| Accuracy
|
0
|
| Speed
|
4
|
| Defence
|
0
|
| Health
|
2
|
Your hit chance
|
|
Enemy's hit chance
|
|
Use this to invoke the enemy infobox on the start of its page, the stats come from Module:Enemy_DB
{{#invoke:Lua|enemy_page_before|ENEMY-NAME}}
Enemy Loot Table
Use this to invoke the enemy Loot Table, this already come with the "Loot" heading, the stats come from Module:Enemy_DB
{{#invoke:Lua|enemy_table|ENEMY-NAME}}
Loot
Loot Table
|
| Item
|
Item Name
|
Amount Dropped
|
Rarity
|
|
Honey
|
1 - 2
|
Always
|
|
Stinger
|
1
|
Always
|
|
Bee Icon
|
1
|
1/1000
|
|
* Can only be obtained once.
Enemies Navbox + Area Category
This will add both "Monsters" and the Enemy's Area Category and the Template:Navbox Monsters
{{#invoke:Lua|enemy_page_after|ENEMY-NAME}}
Enemy Stats
This will add the Enemy Stats Table and its Loot Table
{{#invoke:Lua|enemy_stats|ENEMY-NAME}}
Loot Table
|
| Item
|
Item Name
|
Amount Dropped
|
Rarity
|
|
Honey
|
1 - 2
|
Always
|
|
Stinger
|
1
|
Always
|
|
Bee Icon
|
1
|
1/1000
|
|
* Can only be obtained once.
All Enemies Stats + Loot
This will add a table with all Enemies Stats and their Loot
{{#invoke:Lua|all_enemies}}
Loot Table
|
| Item
|
Item Name
|
Amount Dropped
|
Rarity
|
|
Pirates Gold
|
1 - 2
|
Always
|
|
Stone
|
2,000 - 10,000
|
1/11
|
|
Copper
|
2,000 - 10,000
|
1/11
|
|
Iron
|
1,000 - 10,000
|
1/11
|
|
Silver
|
500 - 10,000
|
1/11
|
|
Gold
|
50 - 500
|
1/11
|
|
Promethium
|
5 - 10
|
1/11
|
|
Bronze Bar
|
100 - 500
|
1/11
|
|
Iron Bar
|
250 - 1,000
|
1/11
|
|
Silver Bar
|
250 - 500
|
1/11
|
|
Gold Bar
|
50 - 250
|
1/11
|
|
Promethium Bar
|
5 - 10
|
1/11
|
|
Logs
|
50 - 100
|
1/11
|
|
Oak Logs
|
50 - 100
|
1/11
|
|
Willow Logs
|
50 - 100
|
1/11
|
|
Maple Logs
|
50 - 100
|
1/11
|
|
Dotted Green Leaf Seeds
|
1 - 5
|
1/11
|
|
Green Leaf Seeds
|
1 - 5
|
1/11
|
|
Lime Leaf Seeds
|
1 - 5
|
1/11
|
|
Gold Leaf Seeds
|
1 - 2
|
1/11
|
|
Crystal Leaf Seeds
|
1
|
1/11
|
|
Dotted Green Leaf
|
10 - 30
|
1/11
|
|
Green Leaf
|
5 - 30
|
1/11
|
|
Lime Leaf
|
5 - 15
|
1/11
|
|
Gold Leaf
|
1 - 5
|
1/11
|
|
Crystal Leaf
|
1
|
1/11
|
|
Cooked Shrimp
|
10 - 50
|
1/11
|
|
Cooked Anchovy
|
10 - 25
|
1/11
|
|
Cooked Sardine
|
5 - 15
|
1/11
|
|
Cooked Crab
|
5 - 10
|
1/11
|
|
Cooked Pike
|
1 - 3
|
1/11
|
|
Cooked Tuna
|
1 - 3
|
1/11
|
|
Cooked Swordfish
|
1
|
1/11
|
|
Gathering Loot Bag Fields
|
15,000 - 35,000
|
1/11
|
|
Gathering Loot Bag Fishing Pond
|
15,000 - 35,000
|
1/11
|
|
Gathering Loot Bag Forest
|
15,000 - 35,000
|
1/11
|
|
Gathering Loot Bag Gem Mine
|
15,000 - 35,000
|
1/11
|
|
Gathering Loot Bag Mines
|
15,000 - 35,000
|
1/11
|
|
Bones
|
10 - 50
|
1/11
|
|
Big Bones
|
5 - 25
|
1/11
|
|
Blue Breeding Anti Sickness Orb
|
1
|
1/13
|
|
Blue Farming Orb
|
1
|
1/13
|
|
Blue Woodcutting Orb
|
1
|
1/13
|
|
Blue Oil Storage Orb
|
1
|
1/13
|
|
Blue Oil Well Orb
|
1
|
1/13
|
|
Blue Pickaxe Orb
|
1
|
1/13
|
|
Blue Hammer Orb
|
1
|
1/13
|
|
Gold Helmet
|
1
|
1/300
|
|
Gold Body
|
1
|
1/300
|
|
Gold Legs
|
1
|
1/300
|
|
Gold Boots
|
1
|
1/300
|
|
Gold Gloves
|
1
|
1/300
|
|
Treasure Chest Sigil
|
1
|
1/100
|
|
* Can only be obtained once.
Loot Table
|
| Item
|
Item Name
|
Amount Dropped
|
Rarity
|
|
Pirates Gold
|
2 - 3
|
Always
|
|
Stone
|
2,000 - 10,000
|
1/11
|
|
Copper
|
10,000 - 20,000
|
1/11
|
|
Iron
|
10,000 - 50,000
|
1/11
|
|
Silver
|
2,000 - 20,000
|
1/11
|
|
Gold
|
100 - 1,000
|
1/11
|
|
Promethium
|
10 - 30
|
1/11
|
|
Bronze Bar
|
500 - 2,000
|
1/11
|
|
Iron Bar
|
500 - 2,000
|
1/11
|
|
Silver Bar
|
500 - 2,000
|
1/11
|
|
Gold Bar
|
75 - 500
|
1/11
|
|
Promethium Bar
|
10 - 30
|
1/11
|
|
Logs
|
150 - 400
|
1/11
|
|
Oak Logs
|
200 - 250
|
1/11
|
|
Willow Logs
|
125 - 200
|
1/11
|
|
Maple Logs
|
100 - 200
|
1/11
|
|
Dotted Green Leaf Seeds
|
3 - 10
|
1/11
|
|
Green Leaf Seeds
|
3 - 10
|
1/11
|
|
Lime Leaf Seeds
|
3 - 10
|
1/11
|
|
Gold Leaf Seeds
|
3 - 5
|
1/11
|
|
Crystal Leaf Seeds
|
1 - 2
|
1/11
|
|
Dotted Green Leaf
|
30 - 60
|
1/11
|
|
Green Leaf
|
10 - 60
|
1/11
|
|
Lime Leaf
|
20 - 30
|
1/11
|
|
Gold Leaf
|
5 - 15
|
1/11
|
|
Crystal Leaf
|
1 - 3
|
1/11
|
|
Cooked Shrimp
|
30 - 90
|
1/11
|
|
Cooked Anchovy
|
30 - 50
|
1/11
|
|
Cooked Sardine
|
10 - 20
|
1/11
|
|
Cooked Crab
|
10 - 20
|
1/11
|
|
Cooked Pike
|
2 - 5
|
1/11
|
|
Cooked Tuna
|
2 - 5
|
1/11
|
|
Cooked Swordfish
|
2 - 5
|
1/11
|
|
Gathering Loot Bag Fields
|
35,000 - 80,000
|
1/11
|
|
Gathering Loot Bag Fishing Pond
|
35,000 - 80,000
|
1/11
|
|
Gathering Loot Bag Forest
|
35,000 - 80,000
|
1/11
|
|
Gathering Loot Bag Gem Mine
|
35,000 - 80,000
|
1/11
|
|
Gathering Loot Bag Mines
|
35,000 - 80,000
|
1/11
|
|
Bones
|
50 - 100
|
1/11
|
|
Big Bones
|
25 - 100
|
1/11
|
|
Green Charcoal Orb
|
1
|
1/13
|
|
Green Arrow Orb
|
1
|
1/13
|
|
Green Bone Orb
|
1
|
1/13
|
|
Green Log Orb
|
1
|
1/13
|
|
Green Boat Orb
|
1
|
1/13
|
|
Green Raid Fp Orb
|
1
|
1/13
|
|
Green Breeding Slayless Orb
|
1
|
1/13
|
|
Gold Helmet
|
1
|
1/250
|
|
Gold Body
|
1
|
1/250
|
|
Gold Legs
|
1
|
1/250
|
|
Gold Boots
|
1
|
1/250
|
|
Gold Gloves
|
1
|
1/250
|
|
Green Treasure Chest Sigil
|
1
|
1/100
|
|
* Can only be obtained once.
Loot Table
|
| Item
|
Item Name
|
Amount Dropped
|
Rarity
|
|
Pirates Gold
|
3 - 4
|
Always
|
|
Stone
|
4,000 - 20,000
|
1/10
|
|
Copper
|
20,000 - 40,000
|
1/10
|
|
Iron
|
10,000 - 20,000
|
1/10
|
|
Silver
|
4,000 - 40,000
|
1/10
|
|
Gold
|
200 - 2,000
|
1/10
|
|
Promethium
|
20 - 60
|
1/10
|
|
Bronze Bar
|
100 - 4,000
|
1/10
|
|
Iron Bar
|
1,000 - 3,000
|
1/10
|
|
Silver Bar
|
1,000 - 3,000
|
1/10
|
|
Gold Bar
|
200 - 800
|
1/10
|
|
Promethium Bar
|
20 - 80
|
1/10
|
|
Logs
|
300 - 700
|
1/10
|
|
Oak Logs
|
300 - 700
|
1/10
|
|
Willow Logs
|
200 - 500
|
1/10
|
|
Maple Logs
|
200 - 500
|
1/10
|
|
Dotted Green Leaf Seeds
|
3 - 20
|
1/10
|
|
Green Leaf Seeds
|
3 - 20
|
1/10
|
|
Lime Leaf Seeds
|
3 - 20
|
1/10
|
|
Gold Leaf Seeds
|
3 - 20
|
1/10
|
|
Crystal Leaf Seeds
|
1 - 10
|
1/10
|
|
Dotted Green Leaf
|
30 - 80
|
1/10
|
|
Green Leaf
|
10 - 120
|
1/10
|
|
Lime Leaf
|
20 - 120
|
1/10
|
|
Gold Leaf
|
5 - 100
|
1/10
|
|
Crystal Leaf
|
1 - 50
|
1/10
|
|
Cooked Shrimp
|
30 - 90
|
1/10
|
|
Cooked Anchovy
|
30 - 50
|
1/10
|
|
Cooked Sardine
|
10 - 20
|
1/10
|
|
Cooked Crab
|
10 - 20
|
1/10
|
|
Cooked Pike
|
2 - 5
|
1/10
|
|
Cooked Tuna
|
2 - 5
|
1/10
|
|
Cooked Swordfish
|
2 - 5
|
1/10
|
|
Gathering Loot Bag Fields
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Fishing Pond
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Forest
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Gem Mine
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Mines
|
35,000 - 180,000
|
1/10
|
|
Bones
|
50 - 200
|
1/10
|
|
Big Bones
|
25 - 200
|
1/10
|
|
Ashes
|
25 - 200
|
1/10
|
|
Blood Bones
|
10 - 20
|
1/10
|
|
Charcoal
|
100 - 200
|
1/10
|
|
Lava
|
100 - 200
|
1/10
|
|
Red Farming Orb
|
1
|
1/13
|
|
Red Woodcutting Orb
|
1
|
1/13
|
|
Red Combat Orb
|
1
|
1/13
|
|
Red Oil Factory Orb
|
1
|
1/13
|
|
Red Stardust Watch Orb
|
1
|
1/13
|
|
Red Criptoe Orb
|
1
|
1/13
|
|
Gold Helmet
|
1
|
1/200
|
|
Gold Body
|
1
|
1/200
|
|
Gold Legs
|
1
|
1/200
|
|
Gold Boots
|
1
|
1/200
|
|
Gold Gloves
|
1
|
1/200
|
|
Red Treasure Chest Sigil
|
1
|
1/100
|
|
* Can only be obtained once.
Loot Table
|
| Item
|
Item Name
|
Amount Dropped
|
Rarity
|
|
Pirates Gold
|
4 - 5
|
Always
|
|
Stone
|
4,000 - 20,000
|
1/10
|
|
Copper
|
20,000 - 40,000
|
1/10
|
|
Iron
|
10,000 - 20,000
|
1/10
|
|
Silver
|
4,000 - 40,000
|
1/10
|
|
Gold
|
200 - 2,000
|
1/10
|
|
Promethium
|
20 - 60
|
1/10
|
|
Bronze Bar
|
100 - 4,000
|
1/10
|
|
Iron Bar
|
1,000 - 3,000
|
1/10
|
|
Silver Bar
|
1,000 - 3,000
|
1/10
|
|
Gold Bar
|
200 - 800
|
1/10
|
|
Promethium Bar
|
20 - 80
|
1/10
|
|
Logs
|
300 - 700
|
1/10
|
|
Oak Logs
|
300 - 700
|
1/10
|
|
Willow Logs
|
200 - 500
|
1/10
|
|
Maple Logs
|
200 - 500
|
1/10
|
|
Dotted Green Leaf Seeds
|
3 - 20
|
1/10
|
|
Green Leaf Seeds
|
3 - 20
|
1/10
|
|
Lime Leaf Seeds
|
3 - 20
|
1/10
|
|
Gold Leaf Seeds
|
3 - 20
|
1/10
|
|
Crystal Leaf Seeds
|
1 - 10
|
1/10
|
|
Dotted Green Leaf
|
30 - 80
|
1/10
|
|
Green Leaf
|
10 - 120
|
1/10
|
|
Lime Leaf
|
20 - 120
|
1/10
|
|
Gold Leaf
|
5 - 100
|
1/10
|
|
Crystal Leaf
|
1 - 50
|
1/10
|
|
Cooked Shrimp
|
30 - 90
|
1/10
|
|
Cooked Anchovy
|
30 - 50
|
1/10
|
|
Cooked Sardine
|
10 - 20
|
1/10
|
|
Cooked Crab
|
10 - 20
|
1/10
|
|
Cooked Pike
|
2 - 5
|
1/10
|
|
Cooked Tuna
|
2 - 5
|
1/10
|
|
Cooked Swordfish
|
2 - 5
|
1/10
|
|
Gathering Loot Bag Fields
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Fishing Pond
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Forest
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Gem Mine
|
35,000 - 180,000
|
1/10
|
|
Gathering Loot Bag Mines
|
35,000 - 180,000
|
1/10
|
|
Bones
|
50 - 200
|
1/10
|
|
Big Bones
|
25 - 200
|
1/10
|
|
Ashes
|
25 - 200
|
1/10
|
|
Blood Bones
|
10 - 20
|
1/10
|
|
Charcoal
|
100 - 200
|
1/10
|
|
Lava
|
100 - 200
|
1/10
|
|
Shooting Star
|
1
|
1/10
|
|
Blue Shooting Star
|
1
|
1/10
|
|
Green Shooting Star
|
1
|
1/10
|
|
Red Shooting Star
|
1
|
1/10
|
|
Blue Breeding Anti Sickness Orb
|
1
|
1/37
|
|
Blue Farming Orb
|
1
|
1/37
|
|
Blue Woodcutting Orb
|
1
|
1/37
|
|
Blue Oil Storage Orb
|
1
|
1/37
|
|
Blue Oil Well Orb
|
1
|
1/37
|
|
Blue Pickaxe Orb
|
1
|
1/37
|
|
Blue Hammer Orb
|
1
|
1/37
|
|
Green Charcoal Orb
|
1
|
1/37
|
|
Green Arrow Orb
|
1
|
1/37
|
|
Green Bone Orb
|
1
|
1/37
|
|
Green Log Orb
|
1
|
1/37
|
|
Green Boat Orb
|
1
|
1/37
|
|
Red Farming Orb
|
1
|
1/37
|
|
Red Woodcutting Orb
|
1
|
1/37
|
|
Red Combat Orb
|
1
|
1/37
|
|
Red Oil Factory Orb
|
1
|
1/37
|
|
Red Stardust Watch Orb
|
1
|
1/37
|
|
Gold Helmet
|
1
|
1/150
|
|
Gold Body
|
1
|
1/150
|
|
Gold Legs
|
1
|
1/150
|
|
Gold Boots
|
1
|
1/150
|
|
Gold Gloves
|
1
|
1/150
|
|
Mixed Treasure Chest Sigil
|
1
|
1/100
|
|
* Can only be obtained once.
Area Infobox
This will add the Area Infobox and its Enemies Stats and Loot
{{#invoke:Lua|area_page|AREA-NAME}}
Lua error in Module:Lua at line 80: attempt to call field 'area_page' (a nil value).
Area Stats + Loot
This will add a table will all Enemies Stats and Loot from a selected area
{{#invoke:Lua|enemies_area|AREA-NAME}}
All Craftables
This will add a table with all craftable items recipes
{{#invoke:Lua|crafting}}
| 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 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 |
| 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 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 |
Item Crafting Recipes
This will add a table with all Crafting recipes where the selected item is used
{{#invoke:Lua|item_use|ITEM-NAME}}
| Item
|
Crafting level
|
Amount needed
|
|
Stone Furnace
|
2
|
10
|
|
Bronze Furnace
|
12
|
1,000
|
|
Iron Furnace
|
27
|
28,000
|
|
Silver Furnace
|
40
|
40,000
|
|
Gold Furnace
|
51
|
70,000
|
|
Promethium Furnace
|
59
|
120,000
|
|
Titanium Furnace
|
73
|
300,000
|
|
Ancient Furnace
|
81
|
400,000
|
|
Bronze Oven
|
10
|
1,000
|
|
Iron Oven
|
22
|
10,000
|
|
Silver Oven
|
31
|
20,000
|
|
Gold Oven
|
48
|
50,000
|
|
Promethium Oven
|
62
|
300,000
|
|
Titanium Oven
|
77
|
500,000
|
|
Ancient Oven
|
89
|
1,000,000
|
|
Stone Statue
|
1
|
3
|
Item Cooking Recipes
This will add a table with all Cooks Book Recipes where the selected item is used
{{#invoke:Lua|item_cook|ITEM-NAME}}
Item Brewing Recipes
This will add a table with all Potions Recipes where the selected item is used
{{#invoke:Lua|item_potion|ITEM-NAME}}
Item Tablette Use
This will add a table with all Tablettes where the selected item is used
{{#invoke:Lua|item_tablette|ITEM-NAME}}
Item Drop
This will add a table with all Enemies that drop the selected item
{{#invoke:Lua|item_drop|ITEM-NAME}}
| Monster
|
Amount dropped
|
Drop chance
|
|
Goblin
|
1,000 - 5,000
|
1/8
|
|
Blood Goblin
|
1,000 - 10,000
|
1/6
|
|
Castle Golem
|
100,000 - 300,000
|
1/1
|
|
Mimic
|
2,000 - 10,000
|
1/11
|
|
Green Mimic
|
2,000 - 10,000
|
1/11
|
|
Red Mimic
|
4,000 - 20,000
|
1/10
|
|
Mixed Mimic
|
4,000 - 20,000
|
1/10
|