| '''Not recommended for mods, except in shop dialogue and weather conditions.'''<br />These are specialized to to replicate older vanilla behavior, and depend on <code>GameStateQuery.PickRandomValue(random)</code> being called first. The game only calls that method when opening a shop menu for [[#Custom shops|shop data with dialogue]] or when checking [[#Custom weather|weather conditions]]. | | '''Not recommended for mods, except in shop dialogue and weather conditions.'''<br />These are specialized to to replicate older vanilla behavior, and depend on <code>GameStateQuery.PickRandomValue(random)</code> being called first. The game only calls that method when opening a shop menu for [[#Custom shops|shop data with dialogue]] or when checking [[#Custom weather|weather conditions]]. |