07-06-2015, 06:54 PM
(This post was last modified: 07-06-2015, 07:11 PM by SilverShadow.)
How would one go about adding a custom fish to catch?
I added a new entry in FishData.info, ensured the ID was correct in items-EN.lua, and created a profile to catch them, but the module is still releasing the target fish when it's caught.
This is what was added to FishData.info:
Items-EN.lua:
and finally, my profile:
I added a new entry in FishData.info, ensured the ID was correct in items-EN.lua, and created a profile to catch them, but the module is still releasing the target fish when it's caught.
This is what was added to FishData.info:
Code:
[218] = {
["Name"] = "Paglth'an discus";
["CatchOnlyOnce"] = false;
["AddInfo"] = "level 49";
["Category"] = "QuestFish";
["Bait"] = "Caddisfly Larva";
["IntuitionBait"] = "";
["Mooch"] = false;
["Intuition"] = false;
["WeatherCondition"] = "";
["PreviousWeather"] = "";
["StartTime"] = 0;
["EndTime"] = 0;
["Location"] = "Zahar'ak"
};
Items-EN.lua:
Code:
[5007] = "Paglth'an discus";
and finally, my profile:
Code:
-- Persistent Data
local multiRefObjects = {
} -- multiRefObjects
local obj1 = {
[1] = {
["Bait"] = "Caddisfly Larva";
["Id"] = 218;
["Location"] = "Zahar'ak";
["Quantity"] = 0;
["QuantityHQ"] = 0;
["Stealth"] = true;
};
}
return obj1