Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Seasonal Weather

Aperta
#14 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
game-dev

Direzione di ricerca

The issue defines a seasonal weather system and terrain effects but names no files, tests, or entry points. First locate the turn, map-terrain, and unit-movement systems, then clarify the unresolved wetland-to-lake behavior before implementing; done should match the listed seasonal transitions and cold, wet, and dry effects.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Assuming northern hemisphere, temperature decreases as you go north. Temperature oscillates on a sine wave, from turn to turn, to simulate seasonal weather.

Temperatures decrease based on the distance from the coast.

A northern map:

Summer Autumn Winter Spring
Fine Wet Cold Wet
Fine Fine Wet Fine
Dry Fine Fine Fine

A map further north:

Summer Autumn Winter Spring
Fine Cold Cold Cold
Fine Wet Cold Wet
Fine Fine Wet Fine

This can be easily turned upside-down for southern hemisphere maps.

Effects on terrain: All tiles have a base type of terrain, assuming a spring/autumn temperature.

Dry

  • Affects Lake, Wetland and Grassland hexes
  • Lake -> Wetland, Wetland -> Grassland, Grassland -> Desert

Fine

  • The default

Wet

  • Affects Arid, Grassland, Wetland and Mountain hexes
  • Desert -> Grassland, Grassland -> Wetland, Wetland -> Lake
  • Negates the move bonus of roads

Cold

  • Lakes freeze - units can now treat a frozen lake as land
  • Rivers freeze - units can now cross rivers without a movement penalty
  • Grassland, Hill, Forest, and Mountain become snow covered
  • Unit morale drops from the cold if not in a structure or not on preferred terrain
  • Some units aren't hindered by the cold (no morale loss)

Problems with this system:

  • Units that were in a wetland might find themselves in a lake in the following turn
Lingua principale
C#
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ledpup/StrategyGame

Tutte le issue di ledpup/StrategyGame

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.