feat(bunsik): 손님 외형 다양화 — 로블록스 공식 머리·모자·옷·얼굴 조합(사람 75%), 공식 동물 번들 11종(펭귄·곰·북극곰·고양이·강아지·판다·여우·쥐 등, 25%)

- NpcLooks: 확인된 아이템 표(assets/npc_assets.md), 서버 시작 때 외형 템플릿을 만들어 두고 복제
- 화면 UI 통합 테스트를 새 화면에 맞게 다시 씀(서버 로직은 tests/cloud/server.luau)
- GUI 미리보기를 장면 6개씩 나눠 뽑기(5분 제한·4MB 출력 제한)
- 서버 통합 테스트 1416개, 화면 통합 테스트 379개 통과

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-14 02:06:09 +09:00
parent d8eaa01495
commit d0ae06e198
13 changed files with 1647 additions and 503 deletions

View File

@@ -54,6 +54,42 @@ local npc = Npc.spawnCustomer(workspace, CFrame.new(0, 5, 0), Random.new(1))
check(npc.model:FindFirstChild("HumanoidRootPart") ~= nil, "손님 NPC 몸")
check(npc.tracks.walk ~= nil and npc.tracks.sit ~= nil and npc.tracks.idle ~= nil, "NPC 애니메이션 3종 로드")
npc.model:Destroy()
local tLooks = os.clock()
Npc.preloadCustomers()
local nHuman, nAnimal = Npc.lookCount()
print(`손님 외형: 사람 {nHuman}벌, 동물 {nAnimal}종, {math.floor((os.clock() - tLooks) * 1000)}ms`)
check(nHuman >= 10, `사람 외형 10벌 이상 ({nHuman})`)
check(nAnimal >= 8, `동물 외형 8종 이상 ({nAnimal})`)
local rngLook = Random.new(5)
local animals, humans, accessories = 0, 0, 0
local shown = {}
for _ = 1, 200 do
local h = Npc.spawnCustomer(workspace, CFrame.new(0, 300, 0), rngLook)
local kind = h.model:GetAttribute("Animal")
if kind then
animals += 1
shown[kind] = true
else
humans += 1
end
for _, d in h.model:GetChildren() do
if d:IsA("Accessory") then
accessories += 1
end
end
check(h.tracks.walk ~= nil and h.tracks.sit ~= nil, "손님 애니메이션")
check(h.model:FindFirstChildWhichIsA("Script", true) == nil, "손님 모형에 스크립트 없음")
h.model:Destroy()
end
print(`손님 200명: 사람 {humans}, 동물 {animals}, 장신구 {accessories}`)
check(humans > animals * 2, "사람 손님이 가장 많음")
check(animals >= 25 and animals <= 75, `동물 손님은 가끔(약 25%) ({animals})`)
check(accessories > 200, "머리·모자 장신구가 붙음")
local kinds = 0
for _ in shown do
kinds += 1
end
check(kinds >= 6, `동물 종류 여러 가지 ({kinds})`)
local PlotController = require(Server.PlotController)
local PlotBuilder = require(Server.PlotBuilder)