Anonymous
×
Create a new article
Write your page title here:
We currently have 496 articles on WIKI - Idle Pixel. Type your article name above or click on one of the titles below and start writing!



WIKI - Idle Pixel
Revision as of 16:00, 30 July 2024 by Dounford (talk | contribs)

Enemy Infobox

Script error: The function "enemy_page_before" does not exist. Use this to invoke the enemy infobox on the start of its page, the stats come from Module:Enemy_DB Script error: The function "code" does not exist.

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 Script error: The function "code" does not exist. Script error: The function "enemy_table" does not exist.

Enemies Navbox + Area Category

This will add both "Monsters" and the Enemy's Area Category and the Template:Navbox Monsters Script error: The function "code" does not exist. Lua error at line 11: attempt to index field 'args' (a nil value).

Enemy Stats

This will add the Enemy Stats Table and its Loot Table Script error: The function "code" does not exist. Script error: The function "enemy_stats" does not exist.

All Enemies Stats + Loot

This will add a table with all Enemies Stats and their Loot Script error: The function "code" does not exist. Script error: The function "all_enemies" does not exist.

Area Infobox

This will add the Area Infobox and its Enemies Stats and Loot Script error: The function "code" does not exist. Script error: The function "area_page" does not exist.

Area Stats + Loot

This will add a table will all Enemies Stats and Loot from a selected area Script error: The function "code" does not exist. Script error: The function "enemies_area" does not exist.

All Craftables

This will add a table with all craftable items recipes Script error: The function "code" does not exist. Script error: The function "crafting" does not exist.

Item Crafting Recipes

This will add a table with all Crafting recipes where the selected item is used Script error: The function "code" does not exist. Script error: The function "item_use" does not exist.

Item Cooking Recipes

This will add a table with all Cooks Book Recipes where the selected item is used Script error: The function "code" does not exist. Script error: The function "item_cook" does not exist.

Item Brewing Recipes

This will add a table with all Potions Recipes where the selected item is used Script error: The function "code" does not exist. Script error: The function "item_potion" does not exist.

Item Tablette Use

This will add a table with all Tablettes where the selected item is used Script error: The function "code" does not exist. Script error: The function "item_tablette" does not exist.

Item Drop

This will add a table with all Enemies that drop the selected item Script error: The function "code" does not exist. Script error: The function "item_drop" does not exist.


local u = require("Module:Util")
local em = require("Module:Enemies")
local am = require("Module:Areas")
local cm = require("Module:Crafting")
local edb = require("Module:Enemy_DB")
local adb = require("Module:Area_DB")
local inspect = require("Module:InspectLua")
local p = {}

function p.pp(frame)
    return frame:preprocess(frame.args[1])
end

function p.enemy_page_after(frame)
    return p.pp(em.enemy_page_after(frame.args[1] or frame:getParent():getTitle()))
end

function p.test(frame)
    return inspect(frame)
end

function p.testo(frame)
    return inspect(frame.args[1])
end
return p