Add start game time feature to world generation; update API and UI to support custom start dates for in-world calendar

This commit is contained in:
Leonid Pershin
2026-08-16 19:58:32 +03:00
parent 3b7fca1495
commit 9d1e3c29c7
12 changed files with 150 additions and 5 deletions
+10
View File
@@ -68,6 +68,16 @@
<input id="field-size" type="range" min="1" max="20" step="1" value="10" />
</label>
<label class="field">
<span>Start date &amp; time</span>
<input
id="field-start"
type="datetime-local"
value="2012-04-12T06:00"
required
/>
</label>
<p id="form-hint" class="form__hint" hidden></p>
<button id="generate-button" type="submit" class="button">Generate world</button>
</form>