Recipe DB change request.

Posts from previous Beta sessions

Recipe DB change request.

Postby Subxero » Sun Mar 02, 2008 10:44 pm

Hi there ;)

Can be possible a little change at DB structure ?

At roster_recipes the fields categories & item_level are not used ... delete it.

And add the "RecipeID" and ItemID(first number from Item field) both can be parsed from .lua

example of actual recipe at .lua
Code: Select all
["Nature Protection Potion"] = {
   ["Difficulty"] = 3,
   ["Item"] = "6052:0:0:0:0:0:0:0",
   ["Icon"] = "INV_Potion_06",
   ["Color"] = "ffffff",
   ["Tooltip"] = "Nature Protection Potion<br>Requires Level 28<br>Use: Absorbs 1350 to 2250 nature damage.  Lasts 2 min.",
   ["RecipeID"] = 7259,
   ["Reagents"] = {
      {
         ["Name"] = "Liferoot",
         ["Count"] = 1,
         ["itemID"] = "3357",
      }, -- [1]
      {
         ["Name"] = "Stranglekelp",
         ["Count"] = 1,
         ["itemID"] = "3820",
      }, -- [2]
      {
         ["Name"] = "Leaded Vial",
         ["Count"] = 1,
         ["itemID"] = "3372",
      }, -- [3]
   },
},


I don't say change the structure of all .. and only save itemid .. (sure these be at next major version) but at moment get these ID can get a better form to get multilanguage recipes better and fast.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Recipe DB change request.

Postby zanix » Mon Mar 03, 2008 11:17 am

Done and done svn [1715]
Although item_level will stay since it will be for future use
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 0 guests

cron