--!strict -- 화면 UI 그림. 직접 그린 그림 두 장을 칸으로 잘라 씁니다. -- ASSET(art/ui_icons.png, tools/icons.py): 128px 칸 8x8. 버튼 아이콘, 메뉴, 요리 재료·도구 -- KITCHEN_ASSET(art/kitchen.png, tools/kitchen_art.py): 256px 칸 4x4. 조리 도구(팬·도마·찜기·냄비·튀김기), 마스코트 떡이 -- 칸 순서를 바꾸면 각 도구의 --luau 출력으로 아래 표를 다시 맞추고, 그림을 새로 올려(tools/cloud.py image) ID를 바꿉니다. local Icons = {} Icons.ASSET = "rbxassetid://111384470366371" Icons.CELL = Vector2.new(128, 128) Icons.KITCHEN_ASSET = "rbxassetid://118704012792360" Icons.KITCHEN_CELL = Vector2.new(256, 256) Icons.OFFSET = { coin = Vector2.new(0, 0), moneyBag = Vector2.new(128, 0), bolt = Vector2.new(256, 0), gear = Vector2.new(384, 0), upgrade = Vector2.new(512, 0), plate = Vector2.new(640, 0), lock = Vector2.new(768, 0), check = Vector2.new(896, 0), close = Vector2.new(0, 128), table = Vector2.new(128, 128), sign = Vector2.new(256, 128), flame = Vector2.new(384, 128), sauce = Vector2.new(512, 128), chef = Vector2.new(640, 128), store = Vector2.new(768, 128), tray = Vector2.new(896, 128), Tteokbokki = Vector2.new(0, 256), Gimbap = Vector2.new(128, 256), Sundae = Vector2.new(256, 256), Eomuk = Vector2.new(384, 256), Twigim = Vector2.new(512, 256), globe = Vector2.new(640, 256), speaker = Vector2.new(768, 256), mouse = Vector2.new(896, 256), wrench = Vector2.new(0, 384), star = Vector2.new(128, 384), sparkle = Vector2.new(256, 384), rays = Vector2.new(384, 384), glow = Vector2.new(512, 384), arrowDown = Vector2.new(640, 384), scroll = Vector2.new(768, 384), hand = Vector2.new(896, 384), riceCake = Vector2.new(0, 512), riceCakeRed = Vector2.new(128, 512), riceCakes = Vector2.new(256, 512), sauceBowl = Vector2.new(384, 512), sauceBlob = Vector2.new(512, 512), spatula = Vector2.new(640, 512), bubble = Vector2.new(768, 512), steam = Vector2.new(896, 512), fillings = Vector2.new(0, 640), mat = Vector2.new(128, 640), knife = Vector2.new(256, 640), gimbapSlice = Vector2.new(384, 640), sundaeRaw = Vector2.new(512, 640), sundaePiece = Vector2.new(640, 640), sundaeSlice = Vector2.new(768, 640), fishCake = Vector2.new(896, 640), batter = Vector2.new(0, 768), shrimpRaw = Vector2.new(128, 768), shrimpBatter = Vector2.new(256, 768), tongs = Vector2.new(384, 768), customer = Vector2.new(512, 768), mascot = Vector2.new(640, 768), heart = Vector2.new(768, 768), cart = Vector2.new(896, 768), pot = Vector2.new(0, 896), } :: { [string]: Vector2 } Icons.KITCHEN = { pan = Vector2.new(0, 0), board = Vector2.new(256, 0), steamer = Vector2.new(512, 0), pot = Vector2.new(768, 0), fryer = Vector2.new(0, 256), mascot = Vector2.new(256, 256), mascotCheer = Vector2.new(512, 256), gimbapRoll = Vector2.new(768, 256), plateBig = Vector2.new(0, 512), burst = Vector2.new(256, 512), } :: { [string]: Vector2 } -- ImageLabel/ImageButton에 아이콘을 씌웁니다. function Icons.apply(image: ImageLabel, name: string) image.Image = Icons.ASSET image.ImageRectOffset = Icons.OFFSET[name] or Vector2.zero image.ImageRectSize = Icons.CELL end -- 큰 요리 그림(조리 도구, 마스코트) function Icons.applyKitchen(image: ImageLabel, name: string) image.Image = Icons.KITCHEN_ASSET image.ImageRectOffset = Icons.KITCHEN[name] or Vector2.zero image.ImageRectSize = Icons.KITCHEN_CELL end return Icons