Birthsign Generator help.

So, I'm making a game where a player's innate element (Fire, Water, Stone, Wind) is dependent on their astrological sign. To achieve this, I have set up an event where the player inputs their birth month and day. The birth month is simple, all they have to do is type in 'January' if their birth month is 'January'. This is where it get's a wee bit complicated. At present, for the specific day, which is important, I have them input a two digit number. However, this is where I get in trouble. Astrological signs don't fit neatly in a month. In the case of Capricorn, (December 22 - January 20,) the dates begin and end in the middle of two months, so I can't simply do a 'Variable 1 is less than or equal to 31' do set the date for the sign.


HELP.png


This is a fragment of the event. The part for the month is already set, I just need to figure out how to set it up so that the variable number coincides with the dates. If I could do '1 ~ 20' in the conditional branch, I'd be in business, yet I do not believe it works that way.
And yes, I do recognize that it would be much simpler to do 'What is your astrological sign?', but this is mostly for the sake of aesthetic, and will give the player just that much more connection with the main character.


Thank you in advance.
You could have a conditional branch to check if the number is less or equal than, let's say, 20 and on the else insert another conditional branch to check if number is less or equal than 30 and on the last else, have an error message and return to the day selection.
Wouldn't having a number of 19 trigger both?
Wouldn't having a number of 19 trigger both?

No. As long as you have the lesser value checked before the greater value, and have checking the greater value contained within the else of the one before it, the greater value is never checked. I do something similar for my random loot, using multiple else-nested conditional branches.
So as I'm understanding:


[Conditional Branch: V1 less than or equal to 31


  [Conditional Branch: V1 less than or equal to 15


   (Sign 1 event)


                          ]


(Sign 2 event)


                             ]

Does that match what you're saying?
It should be like this:


 [Conditional Branch: V1 less than or equal to 15


(Sign 1 event)


                          ]


Else


[Conditional Branch: V1 less than or equal to 31


(Sign 2 event)


                             ]
Thanks for your help, I actually don't need the second conditional branch, I only need to make an Else branch. By having the 20 less than or equal to, I can have Capricorn for the date before Jan 20, but be able to have Aquarius for any date later than that. (I will need one to cap the date numbers to prevent people from entering in a number beyond what is necessary.)


Again, thank you all for your help.

Original thread: https://forums.rpgmakerweb.com/threads/birthsign-generator-help.57283/