CryptechTest / CryptechTest/cryptech

Fix unified_inventory armor tab

未关闭
#69 3 条评论 0 个 reaction 已指派 2 人 已被 @squidicuzz 认领 在 GitHub 查看
bug enhancement
主要语言
Lua
星标
3
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

When equipping armor pieces which textures overlap in the preview window the matter you put them in matters since preview is rendered in the order grid window is set up. Therefore moving armor pieces around changes the preview render as seen in the images below.

![HByNo7d](https://user-images.githubusercontent.com/64851536/230613087-e89c4e6b-0aa7-4dbb-b5cc-aa67eee3ab8d.png)
![WYI2BK9](https://user-images.githubusercontent.com/64851536/230613101-b8dc838d-21c0-4590-afa9-ee08091b0d3f.png)

Armor is rendered based on the order seen in the image below where the ones that come next will overlap in the preview over the previous armor pieces.

![eMgKrRs](https://user-images.githubusercontent.com/64851536/230615447-394a727d-904b-41f1-9c2d-4fb396f58b60.png)

There are 2 solutions:

- Either make a grid that can accept certain items only in certain slots like the way minecraft does (helmet socket, chestplate socket..)
- Or determine an order in which these armor pieces are previewed that logically makes sense (1st leggings, 2nd chestplate, 3rd boots, 4th helmet, etc...)

Realistically only issue so far is with leggings as they should go under chestplate and boots so always rendering leggings on top would be good too.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。