Removed weather effects booleans, now to disable weather effects, setting the value to 0 is the way

This commit is contained in:
2025-01-22 17:50:08 -06:00
parent 41005735f9
commit a61e05592d
3 changed files with 9 additions and 15 deletions

View File

@ -15,9 +15,10 @@ export const useGameStore = defineStore('game', {
character: null as Character | null,
world: {
date: new Date(),
isRainEnabled: false,
isFogEnabled: false,
fogDensity: 0
weatherState: {
rainPercentage: 0,
fogDensity: 0
}
} as WorldSettings,
game: {
isLoading: false,
@ -119,9 +120,8 @@ export const useGameStore = defineStore('game', {
this.uiSettings.isGmPanelOpen = false
this.world.date = new Date()
this.world.isRainEnabled = false
this.world.isFogEnabled = false
this.world.fogDensity = 0
this.world.weatherState.rainPercentage = 0
this.world.weatherState.fogDensity = 0
}
}
})