Changes

Jump to navigation Jump to search
m
Changed the indent during the weather generation phsudocode section as it was causing some confusion as to what is was referencing
Line 156: Line 156:  
#### If it's not, the rain chance is .183
 
#### If it's not, the rain chance is .183
 
#### Else, it's .63  
 
#### Else, it's .63  
### If it is, it uses the following: Check if it's day 1.
+
## If it is, it uses the following: Check if it's day 1.
#### If it's not, the chance is .12 + <samp>Game1::dayOfMonth</samp> * 3/1000
+
### If it's not, the chance is .12 + <samp>Game1::dayOfMonth</samp> * 3/1000
#### If it is, the chance is 0. Which.. is kinda redundant, as the force days take care of this.
+
### If it is, the chance is 0. Which.. is kinda redundant, as the force days take care of this.
 
# Check to see if a random number is less than the odds. If it is, it follows the following algorithm
 
# Check to see if a random number is less than the odds. If it is, it follows the following algorithm
 
## Set <samp>Game1::weatherForTomorrow</samp> to <samp>weather_rain</samp>
 
## Set <samp>Game1::weatherForTomorrow</samp> to <samp>weather_rain</samp>

Navigation menu