tank model and collision

This commit is contained in:
tresabhi committed 2026-08-04 20:18:05 -05:00
1 parent 9968b2c83d
commit 9e4d9c7968
19 files changed
+278 -206

No files matched your search

@@ -1,4 +1,3 @@
import { asset } from "@blitzkit/core";
import { IconButton } from "@radix-ui/themes";
import { useArmor } from "../../../../../../hooks/useArmor";
import { Duel } from "../../../../../../stores/duel";
@@ -7,7 +6,7 @@ import { Tankopedia } from "../../../../../../stores/tankopedia";
export function DynamicArmorSwitcher() {
const tank = Duel.use((state) => state.protagonist.tank);
const isDynamicArmorActive = Duel.use((state) =>
state.protagonist.consumables.includes(73)
state.protagonist.consumables.includes(73),
);
const { hasDynamicArmor } = useArmor(tank.id);
@@ -38,7 +37,7 @@ export function DynamicArmorSwitcher() {
>
<img
alt="Dynamic Armor"
src={asset("icons/consumables/73.webp")}
src={"/api/icons/consumables/73.webp"}
style={{
width: "50%",
height: "50%",