Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to remove gender from breeding?
I want to make it so that my adoptables can breed regardless of their gender, as I plan to make gender a non-required field for pets that users can enter and keep track of strictly for role-playing purposes.
I've tried switching "female" to "parent1" and male to "parent2" in most places, and in places where the breeding checks for it being a male and female I've tried switching it to check "sex" which is only "omni", so both parents would be omnis anyway and it'd work out. However, it kept telling me "parent1" and "parent2" and told me there was an error in class_language.php, which is something I don't want to mess with ^^' I'm a beginner in PHP so I was wondering if anyone could point me in the right direction? |
#2
|
||||
|
||||
I believe the only files you'll have to edit would be breeding.php, breedingview.php, lang_breeding, and class_breeding.php. I doubt you'll ever have to edit class_language, for any script really. You were on the right track already, with changing female to parent1 and male to parent2. You may have been getting the error message because you forgot to edit lang_breeding, which you would need to change these two lines:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
__________________
|
#3
|
|||
|
|||
thank you! i'll try this after i finish playing D&D with the family. :D
edit: it worked! thanks again Last edited by bisexuowl; 12-17-2016 at 03:31 PM. |
Tags |
breeding, gender, mysidia v1.3.4 |
|
|
What's New? |
What's Hot? |
What's Popular? |