도구 일러스트 에셋 7종 추가 및 건물 아이콘 적용
- public/assets/tools/: 낚싯대·도끼·곡괭이·약초바구니·냄비·톱·빗 (적성 키 이름) - 원본 파일명 axe/pickaxe가 서로 뒤바뀌어 있어 교정 - VillageView 건물 스프라이트를 일러스트로 교체 (로드 전 이모지 폴백) - BuildingCard 헤더 아이콘도 일러스트 사용 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
이 커밋은 다음에 포함됨:
@@ -4,7 +4,7 @@ import { useState } from "react";
|
||||
import { useGame } from "@/hooks/useGame";
|
||||
import VillageView from "@/components/game/VillageView";
|
||||
import { engine, catRate } from "@/lib/game/engine";
|
||||
import { APTITUDE_LABEL, PASSIVES } from "@/lib/game/data";
|
||||
import { APTITUDE_LABEL, PASSIVES, TOOL_IMG } from "@/lib/game/data";
|
||||
import type { Building, Cat, GameState } from "@/lib/game/types";
|
||||
|
||||
export default function Game() {
|
||||
@@ -129,9 +129,15 @@ function BuildingCard({
|
||||
|
||||
return (
|
||||
<div className="rounded-xl border border-gray-200 p-5 dark:border-gray-800">
|
||||
<div className="mb-1 flex items-baseline justify-between">
|
||||
<h3 className="font-semibold">
|
||||
{building.emoji} {building.name} Lv{building.level}
|
||||
<div className="mb-1 flex items-center justify-between">
|
||||
<h3 className="flex items-center gap-2 font-semibold">
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img
|
||||
src={TOOL_IMG[building.aptitude]}
|
||||
alt={building.name}
|
||||
className="h-8 w-8 object-contain"
|
||||
/>
|
||||
{building.name} Lv{building.level}
|
||||
</h3>
|
||||
<span className="text-xs text-gray-400">
|
||||
필요 적성: {APTITUDE_LABEL[building.aptitude]}
|
||||
|
||||
새 이슈에서 참조
사용자 차단