feat: new lighting

This commit is contained in:
TrèsAbhi committed 2024-02-17 10:52:21 -06:00
1 parent 1b611fa7c4
commit bc85b354a0
2 files changed
+9 -2

No files matched your search

@@ -3,7 +3,14 @@ import { useModel } from '../../../../../hooks/useModel';
import { useDuel } from '../../../../../stores/duel';
import { useTankopediaPersistent } from '../../../../../stores/tankopedia';
export const ENVIRONMENTS = ['warehouse', 'dawn', 'sunset'] as const;
export const ENVIRONMENTS = [
'lobby',
'apartment',
'warehouse',
'dawn',
'sunset',
'night',
] as const;
export function Lighting() {
const protagonist = useDuel((state) => state.protagonist!);
+1 -1
View File
@@ -131,7 +131,7 @@ export const useTankopediaPersistent = create<TankopediaPersistent>()(
subscribeWithSelector<TankopediaPersistent>(() => ({
model: {
visual: {
environment: 'warehouse',
environment: ENVIRONMENTS[0],
controlsEnabled: true,
showGrid: true,
greenPenetration: false,