Module:ParallelSprite: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
m (Diamondback88 moved page Module:ItemSprite to Module:ParallelSprite without leaving a redirect)
No edit summary
Line 2: Line 2:
settings = {
settings = {
align = 'middle',
align = 'middle',
classname = 'item-sprite',
classname = 'parallel-sprite',
imagename = 'ItemSprite.png',
imagename = 'ParallelSprite.png',
sheetsize = 1024,
sheetsize = 1024,
size = 32,
size = 32,

Revision as of 06:44, 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 = 'parallel-sprite',
		imagename = 'ParallelSprite.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 },

	},
}