Amazing script! Im sure to use it in my own fan game, however I have a question, is it possible to randomize the birthsigns for all bred pokemon as well? If not maybe an option to add a sign for each day of the week, im an impatient person, having to wait a month for a new one or reset the game to a desirable one is slightly annoying ^^;
It's cool if you can't, was just a small suggestion. It's tons of fun to play around with the birth sign powers!
Yes, something like that is possible. First thing you have to do is locate this line in the Birthsigns script:
Code:
#=============================================================================
# Applies corresponding Birthsign upon hatching
#=============================================================================
pokemon.setZodiacsign(Time.now.mon) if ZODIACSET!=0
#=============================================================================
From there, you can change it so that your hatched Pokemon inherit signs differently. If you'd like to change it so that hatched Pokemon inherit a random sign out of your zodiac, then you can change the line to this:
Code:
pokemon.setRandomZodiac if ZODIACSET!=0
Or, if you'd like them to inherit a random birthsign out of all possible birthsigns, regardless of zodiac, then you can change it to this:
Code:
pokemon.setRandomSign if ZODIACSET!=0
If you'd like something more specific, like linking specific signs to specific days of the month, you can do something like:
Code:
if ZODIACSET!=0
pokemon.setBirthsign(1) if Time.now.day==0
pokemon.setBirthsign(2) if Time.now.day==1
pokemon.setBirthsign(3) if Time.now.day==2
pokemon.setBirthsign(4) if Time.now.day==3
pokemon.setBirthsign(5) if Time.now.day==4
#...etc, etc
end
You could also feasibly have different signs inheritable based on whether it's night or day when the egg is hatched, or combine several factors. Like say:
Code:
if ZODIACSET!=0
if Time.now.mon==12
if Time.now.day==23
if isNight?
pokemon.setBirthsign(12)
else
pokemon.setBirthsign(30)
end
else
pokemon.setZodiacsign(Time.now.mon)
end
else
pokemon.setRandomZodiac
end
end
This is a silly example, but with this you'd be able to have hatched Pokemon inherit 'The Wishmaker' sign on Christmas Eve during the nighttime, or 'The Alchemist' sign on Christmas Eve during the daytime, otherwise it will inherit whatever December's normal zodiac sign is....but every other month is random. But this gives you an idea on how flexible it can be if you really want to get complicated with it. However, I recommend keeping it simple, otherwise the mechanic starts to feel too cumbersome.
Play around with it, and see what works best for your game. I know waiting for a specific month of the year can be a bit of a pain if you want more leeway in your customization options, but this is why I added methods to get around this in my Events script add-on, as well as incorporating FL's Unreal Time script as an optional addition. Check those out too if you want more options.
Also it's worth keeping in mind that if you change how or when particular birthsigns are obtained, it's probably worth reflecting those changes in the Pokemon's birthsign page (in the Summary), as well as in the Birthsign Journal. Otherwise the player will have inaccurate information.