PDA

View Full Version : Adding Item Functions - help!


Missy Master
06-30-2014, 07:08 PM
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!