feat(economy): 메소 표기 완성 + 메소 코인 아이콘 추가 (P14-7)

- relics.json goldIdol 설명 "골드"→"메소" (유일하게 남았던 표면 잔존 정정)
- CombatHud TopBar·ShopHud 메소 금액 옆에 금색 코인 아이콘 스프라이트 추가
  (공식 RUID 흰박스 리스크 회피 위해 색상 채움 스프라이트 사용)
- 내부 식별자 self.Gold 등은 산출물 id 안정성 위해 유지. 산출물 재생성

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-14 01:06:59 +09:00
parent 5cde11647f
commit 7cc311ee91
4 changed files with 307 additions and 2 deletions

View File

@@ -1276,6 +1276,17 @@ function upsertUi() {
],
}));
});
combat.push(entity({
id: guid('cmb', 209),
path: '/ui/DefaultGroup/CombatHud/TopBar/MesoIcon',
modelId: 'uisprite', entryId: 'UISprite',
componentNames: 'MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent',
displayOrder: 2,
components: [
transform({ parentW: 1200, parentH: 52, anchor: { x: 0.5, y: 0.5 }, pivot: { x: 0.5, y: 0.5 }, size: { x: 26, y: 26 }, pos: { x: -432, y: 0 } }),
sprite({ color: { r: 1, g: 0.82, b: 0.2, a: 1 }, type: 1 }),
],
}));
for (let i = 1; i <= 10; i++) {
combat.push(entity({
id: guid('cmb', 300 + i),
@@ -1677,6 +1688,18 @@ function upsertUi() {
text({ value: '메소 0', fontSize: 28, bold: true, color: { r: 0.98, g: 0.85, b: 0.4, a: 1 }, alignment: 4 }),
],
}));
shop.push(entity({
id: guid('shp', 3),
path: '/ui/DefaultGroup/ShopHud/MesoIcon',
modelId: 'uisprite',
entryId: 'UISprite',
componentNames: 'MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent',
displayOrder: 1,
components: [
transform({ parentW: 1920, parentH: 1080, anchor: { x: 0.5, y: 0.5 }, pivot: { x: 0.5, y: 0.5 }, size: { x: 30, y: 30 }, pos: { x: -86, y: 330 } }),
sprite({ color: { r: 1, g: 0.82, b: 0.2, a: 1 }, type: 1 }),
],
}));
const shopXs = [-300, 0, 300];
// 카드 단위 엔티티 v2 네임스페이스 (stride 8: Price 포함) — DeckInspectHud 주석 참조
for (let i = 1; i <= 3; i++) {