Update SpringOptions configuration and HTML for seasonal options
Some checks failed
Auto Release Plugin / build-and-release (push) Has been cancelled
Some checks failed
Auto Release Plugin / build-and-release (push) Has been cancelled
This commit is contained in:
@@ -195,10 +195,10 @@ public class SpringOptions
|
|||||||
{
|
{
|
||||||
public int PollenCount { get; set; } = 30;
|
public int PollenCount { get; set; } = 30;
|
||||||
public int SunbeamCount { get; set; } = 5;
|
public int SunbeamCount { get; set; } = 5;
|
||||||
public int BirdCount { get; set; } = 3;
|
public int BirdCount { get; set; } = 4;
|
||||||
public int ButterflyCount { get; set; } = 4;
|
public int ButterflyCount { get; set; } = 4;
|
||||||
public int BeeCount { get; set; } = 1;
|
public int BeeCount { get; set; } = 2;
|
||||||
public int LadybugCount { get; set; } = 1;
|
public int LadybugCount { get; set; } = 2;
|
||||||
public bool EnableSpring { get; set; } = true;
|
public bool EnableSpring { get; set; } = true;
|
||||||
public bool EnableSpringSunbeams { get; set; } = true;
|
public bool EnableSpringSunbeams { get; set; } = true;
|
||||||
public bool EnableRandomSpring { get; set; } = true;
|
public bool EnableRandomSpring { get; set; } = true;
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
<option value="santa">Santa (flying santa & snowfall)</option>
|
<option value="santa">Santa (flying santa & snowfall)</option>
|
||||||
<option value="autumn">Autumn (falling leaves)</option>
|
<option value="autumn">Autumn (falling leaves)</option>
|
||||||
<option value="easter">Easter</option>
|
<option value="easter">Easter</option>
|
||||||
<option value="resurrection">Resurrection</option>
|
<option value="resurrection">Resurrection - by Bioflash257</option>
|
||||||
<option value="summer">Summer (Bubbles)</option>
|
<option value="summer">Summer (Bubbles)</option>
|
||||||
<option value="spring">Spring</option>
|
<option value="spring">Spring</option>
|
||||||
<option value="carnival">Carnival (Confetti)</option>
|
<option value="carnival">Carnival (Confetti)</option>
|
||||||
@@ -73,6 +73,9 @@
|
|||||||
<option value="patrick" disabled>St. Patrick's Day (not implemented yet. Please commit ideas in a issue or PR)</option>
|
<option value="patrick" disabled>St. Patrick's Day (not implemented yet. Please commit ideas in a issue or PR)</option>
|
||||||
<option value="thanksgiving" disabled>Thanksgiving (not implemented yet. Please commit ideas in a issue or PR)</option>
|
<option value="thanksgiving" disabled>Thanksgiving (not implemented yet. Please commit ideas in a issue or PR)</option>
|
||||||
<option value="pride" disabled>Pride (not implemented yet. Please commit ideas in a issue or PR)</option>
|
<option value="pride" disabled>Pride (not implemented yet. Please commit ideas in a issue or PR)</option>
|
||||||
|
<option value="pride" disabled>Oscar Awards (not implemented yet. Please commit ideas in a issue or PR)</option>
|
||||||
|
<option value="pride" disabled>Eurovison Awards (not implemented yet. Please commit ideas in a issue or PR)</option>
|
||||||
|
<option value="pride" disabled>Sugar Feast (Eid al-Fitr, Ramadan) (not implemented yet. Please commit ideas in a issue or PR)</option>
|
||||||
</select>
|
</select>
|
||||||
<div class="fieldDescription">The season to display if automation is disabled or no "Auto Selection" rule matches the current date.</div>
|
<div class="fieldDescription">The season to display if automation is disabled or no "Auto Selection" rule matches the current date.</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ const sunbeamCount = config.SunbeamCount || 5; // Number of sunbeams
|
|||||||
const enableSunbeams = config.EnableSpringSunbeams !== undefined ? config.EnableSpringSunbeams : true; // Enable/disable sunbeams
|
const enableSunbeams = config.EnableSpringSunbeams !== undefined ? config.EnableSpringSunbeams : true; // Enable/disable sunbeams
|
||||||
const birdCount = config.BirdCount !== undefined ? config.BirdCount : 3; // Number of birds
|
const birdCount = config.BirdCount !== undefined ? config.BirdCount : 3; // Number of birds
|
||||||
const butterflyCount = config.ButterflyCount !== undefined ? config.ButterflyCount : 4; // Number of butterflies
|
const butterflyCount = config.ButterflyCount !== undefined ? config.ButterflyCount : 4; // Number of butterflies
|
||||||
const beeCount = config.BeeCount !== undefined ? config.BeeCount : 1; // Number of bees
|
const beeCount = config.BeeCount !== undefined ? config.BeeCount : 2; // Number of bees
|
||||||
const ladybugCount = config.LadybugCount !== undefined ? config.LadybugCount : 1; // Number of ladybugs
|
const ladybugCount = config.LadybugCount !== undefined ? config.LadybugCount : 2; // Number of ladybugs
|
||||||
const randomSpring = config.EnableRandomSpring !== undefined ? config.EnableRandomSpring : true; // Enable random spring objects
|
const randomSpring = config.EnableRandomSpring !== undefined ? config.EnableRandomSpring : true; // Enable random spring objects
|
||||||
|
|
||||||
const birdImages = [
|
const birdImages = [
|
||||||
|
|||||||
Reference in New Issue
Block a user