Log in

View Full Version : Species Names


Beaux
05-08-2011, 02:57 PM
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: