Module:ParallelSprite: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
(Created page with "return { settings = { align = 'middle', classname = 'item-sprite', imagename = 'ItemSprite.png', sheetsize = 1024, size = 32, stylesheet = true, --version = 5, spriteSheet= "item" }, sections = { { name = 'Gear', id = 1 }, { name = 'Food', id = 2 }, { name = 'Misc', id = 3 } }, ids = { -- Gear ['Pocket Teleporter'] = { pos = 2, section = 1 }, ['Totem of the Void'] = { pos = 3, section = 1 }, ['Makeshift Wings'] = { pos = 4, section = 1...")
(No difference)

Revision as of 06:12, 1 June 2022

This module is deprecated. Custom Parallel sprites can now be referenced by uploading individual images with the names specified in Module:ParallelAliases

Dependencies


return {
	settings = {
		align = 'middle',
		classname = 'item-sprite',
		imagename = 'ItemSprite.png',
		sheetsize = 1024,
		size = 32,
		stylesheet = true,
		--version = 5,
		spriteSheet= "item"
	},
	sections = {
		{ name = 'Gear', id = 1 },
		{ name = 'Food', id = 2 },
		{ name = 'Misc', id = 3 }
	},
	ids = {
		-- Gear
		['Pocket Teleporter'] = { pos = 2, section = 1 },
		['Totem of the Void'] = { pos = 3, section = 1 },
		['Makeshift Wings'] = { pos = 4, section = 1 },
		['Broken Makeshift Wings'] = { pos = 5, section = 1 },
		['Red Astronaut Helmet'] = { pos = 6, section = 1 },

		-- Food
		['Baguette'] = { pos = 33, section = 2 },
		['Halloween Candy'] = { pos = 34, section = 2 },

		-- Misc
		['Soul Shard'] = { pos = 17, section = 3 },
		['Unstable Soul Shard'] = { pos = 18, section = 3 },
		['Tinted Potion Bottle'] = { pos = 19, section = 3 },

	},
}