Page 1 of 1

Musical Potion

Posted: Thu Apr 09, 2015 8:46 pm
by Emera Nova

Code: Select all

defineObject{
	name = "potion_of_music",
	baseObject = "base_item",
	components = {
		{
			class = "Model",
			model = "assets/models/items/flask.fbx",
		},
		{
			class = "Item",
			uiName = "???",
			gfxIndex = 148,
			weight = 0.3,
			stackable = true,
			traits = { "potion" },
		},
		{
			class = "UsableItem",
			--emptyItem = "flask",
			canBeUsedByDeadChampion = true,
			sound = "level_up",
		},
	},
}
Would this make it so when the potion is drunk it will just play the sound and nothing else?

Re: Musical Potion

Posted: Thu Apr 09, 2015 8:51 pm
by Emera Nova
Totally does awesome.