Updated day cycle (#171)

* Updated day cycle

* Fixed DayCycleComponent attributes

* Added new commands, as well as synchronization

* Update cave-arena.yml

* Update alchemy_test.yml

---------

Co-authored-by: Ed <edwardxperia2000@gmail.com>
Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Tornado Tech
2024-06-05 00:54:49 +10:00
committed by GitHub
parent fdf9413088
commit 95b726c0ff
10 changed files with 455 additions and 177 deletions

View File

@@ -31,25 +31,28 @@ entities:
- type: OccluderTree
- type: LoadedMap
- type: MapLight
- type: DayCycle
- type: CP14DayCycle
timeEntries:
- duration: 30
startColor: '#754A4AFF'
- duration: 30
startColor: '#E0BA87FF'
- duration: 30
startColor: '#BFEEFFFF'
- duration: 80
color: '#754A4AFF'
- duration: 80
color: '#E0BA87FF'
- duration: 80
color: '#BFEEFFFF'
- isNight: True
duration: 30
startColor: '#385163FF'
duration: 80
color: '#385163FF'
- isNight: True
duration: 30
startColor: '#060D12FF'
duration: 80
color: '#060D12FF'
- isNight: True
duration: 90
startColor: '#000000FF'
- duration: 30
startColor: '#120906FF'
duration: 80
color: '#000000FF'
- isNight: True
duration: 80
color: '#000000FF'
- duration: 80
color: '#120906FF'
- uid: 2
components:
- type: MetaData

View File

@@ -20,7 +20,7 @@ entities:
- type: MovedGrids
- type: Broadphase
- type: MapLight
- type: DayCycle
- type: CP14DayCycle
timeEntries:
- duration: 30
startColor: '#0A2136FF'

View File

@@ -391,27 +391,27 @@ entities:
- type: GridTree
- type: MovedGrids
- type: MapLight
- type: DayCycle
- type: CP14DayCycle
timeEntries:
- startColor: "#754a4a" #Рассвет
- color: "#754a4a" #Рассвет
duration: 30
isNight: false
- startColor: "#e0ba87" #Полдень
- color: "#e0ba87" #Полдень
duration: 30
isNight: false
- startColor: "#bfeeff" #Полдень
- color: "#bfeeff" #Полдень
duration: 30
isNight: false
- startColor: "#385163" #Вечер
- color: "#385163" #Вечер
duration: 30
isNight: true
- startColor: "#060d12" #Ночь
- color: "#060d12" #Ночь
duration: 30
isNight: true
- startColor: "#000000" #Ночь
- color: "#000000" #Ночь
duration: 30
isNight: true
- startColor: "#120906" #Ночь
- color: "#120906" #Ночь
duration: 30
isNight: false
- proto: AirAlarm