Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Item Function Is Invalid (http://www.mysidiaadoptables.com/forum/showthread.php?t=4209)

IntoRain 09-27-2014 10:50 AM

Quote:

Originally Posted by ilrak (Post 31227)
Sorry to bump up this thread, but I was seeing if I could try out this mod (and then do one similar for color/marking changing) and have been running into the same item function invalid error. I'm using 1.3.4, so I'm not sure if maybe that's the issue or not or if I've run into an error with my itemfunctions table in general (I assume that the intent is for adoptable, but I may have done it wrong) . ^v^;

What error is it?
In the item_functions table, the function parameter is the name of your item function (in this example, it would be genderf) and in this case the intent is for Adoptable yes.
After that, you will have to go to the classes folder and edit the file class_privateitem.php. In the apply() function, inside the big switch-case, you have to put another 'case' to add the new item type

ilrak 09-27-2014 09:27 PM

Yay! Thank you so much! It works wonderfully! Now I'll tinker with it for some breed and color change mods (maybe marking change too)


All times are GMT -5. The time now is 03:14 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.