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)
-   -   Adding Item Functions - help! (http://www.mysidiaadoptables.com/forum/showthread.php?t=4569)

Missy Master 06-30-2014 07:08 PM

Adding Item Functions - help!
 
Okay road block again as far as adding totally NEW item functions!

I was able to mod the existing click2 but trying to duplicate that and calling it click5 won't go, apparently. Where do all the instances live of item functions, where all do I need to add for this?

I have functions_items.php -- and the database.



No idea where else, and I'm getting invalid function called up. Help!

Hwona 06-30-2014 08:04 PM

Umm, you added a new item function in your database right? Oh wait, one more thing:
Go to your class_privateitem.php file. See all that case-break stuff? Add:
$message = items_itemname($this, $owned_adoptable);
break;

Missy Master 06-30-2014 08:31 PM

OMG thank you!! That's what I needed!! You are the best :)

Hwona 06-30-2014 08:49 PM

^Not at all! Besides, that last mod was wonderful -can't wait to test it! If it work, I'll tell you. :3

Missy Master 06-30-2014 08:50 PM

I really hope it will work for you, and thank you! I hope to make many more for us!


All times are GMT -5. The time now is 08:48 PM.

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