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)
-   -   Species Names (http://www.mysidiaadoptables.com/forum/showthread.php?t=2146)

Beaux 05-08-2011 02:57 PM

Species Names
 
How hard would it be to include a sort of 'nickname' line in an adoptable's creation and have that show up instead of its actual name?

i.e. I have two versions of this pet, the Summer Dog and the Winter Dog. (Not really but let's go with it.) I want their names to show up as just 'Dog' to everyone who can't see the Admin's adoptable creation page, but I don't want to have to use my alternate images for them. I want them to be two separate species but have the same name on the surface.

Would this be doable with a bit of script modification or would it need a whole new system?

That being said, I actually want an entire genetic breeding system instead, but I know that'll be impossible for me to code at the moment.

Tequila 05-08-2011 07:03 PM

I'm not sure how to code that, I usually try to delete the creature name entirely from adopt.php...

fadillzzz 05-08-2011 11:14 PM

You just need to add a new field in the prefix_adoptables table.
And then fetch the value of that field and display it instead of the adoptable's type

Beaux 05-09-2011 05:11 AM

Awesome, I'll try that. Thanks!

fadillzzz 05-09-2011 08:51 AM

Oh just want to remind you if you actually do so, you'll have to update every query that insert a new row to the prefix_adoptables table

Beaux 05-09-2011 04:07 PM

Yeah, I know c:


All times are GMT -5. The time now is 08:02 AM.

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