Module:Icon: Difference between revisions
From The Petit Planet Wiki
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 163: | Line 163: | ||
return out | return out | ||
end | end | ||
local | local neighbors = mw.loadData('Module:Card/neighbors') | ||
local ALL_DATA = {-- list of {type, data} in the order that untyped items should get checked | local ALL_DATA = {-- list of {type, data} in the order that untyped items should get checked | ||
{' | {'Neighbor', neighbors}, | ||
{'Creature', mw.loadData('Module:Card/creatures')}, | |||
{'Dish', mw.loadData('Module:Card/dishes')}, | |||
{' | {'Plant', mw.loadData('Module:Card/plants')}, | ||
{' | {'Furniture', mw.loadData('Module:Card/furnitures')}, | ||
{' | |||
{' | |||
{'Outfit', mw.loadData('Module:Card/outfits')}, | {'Outfit', mw.loadData('Module:Card/outfits')}, | ||
{'Item', extendTable(characters, mw.loadData('Module:Card/items'))} -- allow characters to be items | {'Item', extendTable(characters, mw.loadData('Module:Card/items'))} -- allow characters to be items | ||
} | } | ||