variable wire cutter uisng right click (no sprite change yet)

This commit is contained in:
minjaesong
2024-03-14 21:14:30 +09:00
parent 336dfad207
commit c0a8118717
9 changed files with 195 additions and 19 deletions

View File

@@ -82,9 +82,9 @@ class UIQuickslotPie : UICanvas() {
// draw cells
val image = if (i == selection)
ItemSlotImageFactory.produceLarge(false, (i + 1) % SLOT_COUNT, item, itemHasGauge)
ItemSlotImageFactory.produceLarge(false, (i + 1) % SLOT_COUNT, ItemCodex.getItemImage(item), itemHasGauge)
else
ItemSlotImageFactory.produce(true, (i + 1) % SLOT_COUNT, item)
ItemSlotImageFactory.produce(true, (i + 1) % SLOT_COUNT, ItemCodex.getItemImage(item))
val slotX = slotCentrePoint.x.toInt()
val slotY = slotCentrePoint.y.toInt()