Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User defined weather effects #174

Open
valentine195 opened this issue Nov 21, 2024 · 1 comment
Open

User defined weather effects #174

valentine195 opened this issue Nov 21, 2024 · 1 comment

Comments

@valentine195
Copy link
Member

Allow for user-defined weather effects that the weather generation model will take into account.

This could be, e.g., "Arcane Storms".

Weather effects will need a few things:

  1. A chance table
  2. Corresponding description table
  3. Corresponding icon table (optional)
@valentine195
Copy link
Member Author

Possibility:

type WeatherEffectCadence = 
  | "Seasonal" //chance is interpolated between seasons
  | "Global" //chance is static

type WeatherEffectKind =
  | "Range" //e.g., temperature
  | "ChanceTable" //e.g., precipitation
  | "Chance" //e.g., storm?

These effects should also allow conditions to be set - e.g., cloud cover >= 5 OR wind === 10 (for a storm).

They should also be allowed an icon, lucide or otherwise.

Ideally, all current effects would be described this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

1 participant