İçeriğe atla

Modül:Infobox/data

Deltarune Wiki sitesinden

Additional data for inferring infobox categories.

Documentation

Package items

infobox_data.locations (member; table)
Used for determining which categories to associated with certain locations mentioned in location parameters, whether they should be auto-linked and what should they be linked to.
infobox_data.itemtypes (member; table)
Map of item types to their respective categories.
infobox_data.weapontypes (member; table)
Map of weapon types to their respective categories. Not used on Undertale Wiki.
infobox_data.locationcats (member; table)
Set of locations with their own categories.
--- Additional data for inferring infobox categories.
--  @file               {table} infobox_data

--- Used for determining which categories to associated with certain locations
--  mentioned in location parameters, whether they should be auto-linked and
--  what should they be linked to.
--  @property           {table} infobox_data.locations

--- Map of item types to their respective categories.
--  @property           {table} infobox_data.itemtypes

--- Map of weapon types to their respective categories.
--  Not used on Undertale Wiki.
--  @property           {table} infobox_data.weapontypes

--- Set of locations with their own categories.
--  @property           {table} infobox_data.locationcats

return {
    locations = {
        -- Vendors
        ['Seam'] = {},
        ['Rouxls Kaard'] = {
        	categories = {'Card Castle'}
        },
        ['Sweet Cap\'n Cakes'] = {},
        ['Swatch'] = {
        	categories = {'Queen\'s Mansion'}
        },
        ['Spamton'] = {
        	categories = {'Cyber City'}
        },
        ['Vending machine'] = {
        	categories = {'TV World'}
        },
        ['Old Man'] = {
        	categories = {'Dark Sanctuary'}
        }
    },
    itemtypes = {
        ['Armor']               = 'Armor',
        ['Consumable']          = 'Consumables',
        ['Key Item']            = 'Key Items',
        ['Weapon']              = 'Weapons',
        ['The Legend of Tenna'] = 'The Legend of Tenna',
        ['Light World item']    = 'Light World items'
    },
    weapontypes = {
    	['[[Kris]]']             = 'Swords',
    	['[[Kris]], [[Noelle]]'] = 'Swords',
    	['[[Susie]]']            = 'Axes',
    	['[[Ralsei]]']           = 'Scarves',
    	['[[Noelle]]']           = 'Rings',
    },
}
Konu ekle