Implement climate and weather features in world simulation; enhance API with weather retrieval and climate selection options, update UI to support climate selection during world creation, and improve weather display in the game interface.
This commit is contained in:
@@ -78,6 +78,14 @@
|
||||
/>
|
||||
</label>
|
||||
|
||||
<label class="field">
|
||||
<span>Climate</span>
|
||||
<select id="field-climate">
|
||||
<option value="">From the location</option>
|
||||
</select>
|
||||
<small id="climate-hint" class="field__hint"></small>
|
||||
</label>
|
||||
|
||||
<p id="form-hint" class="form__hint" hidden></p>
|
||||
<button id="generate-button" type="submit" class="button">Generate world</button>
|
||||
</form>
|
||||
@@ -97,6 +105,7 @@
|
||||
<span id="world-title" class="game-bar__title"></span>
|
||||
<div id="sim-controls" class="sim-controls" hidden>
|
||||
<span id="game-clock" class="sim-controls__clock" aria-live="polite"></span>
|
||||
<span id="game-weather" class="sim-controls__weather" aria-live="polite"></span>
|
||||
<button
|
||||
id="play-pause"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user