Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: askion on June 04, 2012, 10:56:27 am
-
is there a way to make custom consumable items, like custom drinks get removed from inventory on use?
-
Yes, there is.
-
Chance of you telling? pleaseeee ^_^
-
Basically an item in the item.dbc with consumable settings. Search for one as basic and work your way up from there. Set an existing foodtype or create a new one - I think that one is in an dbc, but I might be wrong. Checking right now
// Edited
-
Thanks, i was trying to get it too work through item_template ._.
i'll try this ^_^
-
totally offtopic, but I love that nicolas cage picture hahahaha
-
Ehm... Sometimes I don't get why there are topics including the most complex mods based on WoW, and then.. topics that reduce themselves to a simple sql query, and the simplest dbc editing xD
Extract the same type of item that you want, change the entry, display, spell, or whatever you want, execute the query and re-make item.dbc, put it in a patch, and in your server.
O.o?
-
Some people post to fast. Instead of having a look at the data from Blizzard and try it self.
-
You can make an custom item, use Spell ID 33208 (Dummy Spell), and make the Use: Use Details using Item Description. All you have to do is to remove Quotes from Item Descriptions and use the Color Tags, like:
|CFF07F800 Use: Teleports the caster to Silvermoon City. |R
|CFF07F800 - That's the Color of the Green Text from Consumable Items.
And after, you can script in Lua the item.
If you need more help with that feel free to contact me.
Also, I'm gonna post a thread soon how to remove the Item Description's Quotes.
-
Lol....is there really need to make a patch for it? Just change the stuff you need in HeidiSQL save, restart server and there you go...